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]

[RFA/RFC Prec] Add process record skip 2/6 (infrun)


2008-08-19  Hui Zhu  <teawater@gmail.com>

	* infrun.c (process_event_stop_test): If what.record_skip is
	bp_record_skip_start or bp_record_skip_start call
	record_skip_breakpoint_handler.

---
 infrun.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/infrun.c
+++ b/infrun.c
@@ -3396,6 +3396,10 @@ process_event_stop_test:
 	stop_stack_dummy = 1;
       }

+    if (what.record_skip == bp_record_skip_start
+        || what.record_skip == bp_record_skip_stop)
+      record_skip_breakpoint_handler (frame, ecs->ptid, what.record_skip);
+
     switch (what.main_action)
       {
       case BPSTAT_WHAT_SET_LONGJMP_RESUME:

Attachment: 2-skip-record-infrun.txt
Description: Text document


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