diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-20 18:02:54 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-20 18:02:54 +0000 |
commit | cee86be37f49b8e1ec399271b9e7a4945faf34e5 (patch) | |
tree | 7e4ad00eb100e5c1d5918fe623efeacd00160a50 /gdb/stack.c | |
parent | 01f5a1f8257c2837c4d3388e0f6b5d13ffb1422b (diff) | |
download | gdb-cee86be37f49b8e1ec399271b9e7a4945faf34e5.zip gdb-cee86be37f49b8e1ec399271b9e7a4945faf34e5.tar.gz gdb-cee86be37f49b8e1ec399271b9e7a4945faf34e5.tar.bz2 |
* rs6000-tdep.c: Delete unused function print_frame.
* frame.h (struct frame_info): Doc fix for next_frame.
New field signal_handler_caller.
blockframe.c (create_new_frame, get_prev_frame_info),
config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
INIT_FRAME_PC_FIRST).
stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
Check it.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index b5f965e..3d3d135 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -152,6 +152,15 @@ print_frame_info (fi, level, source, args) printf_filtered ("<function called from gdb>\n"); return; } + if (fi->signal_handler_caller) + { + /* Do this regardless of SOURCE because we don't have any source + to list for this frame. */ + if (level >= 0) + printf_filtered ("#%-2d ", level); + printf_filtered ("<signal handler called>\n"); + return; + } sal = find_pc_line (fi->pc, fi->next_frame); func = find_pc_function (fi->pc); |