2002-11-10 Andrew Cagney <ac131313@redhat.com>
* breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy. * stack.c (print_frame_info_base): Update. (print_frame_info_base, frame_info): Update. * sparc-tdep.c (sparc_init_extra_frame_info): Update. (sparc_frame_saved_pc): Update. * ada-lang.c (find_printable_frame): Update. * breakpoint.c (deprecated_frame_in_dummy): Update.
This commit is contained in:
parent
32c27eed9c
commit
bf1e52be95
8 changed files with 33 additions and 9 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
2002-11-10 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy.
|
||||||
|
* stack.c (print_frame_info_base): Update.
|
||||||
|
(print_frame_info_base, frame_info): Update.
|
||||||
|
* sparc-tdep.c (sparc_init_extra_frame_info): Update.
|
||||||
|
(sparc_frame_saved_pc): Update.
|
||||||
|
* ada-lang.c (find_printable_frame): Update.
|
||||||
|
* breakpoint.c (deprecated_frame_in_dummy): Update.
|
||||||
|
|
||||||
2002-11-09 Mark Kettenis <kettenis@gnu.org>
|
2002-11-09 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* i386-linux-nat.c (ORIG_EAX): Define to -1 if not already
|
* i386-linux-nat.c (ORIG_EAX): Define to -1 if not already
|
||||||
|
|
|
@ -5040,7 +5040,7 @@ find_printable_frame (struct frame_info *fi, int level)
|
||||||
find_pc_line (fi->pc,
|
find_pc_line (fi->pc,
|
||||||
fi->next != NULL
|
fi->next != NULL
|
||||||
&& !fi->next->signal_handler_caller
|
&& !fi->next->signal_handler_caller
|
||||||
&& !frame_in_dummy (fi->next));
|
&& !deprecated_frame_in_dummy (fi->next));
|
||||||
if (sal.symtab && !is_ada_runtime_file (sal.symtab->filename))
|
if (sal.symtab && !is_ada_runtime_file (sal.symtab->filename))
|
||||||
{
|
{
|
||||||
#if defined(__alpha__) && defined(__osf__) && !defined(VXWORKS_TARGET)
|
#if defined(__alpha__) && defined(__osf__) && !defined(VXWORKS_TARGET)
|
||||||
|
|
|
@ -1688,7 +1688,7 @@ breakpoint_inserted_here_p (CORE_ADDR pc)
|
||||||
bp_call_dummy breakpoint. */
|
bp_call_dummy breakpoint. */
|
||||||
|
|
||||||
int
|
int
|
||||||
frame_in_dummy (struct frame_info *frame)
|
deprecated_frame_in_dummy (struct frame_info *frame)
|
||||||
{
|
{
|
||||||
struct breakpoint *b;
|
struct breakpoint *b;
|
||||||
|
|
||||||
|
|
|
@ -528,7 +528,16 @@ extern enum breakpoint_here breakpoint_here_p (CORE_ADDR);
|
||||||
|
|
||||||
extern int breakpoint_inserted_here_p (CORE_ADDR);
|
extern int breakpoint_inserted_here_p (CORE_ADDR);
|
||||||
|
|
||||||
extern int frame_in_dummy (struct frame_info *);
|
/* FIXME: cagney/2002-11-10: The current [generic] dummy-frame code
|
||||||
|
implements a functional superset of this function. The only reason
|
||||||
|
it hasn't been removed is because some architectures still don't
|
||||||
|
use the new framework. Once they have been fixed, this can go. */
|
||||||
|
/* FIXME: cagney/2002-11-10: There should be a function (hmm,
|
||||||
|
something like, enum { NORMAL_FRAME, DUMMY_FRAME, SIGTRAMP_FRAME }
|
||||||
|
get_frame_type() ...) that the caller can use to determine the
|
||||||
|
frame's type. This could replace this function, PC_IN_CALL_DUMMY,
|
||||||
|
and fi->signal_handler_caller. */
|
||||||
|
extern int deprecated_frame_in_dummy (struct frame_info *);
|
||||||
|
|
||||||
extern int breakpoint_thread_match (CORE_ADDR, ptid_t);
|
extern int breakpoint_thread_match (CORE_ADDR, ptid_t);
|
||||||
|
|
||||||
|
|
|
@ -315,7 +315,7 @@ sparc_init_extra_frame_info (int fromleaf, struct frame_info *fi)
|
||||||
it later. */
|
it later. */
|
||||||
if (fi->next->next != NULL
|
if (fi->next->next != NULL
|
||||||
&& (fi->next->next->signal_handler_caller
|
&& (fi->next->next->signal_handler_caller
|
||||||
|| frame_in_dummy (fi->next->next))
|
|| deprecated_frame_in_dummy (fi->next->next))
|
||||||
&& frameless_look_for_prologue (fi->next))
|
&& frameless_look_for_prologue (fi->next))
|
||||||
{
|
{
|
||||||
/* A frameless function interrupted by a signal did not change
|
/* A frameless function interrupted by a signal did not change
|
||||||
|
@ -488,7 +488,7 @@ sparc_frame_saved_pc (struct frame_info *frame)
|
||||||
else if (frame->extra_info->in_prologue ||
|
else if (frame->extra_info->in_prologue ||
|
||||||
(frame->next != NULL &&
|
(frame->next != NULL &&
|
||||||
(frame->next->signal_handler_caller ||
|
(frame->next->signal_handler_caller ||
|
||||||
frame_in_dummy (frame->next)) &&
|
deprecated_frame_in_dummy (frame->next)) &&
|
||||||
frameless_look_for_prologue (frame)))
|
frameless_look_for_prologue (frame)))
|
||||||
{
|
{
|
||||||
/* A frameless function interrupted by a signal did not save
|
/* A frameless function interrupted by a signal did not save
|
||||||
|
|
|
@ -350,7 +350,7 @@ print_frame_info_base (struct frame_info *fi, int level, int source, int args)
|
||||||
to check for a bp_call_dummy breakpoint. */
|
to check for a bp_call_dummy breakpoint. */
|
||||||
if (PC_IN_CALL_DUMMY (fi->pc, sp, fi->frame))
|
if (PC_IN_CALL_DUMMY (fi->pc, sp, fi->frame))
|
||||||
#else
|
#else
|
||||||
if (frame_in_dummy (fi))
|
if (deprecated_frame_in_dummy (fi))
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
annotate_frame_begin (level == -1 ? 0 : level, fi->pc);
|
annotate_frame_begin (level == -1 ? 0 : level, fi->pc);
|
||||||
|
@ -394,7 +394,7 @@ print_frame_info_base (struct frame_info *fi, int level, int source, int args)
|
||||||
find_pc_line (fi->pc,
|
find_pc_line (fi->pc,
|
||||||
fi->next != NULL
|
fi->next != NULL
|
||||||
&& !fi->next->signal_handler_caller
|
&& !fi->next->signal_handler_caller
|
||||||
&& !frame_in_dummy (fi->next));
|
&& !deprecated_frame_in_dummy (fi->next));
|
||||||
|
|
||||||
location_print = (source == LOCATION
|
location_print = (source == LOCATION
|
||||||
|| source == LOC_AND_ADDRESS
|
|| source == LOC_AND_ADDRESS
|
||||||
|
@ -794,7 +794,7 @@ frame_info (char *addr_exp, int from_tty)
|
||||||
sal = find_pc_line (fi->pc,
|
sal = find_pc_line (fi->pc,
|
||||||
fi->next != NULL
|
fi->next != NULL
|
||||||
&& !fi->next->signal_handler_caller
|
&& !fi->next->signal_handler_caller
|
||||||
&& !frame_in_dummy (fi->next));
|
&& !deprecated_frame_in_dummy (fi->next));
|
||||||
func = get_frame_function (fi);
|
func = get_frame_function (fi);
|
||||||
s = find_pc_symtab (fi->pc);
|
s = find_pc_symtab (fi->pc);
|
||||||
if (func)
|
if (func)
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2002-11-10 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* tuiStack.c (tuiShowFrameInfo): Replace frame_in_dummy with
|
||||||
|
deprecated_frame_in_dummy.
|
||||||
|
|
||||||
2002-10-26 Stephane Carrez <stcarrez@nerim.fr>
|
2002-10-26 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
* tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.
|
* tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.
|
||||||
|
|
|
@ -352,7 +352,7 @@ tuiShowFrameInfo (struct frame_info *fi)
|
||||||
sal = find_pc_line (fi->pc,
|
sal = find_pc_line (fi->pc,
|
||||||
(fi->next != (struct frame_info *) NULL &&
|
(fi->next != (struct frame_info *) NULL &&
|
||||||
!fi->next->signal_handler_caller &&
|
!fi->next->signal_handler_caller &&
|
||||||
!frame_in_dummy (fi->next)));
|
!deprecated_frame_in_dummy (fi->next)));
|
||||||
|
|
||||||
sourceAlreadyDisplayed = sal.symtab != 0
|
sourceAlreadyDisplayed = sal.symtab != 0
|
||||||
&& tuiSourceIsDisplayed (sal.symtab->filename);
|
&& tuiSourceIsDisplayed (sal.symtab->filename);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue