diff options
author | Doug Evans <dje@google.com> | 2008-11-20 22:16:16 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2008-11-20 22:16:16 +0000 |
commit | d2bf72c0570ddbfd3a861226199a33aa3505b9d6 (patch) | |
tree | 18b8617f12139b9027a4f143612c1e2baeedbf94 /gdb/frame.c | |
parent | a9c640111debc0b61f074ef7ce2521ca9a587a10 (diff) | |
download | gdb-d2bf72c0570ddbfd3a861226199a33aa3505b9d6.zip gdb-d2bf72c0570ddbfd3a861226199a33aa3505b9d6.tar.gz gdb-d2bf72c0570ddbfd3a861226199a33aa3505b9d6.tar.bz2 |
* frame.c (frame_debug_got_null_frame): Remove file arg.
All callers updated.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index a877494..f473e25 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1392,8 +1392,7 @@ get_prev_frame_1 (struct frame_info *this_frame) /* Debug routine to print a NULL frame being returned. */ static void -frame_debug_got_null_frame (struct ui_file *file, - struct frame_info *this_frame, +frame_debug_got_null_frame (struct frame_info *this_frame, const char *reason) { if (frame_debug) @@ -1482,7 +1481,7 @@ get_prev_frame (struct frame_info *this_frame) Per the above, this code shouldn't even be called with a NULL THIS_FRAME. */ - frame_debug_got_null_frame (gdb_stdlog, this_frame, "this_frame NULL"); + frame_debug_got_null_frame (this_frame, "this_frame NULL"); return current_frame; } @@ -1510,7 +1509,7 @@ get_prev_frame (struct frame_info *this_frame) user later decides to enable unwinds past main(), that will automatically happen. */ { - frame_debug_got_null_frame (gdb_stdlog, this_frame, "inside main func"); + frame_debug_got_null_frame (this_frame, "inside main func"); return NULL; } @@ -1521,8 +1520,7 @@ get_prev_frame (struct frame_info *this_frame) frame. */ if (this_frame->level + 2 > backtrace_limit) { - frame_debug_got_null_frame (gdb_stdlog, this_frame, - "backtrace limit exceeded"); + frame_debug_got_null_frame (this_frame, "backtrace limit exceeded"); return NULL; } @@ -1552,7 +1550,7 @@ get_prev_frame (struct frame_info *this_frame) && get_frame_type (this_frame) != DUMMY_FRAME && this_frame->level >= 0 && inside_entry_func (this_frame)) { - frame_debug_got_null_frame (gdb_stdlog, this_frame, "inside entry func"); + frame_debug_got_null_frame (this_frame, "inside entry func"); return NULL; } @@ -1564,7 +1562,7 @@ get_prev_frame (struct frame_info *this_frame) && get_frame_type (get_next_frame (this_frame)) == NORMAL_FRAME && get_frame_pc (this_frame) == 0) { - frame_debug_got_null_frame (gdb_stdlog, this_frame, "zero PC"); + frame_debug_got_null_frame (this_frame, "zero PC"); return NULL; } |