* gdb-events.sh (clear_gdb_event_hooks): New function.
* gdb-events.c: Regenerate. * gdb-events.h: Regenerate.
This commit is contained in:
parent
6e31adb3f7
commit
63d022e0ce
4 changed files with 32 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-08-16 Keith Seitz <keiths@redhat.com>
|
||||
|
||||
* gdb-events.sh (clear_gdb_event_hooks): New function.
|
||||
* gdb-events.c: Regenerate.
|
||||
* gdb-events.h: Regenerate.
|
||||
|
||||
2002-08-16 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* breakpoint.c (bpstat_stop_status): Rename not_a_breakpoint to
|
||||
|
|
|
@ -134,6 +134,14 @@ set_gdb_event_hooks (struct gdb_events *vector)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if WITH_GDB_EVENTS
|
||||
void
|
||||
clear_gdb_event_hooks (void)
|
||||
{
|
||||
set_gdb_event_hooks (&null_event_hooks);
|
||||
}
|
||||
#endif
|
||||
|
||||
enum gdb_event
|
||||
{
|
||||
breakpoint_create,
|
||||
|
|
|
@ -105,6 +105,9 @@ extern struct gdb_events *set_gdb_event_hooks (struct gdb_events *vector);
|
|||
/* Deliver any pending events. */
|
||||
extern void gdb_events_deliver (struct gdb_events *vector);
|
||||
|
||||
/* Clear event handlers */
|
||||
extern void clear_gdb_event_hooks (void);
|
||||
|
||||
#if !WITH_GDB_EVENTS
|
||||
#define set_gdb_events(x) 0
|
||||
#define set_gdb_event_hooks(x) 0
|
||||
|
|
|
@ -267,6 +267,9 @@ extern struct gdb_events *set_gdb_event_hooks (struct gdb_events *vector);
|
|||
/* Deliver any pending events. */
|
||||
extern void gdb_events_deliver (struct gdb_events *vector);
|
||||
|
||||
/* Clear event handlers */
|
||||
extern void clear_gdb_event_hooks (void);
|
||||
|
||||
#if !WITH_GDB_EVENTS
|
||||
#define set_gdb_events(x) 0
|
||||
#define set_gdb_event_hooks(x) 0
|
||||
|
@ -393,6 +396,18 @@ cat <<EOF
|
|||
#endif
|
||||
EOF
|
||||
|
||||
# Clear hooks function
|
||||
echo ""
|
||||
cat <<EOF
|
||||
#if WITH_GDB_EVENTS
|
||||
void
|
||||
clear_gdb_event_hooks (void)
|
||||
{
|
||||
set_gdb_event_hooks (&null_event_hooks);
|
||||
}
|
||||
#endif
|
||||
EOF
|
||||
|
||||
# event type
|
||||
echo ""
|
||||
cat <<EOF
|
||||
|
|
Loading…
Reference in a new issue