diff options
author | Daniel Jacobowitz <dan@debian.org> | 2006-05-30 19:05:33 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2006-05-30 19:05:33 +0000 |
commit | 3b9c5c6548f121893d25ae367b75c58dd1a30a05 (patch) | |
tree | 2af08df48e7e1efe79e032d3248df41cc0226c59 /gdb/gdbserver/thread-db.c | |
parent | ab74d50c11fcea524a331534ce1892b4ef27379a (diff) | |
download | gdb-3b9c5c6548f121893d25ae367b75c58dd1a30a05.tar.gz |
* remote-utils.c (all_symbols_looked_up): New variable.
(look_up_one_symbol): Check it.
* server.h (look_up_one_symbol): New declaration.
* thread-db.c (thread_db_init): Set all_symbols_looked_up.
Diffstat (limited to 'gdb/gdbserver/thread-db.c')
-rw-r--r-- | gdb/gdbserver/thread-db.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c index b47f576d2e9..24531bf4194 100644 --- a/gdb/gdbserver/thread-db.c +++ b/gdb/gdbserver/thread-db.c @@ -336,6 +336,9 @@ thread_db_init () process in the list is the thread group leader. */ proc_handle.pid = ((struct inferior_list_entry *)current_inferior)->id; + /* Allow new symbol lookups. */ + all_symbols_looked_up = 0; + err = td_ta_new (&proc_handle, &thread_agent); switch (err) { @@ -350,6 +353,7 @@ thread_db_init () return 0; thread_db_find_new_threads (); thread_db_look_up_symbols (); + all_symbols_looked_up = 1; return 1; default: |