* Makefile.in (GDB_CFLAGS): Add -I$(srcdir)/common.
authorDoug Evans <dje@google.com>
Mon, 2 Mar 2009 00:45:13 +0000 (00:45 +0000)
committerDoug Evans <dje@google.com>
Mon, 2 Mar 2009 00:45:13 +0000 (00:45 +0000)
commit2aecd87f56afd1168356ad2d2efbbc7bd1bc31db
treef111694f5d2c4c11c934c86561bb0bdd10d9a588
parent04e2c417f9d55d3a9abf23a78a36a863886b8059
* Makefile.in (GDB_CFLAGS): Add -I$(srcdir)/common.
(init.c): signals/ -> common/.
(signals.o): Update.
* target.h (target_signal_to_string,target_signal_to_string)
(target_signal_from_name,target_signal_to_host_p)
(target_signal_from_host,target_signal_to_host): Move to ...
* common/gdb_signals.h: ... here.  New file.
* common/signals.c: Moved here from signals/signals.c.
#include gdb_signals.h, remove #include of target.h in gdb case.
(target_signal_from_command,default_target_signal_to_host)
(default_target_signal_from_host): Move inside #ifndef GDBSERVER.

* gdbserver/Makefile.in (INCLUDE_CFLAGS): Add -I$(srcdir)/../common.
(server_h): Add gdb_signals.h.
(signals.o): Update.
* server.h (target_signal_from_host,target_signal_to_host_p)
(target_signal_to_host,target_signal_to_name): Moved to gdb_signals.h.
gdb/ChangeLog
gdb/Makefile.in
gdb/common/gdb_signals.h [new file with mode: 0644]
gdb/common/signals.c [new file with mode: 0644]
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/server.h
gdb/signals/signals.c [deleted file]
gdb/target.h