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.
This commit is contained in:
Andrew Cagney
2002-11-24 03:20:09 +00:00
parent 86a2cbee55
commit 0225421b7c
7 changed files with 30 additions and 28 deletions

View File

@@ -47,6 +47,7 @@
#include "gdb.h"
#include "ui-out.h"
#include "cli/cli-script.h"
#include "gdb_assert.h"
#include "gdb-events.h"
@@ -1695,8 +1696,10 @@ deprecated_frame_in_dummy (struct frame_info *frame)
if (!CALL_DUMMY_P)
return 0;
if (USE_GENERIC_DUMMY_FRAMES)
return generic_pc_in_call_dummy (frame->pc, frame->frame, frame->frame);
/* This function is used by two files: get_frame_type(), after first
checking that !USE_GENERIC_DUMMY_FRAMES; and sparc-tdep.c, which
doesn't yet use generic dummy frames anyway. */
gdb_assert (!USE_GENERIC_DUMMY_FRAMES);
ALL_BREAKPOINTS (b)
{