* sh-tdep.c (sh-opc.h): Don't include.
(gdbcore.h): Include. (frame_find_saved_regs): Remove unused local.
This commit is contained in:
parent
1f2025d9c1
commit
66d05e03ad
2 changed files with 14 additions and 11 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Apr 21 12:03:44 1995 Stan Shebs <shebs@andros.cygnus.com>
|
||||||
|
|
||||||
|
* sh-tdep.c (sh-opc.h): Don't include.
|
||||||
|
(gdbcore.h): Include.
|
||||||
|
(frame_find_saved_regs): Remove unused local.
|
||||||
|
|
||||||
Thu Apr 20 10:12:21 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Thu Apr 20 10:12:21 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
* dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
|
* dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Target-machine dependent code for Hitachi Super-H, for GDB.
|
/* Target-dependent code for Hitachi Super-H, for GDB.
|
||||||
Copyright (C) 1993 Free Software Foundation, Inc.
|
Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -28,11 +28,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "gdbtypes.h"
|
#include "gdbtypes.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
|
#include "gdbcore.h"
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
#include "dis-asm.h"
|
#include "dis-asm.h"
|
||||||
#include "../opcodes/sh-opc.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Prologue looks like
|
/* Prologue looks like
|
||||||
[mov.l <regs>,@-r15]...
|
[mov.l <regs>,@-r15]...
|
||||||
|
@ -104,12 +102,11 @@ sh_frame_chain (frame)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Put here the code to store, into a struct frame_saved_regs,
|
/* Put here the code to store, into a struct frame_saved_regs, the
|
||||||
the addresses of the saved registers of frame described by FRAME_INFO.
|
addresses of the saved registers of frame described by FRAME_INFO.
|
||||||
This includes special registers such as pc and fp saved in special
|
This includes special registers such as pc and fp saved in special
|
||||||
ways in the stack frame. sp is even more special:
|
ways in the stack frame. sp is even more special: the address we
|
||||||
the address we return for it IS the sp for the next frame. */
|
return for it IS the sp for the next frame. */
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
frame_find_saved_regs (fi, fsr)
|
frame_find_saved_regs (fi, fsr)
|
||||||
|
@ -123,7 +120,6 @@ frame_find_saved_regs (fi, fsr)
|
||||||
int pc;
|
int pc;
|
||||||
int opc;
|
int opc;
|
||||||
int insn;
|
int insn;
|
||||||
int hadf;
|
|
||||||
int r3_val = 0;
|
int r3_val = 0;
|
||||||
|
|
||||||
opc = pc = get_pc_function_start (fi->pc);
|
opc = pc = get_pc_function_start (fi->pc);
|
||||||
|
@ -244,6 +240,7 @@ init_extra_frame_info (fromleaf, fi)
|
||||||
struct frame_info *fi;
|
struct frame_info *fi;
|
||||||
{
|
{
|
||||||
struct frame_saved_regs dummy;
|
struct frame_saved_regs dummy;
|
||||||
|
|
||||||
frame_find_saved_regs (fi, &dummy);
|
frame_find_saved_regs (fi, &dummy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue