aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-12-15 02:48:18 +0000
committerYao Qi <yao@codesourcery.com>2012-12-15 02:48:18 +0000
commit14a0047001cd25ca665232ace7eb3a079e00d77e (patch)
tree49f6e0e8ef4fed2eedfb2396ab42fc2aaa46f882 /gdb/gdbserver/server.h
parentdbb0cf06a3f9adb818e9dfd971da0258114e589e (diff)
downloadgdb-14a0047001cd25ca665232ace7eb3a079e00d77e.zip
gdb-14a0047001cd25ca665232ace7eb3a079e00d77e.tar.gz
gdb-14a0047001cd25ca665232ace7eb3a079e00d77e.tar.bz2
gdb/gdbserver/
2012-12-15 Yao Qi <yao@codesourcery.com> * Makefile.in (OBS): Add notif.o. * notif.c, notif.h: New. * server.c: Include "notif.h". (struct vstop_notif) <next>: Remove. <base>: New field. (queue_stop_reply): Update. (push_event, send_next_stop_reply): Remove. (discard_queued_stop_replies): Update. (notif_stop): New variable. (handle_v_stopped): Remove. (handle_v_requests): Don't call handle_v_stopped. Call handle_ack_notif instead. (queue_stop_reply_callback): Call notif_event_enque instead of queue_stop_reply. (handle_status): Don't call send_next_stop_reply, call notif_write_event instead. (kill_inferior_callback): Likewise. (detach_or_kill_inferior_callback): Likewise. (main): Call initialize_notif. (process_serial_event): Call QUEUE_is_empty. (handle_target_event): Call notif_push instead of push event. * server.h (push_event): Remove declaration.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r--gdb/gdbserver/server.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 929819e..7104ef7 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -265,8 +265,6 @@ extern void start_event_loop (void);
extern int handle_serial_event (int err, gdb_client_data client_data);
extern int handle_target_event (int err, gdb_client_data client_data);
-extern void push_event (ptid_t ptid, struct target_waitstatus *status);
-
/* Functions from hostio.c. */
extern int handle_vFile (char *, int, int *);