diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-24 03:20:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-24 03:20:09 +0000 |
commit | 0ffbd8df1e692dd0ec2ba746eba338ee93b9bead (patch) | |
tree | cf678422454ed12b56593de275c6b57b349be619 /gdb/tui | |
parent | d55d5e9c1251116cd560e804cc4beb147fcb970b (diff) | |
download | gdb-0ffbd8df1e692dd0ec2ba746eba338ee93b9bead.tar.gz |
2002-11-23 Andrew Cagney <ac131313@redhat.com>
* breakpoint.c: Include "gdb_assert.h".
(deprecated_frame_in_dummy): Assert that generic dummy frames are
not being used.
* Makefile.in (breakpoint.o): Update dependencies.
* ada-lang.c (find_printable_frame): Use get_frame_type instead of
deprecated_frame_in_dummy.
* stack.c (print_frame_info_base): Ditto.
(frame_info): Ditto.
(print_frame_info_base): Ditto. Delete dead code.
Index: tui/ChangeLog
2002-11-23 Andrew Cagney <ac131313@redhat.com>
* tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
deprecated_frame_in_dummy. Fix coding style.
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tui/tuiStack.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 2ed06f3eb04..3c727655c07 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,3 +1,8 @@ +2002-11-23 Andrew Cagney <ac131313@redhat.com> + + * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of + deprecated_frame_in_dummy. Fix coding style. + 2002-11-21 Stephane Carrez <stcarrez@nerim.fr> * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific diff --git a/gdb/tui/tuiStack.c b/gdb/tui/tuiStack.c index 333d95f5906..7f46d576a99 100644 --- a/gdb/tui/tuiStack.c +++ b/gdb/tui/tuiStack.c @@ -350,9 +350,9 @@ tuiShowFrameInfo (struct frame_info *fi) struct symtab_and_line sal; sal = find_pc_line (fi->pc, - (fi->next != (struct frame_info *) NULL && - !(get_frame_type (fi->next) == SIGTRAMP_FRAME) && - !deprecated_frame_in_dummy (fi->next))); + (fi->next != (struct frame_info *) NULL + && !(get_frame_type (fi->next) == SIGTRAMP_FRAME) + && !(get_frame_type (fi->next) == DUMMY_FRAME))); sourceAlreadyDisplayed = sal.symtab != 0 && tuiSourceIsDisplayed (sal.symtab->filename); |