diff options
author | Pedro Alves <palves@redhat.com> | 2009-07-25 16:03:56 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-07-25 16:03:56 +0000 |
commit | 461061579845b9f6def3366438d1efc8a9498afc (patch) | |
tree | 8fba87bb3fb962091507a773b89feb4f88e12c9d /gdb/stack.c | |
parent | b1995b01795e9f35237b8b78ac10144ffaf69834 (diff) | |
download | gdb-461061579845b9f6def3366438d1efc8a9498afc.zip gdb-461061579845b9f6def3366438d1efc8a9498afc.tar.gz gdb-461061579845b9f6def3366438d1efc8a9498afc.tar.bz2 |
* stack.c (backtrace_command_1): Remove dead check of NULL current
frame.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 30963a2..1c37801 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1275,11 +1275,6 @@ backtrace_command_1 (char *count_exp, int show_locals, int from_tty) of frames which we should print, or -1 if all of them. */ trailing = get_current_frame (); - /* The target can be in a state where there is no valid frames - (e.g., just connected). */ - if (trailing == NULL) - error (_("No stack.")); - trailing_level = 0; if (count_exp) { |