aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-02-26 20:10:18 +0000
committerDaniel Jacobowitz <drow@false.org>2007-02-26 20:10:18 +0000
commitc74d0ad8276928d58b080ecd50eb5026aac49c5d (patch)
tree609bae4ed2a63d4b044efa52927634fc265d4904 /gdb/gdbserver/server.h
parent2711e4564f4ab411bdf2cedff3fb92abadd630b8 (diff)
downloadgdb-c74d0ad8276928d58b080ecd50eb5026aac49c5d.zip
gdb-c74d0ad8276928d58b080ecd50eb5026aac49c5d.tar.gz
gdb-c74d0ad8276928d58b080ecd50eb5026aac49c5d.tar.bz2
* gdb.texinfo (Monitor commands for gdbserver): New subsection.
* remote-utils.c (monitor_output): New function. * server.c (debug_threads): Define here. (monitor_show_help): New function. (handle_query): Handle qRcmd. (main): Do not handle 'd' packet. * server.h (debug_threads, remote_debug, monitor_output): Declare. * linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions of debug_threads. * gdb.server/server-mon.exp: New test.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r--gdb/gdbserver/server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index ff5ef3f..462bd68 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -128,12 +128,14 @@ extern unsigned long step_thread;
extern unsigned long thread_from_wait;
extern unsigned long old_thread_from_wait;
extern int server_waiting;
+extern int debug_threads;
extern int pass_signals[];
extern jmp_buf toplevel;
/* From remote-utils.c */
+extern int remote_debug;
extern int all_symbols_looked_up;
int putpkt (char *buf);
@@ -170,6 +172,8 @@ int remote_escape_output (const gdb_byte *buffer, int len,
int look_up_one_symbol (const char *name, CORE_ADDR *addrp);
+void monitor_output (char *msg);
+
/* Functions from ``signals.c''. */
enum target_signal target_signal_from_host (int hostsig);
int target_signal_to_host_p (enum target_signal oursig);