diff options
author | Yao Qi <yao@codesourcery.com> | 2011-05-26 15:49:26 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-05-26 15:49:26 +0000 |
commit | 6938fd346aa1288a347422e96a6bc50f2673a51f (patch) | |
tree | 62ad86915825a8abf1081f298b323c0ab635e1f4 /gdb/gdbserver | |
parent | 9da8c2a0faa07d6b876397bdb3e87509897c68cd (diff) | |
download | fsf-binutils-gdb-6938fd346aa1288a347422e96a6bc50f2673a51f.zip fsf-binutils-gdb-6938fd346aa1288a347422e96a6bc50f2673a51f.tar.gz fsf-binutils-gdb-6938fd346aa1288a347422e96a6bc50f2673a51f.tar.bz2 |
2011-05-26 Yao Qi <yao@codesourcery.com>
gdb/
* gdb_thread_db.h: Delete. Move to ...
* common/gdb_thread_db.h: ... here.
gdb/gdbserver/
* Makefile.in (thread-db.o): Track dependence to
common/gdb_thread_db.h.
* thread-db.c: include gdb_thread_db.h from right place.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbserver/Makefile.in | 5 | ||||
-rw-r--r-- | gdb/gdbserver/thread-db.c | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index ff5f71d..98c1100 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2011-05-26 Yao Qi <yao@codesourcery.com> + + * Makefile.in (thread-db.o): Track dependence to + common/gdb_thread_db.h. + * thread-db.c: include gdb_thread_db.h from right place. + 2011-05-16 Adrian Cornish <gnu@bluedreamer.com> * linux-i386-ipa.c (supply_static_tracepoint_registers): Pass diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 1e3781f..095c706 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -339,6 +339,8 @@ linux_low_h = $(srcdir)/linux-low.h linux_ptrace_h = $(srcdir)/../common/linux-ptrace.h +gdb_thread_db_h = $(srcdir)/../common/gdb_thread_db.h + lynx_low_h = $(srcdir)/lynx-low.h $(srcdir)/server.h nto_low_h = $(srcdir)/nto-low.h @@ -379,7 +381,8 @@ regcache.o: regcache.c $(server_h) $(regdef_h) remote-utils.o: remote-utils.c terminal.h $(server_h) server.o: server.c $(server_h) target.o: target.c $(server_h) -thread-db.o: thread-db.c $(server_h) $(linux_low_h) $(gdb_proc_service_h) +thread-db.o: thread-db.c $(server_h) $(linux_low_h) $(gdb_proc_service_h) \ + $(gdb_thread_db_h) tracepoint.o: tracepoint.c $(server_h) $(srcdir)/../common/ax.def utils.o: utils.c $(server_h) gdbreplay.o: gdbreplay.c config.h diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c index 515dff2..9bedd89 100644 --- a/gdb/gdbserver/thread-db.c +++ b/gdb/gdbserver/thread-db.c @@ -28,7 +28,7 @@ extern int debug_threads; static int thread_db_use_events; #include "gdb_proc_service.h" -#include "../gdb_thread_db.h" +#include "gdb_thread_db.h" #ifndef USE_LIBTHREAD_DB_DIRECTLY #include <dlfcn.h> |