gdb/gdbserver/
authorYao Qi <yao@codesourcery.com>
Sat, 15 Dec 2012 02:48:18 +0000 (02:48 +0000)
committerYao Qi <yao@codesourcery.com>
Sat, 15 Dec 2012 02:48:18 +0000 (02:48 +0000)
commit14a0047001cd25ca665232ace7eb3a079e00d77e
tree49f6e0e8ef4fed2eedfb2396ab42fc2aaa46f882
parentdbb0cf06a3f9adb818e9dfd971da0258114e589e
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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/notif.c [new file with mode: 0644]
gdb/gdbserver/notif.h [new file with mode: 0644]
gdb/gdbserver/server.c
gdb/gdbserver/server.h
This page took 0.025113 seconds and 4 git commands to generate.