This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[PATCH] Add annotate_signalled_hook
- From: Keith Seitz <keiths at redhat dot com>
- To: insight at sources dot redhat dot com
- Date: Fri, 27 Sep 2002 13:11:33 -0700 (PDT)
- Subject: [PATCH] Add annotate_signalled_hook
Well, I don't believe that we lasted this long without this, but, well,
this is really necessary to infrom Insight when the target has taken a
signal which caused it to terminate.
Keith
ChangeLog
2002-09-27 Keith Seitz <keiths@redhat.com>
* generic/gdbtk-hooks.c (gdbtk_add_hooks): Add gdbtk_annotate_signal
as annotate_signalled_hook.
Patch
Index: generic/gdbtk-hooks.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-hooks.c,v
retrieving revision 1.25
diff -p -r1.25 gdbtk-hooks.c
*** generic/gdbtk-hooks.c 3 Jul 2002 17:38:22 -0000 1.25
--- generic/gdbtk-hooks.c 27 Sep 2002 20:07:26 -0000
*************** gdbtk_add_hooks (void)
*** 168,173 ****
--- 168,174 ----
error_begin_hook = gdbtk_error_begin;
annotate_signal_hook = gdbtk_annotate_signal;
+ annotate_signalled_hook = gdbtk_annotate_signal;
}
/* These control where to put the gdb output which is created by