aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-24 03:20:09 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-24 03:20:09 +0000
commit0225421b7c765bc999684513699ff324bdd3cf02 (patch)
tree54de6f2bc9509dd8987ebb5504495eedce68b792 /gdb/ada-lang.c
parent86a2cbee551cf89e4c87d48092733065a2a2ef11 (diff)
downloadgdb-0225421b7c765bc999684513699ff324bdd3cf02.zip
gdb-0225421b7c765bc999684513699ff324bdd3cf02.tar.gz
gdb-0225421b7c765bc999684513699ff324bdd3cf02.tar.bz2
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/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index c21a325..e83037a 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -5045,7 +5045,7 @@ find_printable_frame (struct frame_info *fi, int level)
find_pc_line (fi->pc,
fi->next != NULL
&& !(get_frame_type (fi->next) == SIGTRAMP_FRAME)
- && !deprecated_frame_in_dummy (fi->next));
+ && !(get_frame_type (fi->next) == DUMMY_FRAME));
if (sal.symtab && !is_ada_runtime_file (sal.symtab->filename))
{
#if defined(__alpha__) && defined(__osf__) && !defined(VXWORKS_TARGET)