diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2006-10-20 01:08:14 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2006-10-20 01:08:14 +0000 |
commit | f86172a554d0c568bc134cb7816f41df1c739475 (patch) | |
tree | 322a7beb5885c4667e963bd13d060964181265a2 /gdb/linux-thread-db.c | |
parent | b7149293aa320693b0bc762fb5e09a991fa8dc6a (diff) | |
download | binutils-gdb-f86172a554d0c568bc134cb7816f41df1c739475.tar.gz |
* 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/linux-thread-db.c')
-rw-r--r-- | gdb/linux-thread-db.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index c8612085754..a6d05f072ba 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -599,6 +599,10 @@ check_for_thread_db (void) if (!target_has_execution) return; + /* Don't attempt to use thread_db for remote targets. */ + if (!target_can_run (¤t_target)) + return; + /* Initialize the structure that identifies the child process. */ proc_handle.pid = GET_PID (inferior_ptid); |