diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-02-26 20:10:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-02-26 20:10:18 +0000 |
commit | c74d0ad8276928d58b080ecd50eb5026aac49c5d (patch) | |
tree | 609bae4ed2a63d4b044efa52927634fc265d4904 /gdb/gdbserver/server.h | |
parent | 2711e4564f4ab411bdf2cedff3fb92abadd630b8 (diff) | |
download | gdb-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.h | 4 |
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); |