aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-03-02 00:45:13 +0000
committerDoug Evans <dje@google.com>2009-03-02 00:45:13 +0000
commit2aecd87f56afd1168356ad2d2efbbc7bd1bc31db (patch)
treef111694f5d2c4c11c934c86561bb0bdd10d9a588 /gdb/gdbserver/server.h
parent04e2c417f9d55d3a9abf23a78a36a863886b8059 (diff)
downloadgdb-2aecd87f56afd1168356ad2d2efbbc7bd1bc31db.zip
gdb-2aecd87f56afd1168356ad2d2efbbc7bd1bc31db.tar.gz
gdb-2aecd87f56afd1168356ad2d2efbbc7bd1bc31db.tar.bz2
* 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.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r--gdb/gdbserver/server.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 6e4dfd8..db750bd 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -110,7 +110,7 @@ struct dll_info
#include "regcache.h"
#include "gdb/signals.h"
-
+#include "gdb_signals.h"
#include "target.h"
#include "mem-break.h"
@@ -265,12 +265,6 @@ void buffer_xml_printf (struct buffer *buffer, const char *format, ...)
#define buffer_grow_str0(BUFFER,STRING) \
buffer_grow (BUFFER, STRING, strlen (STRING) + 1)
-/* Functions from ``signals.c''. */
-enum target_signal target_signal_from_host (int hostsig);
-int target_signal_to_host_p (enum target_signal oursig);
-int target_signal_to_host (enum target_signal oursig);
-const char *target_signal_to_name (enum target_signal);
-
/* Functions from utils.c */
void *xmalloc (size_t) ATTR_MALLOC;