From: Andrew Cagney Date: Sat, 26 Jun 2004 20:37:13 +0000 (+0000) Subject: 2004-06-26 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2726dafcc925a92751344dca979339bf3f097330;p=binutils-gdb.git 2004-06-26 Andrew Cagney * gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated. * gdb-events.h, gdb-events.c: Re-generate. * tui/tui-hooks.c (tui_install_hooks): Update. (tui_remove_hooks): Update. * mi/mi-cmd-break.c (mi_cmd_break_insert): Update. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f3668166793..d1e78390bca 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2004-06-26 Andrew Cagney + + * gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated. + * gdb-events.h, gdb-events.c: Re-generate. + * tui/tui-hooks.c (tui_install_hooks): Update. + (tui_remove_hooks): Update. + * mi/mi-cmd-break.c (mi_cmd_break_insert): Update. + 2004-06-26 Mark Kettenis * amd64fbsd-nat.c: Don't include and "gregset.h". diff --git a/gdb/gdb-events.c b/gdb/gdb-events.c index d61409fffdf..e0916d8706f 100644 --- a/gdb/gdb-events.c +++ b/gdb/gdb-events.c @@ -116,7 +116,7 @@ architecture_changed_event (void) } struct gdb_events * -set_gdb_event_hooks (struct gdb_events *vector) +deprecated_set_gdb_event_hooks (struct gdb_events *vector) { struct gdb_events *old_events = current_event_hooks; if (vector == NULL) @@ -129,7 +129,7 @@ set_gdb_event_hooks (struct gdb_events *vector) void clear_gdb_event_hooks (void) { - set_gdb_event_hooks (&null_event_hooks); + deprecated_set_gdb_event_hooks (&null_event_hooks); } enum gdb_event diff --git a/gdb/gdb-events.h b/gdb/gdb-events.h index c8d55302180..386250b5450 100644 --- a/gdb/gdb-events.h +++ b/gdb/gdb-events.h @@ -83,7 +83,7 @@ extern void tracepoint_modify_event (int number); extern void architecture_changed_event (void); /* Install custom gdb-events hooks. */ -extern struct gdb_events *set_gdb_event_hooks (struct gdb_events *vector); +extern struct gdb_events *deprecated_set_gdb_event_hooks (struct gdb_events *vector); /* Deliver any pending events. */ extern void gdb_events_deliver (struct gdb_events *vector); diff --git a/gdb/gdb-events.sh b/gdb/gdb-events.sh index c16a8990327..5be1e54cdfd 100755 --- a/gdb/gdb-events.sh +++ b/gdb/gdb-events.sh @@ -177,7 +177,7 @@ done cat <