diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
commit | 7a292a7adf506b866905b06b3024c0fd411c4583 (patch) | |
tree | 5b208bb48269b8a82d5c3a5f19c87b45a62a22f4 /gdb/annotate.c | |
parent | 1996fae84682e8ddd146215dd2959ad1ec924c09 (diff) | |
download | gdb-7a292a7adf506b866905b06b3024c0fd411c4583.zip gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.gz gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.bz2 |
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 ec3e424..5cde626 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"); } |