diff options
author | Stan Shebs <shebs@apple.com> | 1999-04-26 18:34:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-04-26 18:34:20 +0000 |
commit | fe454715791b86ad488b33c1f325478803c8108c (patch) | |
tree | 91ec960676c78ffeab24ee2101fa128d2cc0f958 /gdb/annotate.c | |
parent | f3db0d6e5952e6aa06bdad615829b42d2cf52f71 (diff) | |
download | gdb-fe454715791b86ad488b33c1f325478803c8108c.tar.gz |
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r-- | gdb/annotate.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c index ec3e4245c9b..5cde62607c0 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -1,5 +1,5 @@ /* Annotation routines for GDB. - Copyright 1986, 89, 90, 91, 92, 95, 1998 Free Software Foundation, Inc. + Copyright 1986, 89, 90, 91, 92, 95, 98, 1999 Free Software Foundation, Inc. This file is part of GDB. @@ -34,6 +34,7 @@ static void breakpoint_changed PARAMS ((struct breakpoint *)); void (*annotate_starting_hook) PARAMS ((void)); void (*annotate_stopped_hook) PARAMS ((void)); void (*annotate_signalled_hook) PARAMS ((void)); +void (*annotate_signal_hook) PARAMS ((void)); void (*annotate_exited_hook) PARAMS ((void)); static void @@ -161,6 +162,9 @@ annotate_signal_string_end () void annotate_signal () { + if (annotate_signal_hook) + annotate_signal_hook (); + if (annotation_level > 1) printf_filtered ("\n\032\032signal\n"); } |