aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2006-10-20 01:08:14 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2006-10-20 01:08:14 +0000
commitf86172a554d0c568bc134cb7816f41df1c739475 (patch)
tree322a7beb5885c4667e963bd13d060964181265a2 /gdb/remote.c
parent2005-10-19 Ulrich Weigand <uweigand@de.ibm.com> (diff)
downloadbinutils-gdb-f86172a554d0c568bc134cb7816f41df1c739475.tar.gz
binutils-gdb-f86172a554d0c568bc134cb7816f41df1c739475.tar.bz2
binutils-gdb-f86172a554d0c568bc134cb7816f41df1c739475.zip
* linux-thread-db.c (check_for_thread_db): Don't attempt to use
thread_db for remote targets. * remote.c (remote_new_objfile): Always call predecessor on new_objfile event chain.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 98fe59d6331..66859719a0d 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -6126,8 +6126,7 @@ remote_new_objfile (struct objfile *objfile)
remote_check_symbols (objfile);
}
/* Call predecessor on chain, if any. */
- if (remote_new_objfile_chain != 0 &&
- remote_desc == 0)
+ if (remote_new_objfile_chain)
remote_new_objfile_chain (objfile);
}