aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
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
parentb7149293aa320693b0bc762fb5e09a991fa8dc6a (diff)
downloadgdb-f86172a554d0c568bc134cb7816f41df1c739475.zip
gdb-f86172a554d0c568bc134cb7816f41df1c739475.tar.gz
gdb-f86172a554d0c568bc134cb7816f41df1c739475.tar.bz2
* 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 98fe59d..6685971 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);
}