This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] Target-defined breakpoints [5/9] notification flags


Target-defined breakpoint sync function need know when does the notification get because it sync packet that through notification just can be handled when GDB in the right status(I will introduce it clear in sync patch).
This patch add a flags in function handle_notification to help notification handler know about the GDB status.

Thanks,
Hui

2012-10-24 Hui Zhu <hui_zhu@mentor.com>

	* remote.c (NOTIFICATION_SEND, NOTIFICATION_RECV,
	NOTIFICATION_RECV_FOREVER, NOTIFICATION_ASYNC): New macro.
	(handle_notification): Add argument flags.
	(putpkt_binary): Ditto.
	(getpkt_or_notif_sane_1): Ditto.
	(remote_async_serial_handler): Ditto.

Attachment: notification_flags.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]