diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-11-04 01:32:34 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-11-04 01:32:34 +0000 |
commit | 1dfc8dfb170e70f4737218b6c7940e8590fbe83b (patch) | |
tree | 176ffae17939f2a8617e1d1712e99555ebb70471 /gdb/gould-pinsn.c | |
parent | b4123234f08e4823c19eb6fb649e0ad12c902c8d (diff) | |
download | gdb-1dfc8dfb170e70f4737218b6c7940e8590fbe83b.zip gdb-1dfc8dfb170e70f4737218b6c7940e8590fbe83b.tar.gz gdb-1dfc8dfb170e70f4737218b6c7940e8590fbe83b.tar.bz2 |
Replace useless FRAME, FRAME_ADDR types with struct frame_info *
and CORE_ADDR, respectively.
* frame.h (FRAME, FRAME_INFO_ID, FRAME_ADDR): Remove.
* blockframe.c (get_frame_info): Remove.
* a29k-tdep.c, alpha-tdep.c, blockframe.c, breakpoint.c,
breakpoint.h, energize.c, findvar.c, gdbtk.c, gould-pinsn.c,
h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, i386-tdep.c, i960-tdep.c,
infcmd.c, inferior.h, infrun.c, m68k-tdep.c, m88k-tdep.c,
mips-tdep.c, nindy-tdep.c, printcmd.c, pyr-tdep.c, rs6000-tdep.c,
sh-tdep.c, sparc-tdep.c, stack.c, valops.c, z8k-tdep.c,
config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/gould/tm-pn.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/mips/tm-mips.h,
config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
config/pyr/tm-pyr.h, config/sparc/tm-sparc.h): Replace FRAME with
struct frame_info * everywhere, replace FRAME_ADDR with CORE_ADDR,
rename variables consistently (using `frame' or `fi'), remove
calls to get_frame_info and FRAME_INFO_ID, remove comments about
FRAME and FRAME_ADDR cruftiness.
Diffstat (limited to 'gdb/gould-pinsn.c')
-rw-r--r-- | gdb/gould-pinsn.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/gould-pinsn.c b/gdb/gould-pinsn.c index 876b875..5c89f27 100644 --- a/gdb/gould-pinsn.c +++ b/gdb/gould-pinsn.c @@ -220,12 +220,12 @@ findarg(frame) * 1.) stored in the code function header xA(Br1). * 2.) must be careful of recurssion. */ -FRAME_ADDR +CORE_ADDR findframe(thisframe) - FRAME thisframe; + struct frame_info *thisframe; { - register FRAME_ADDR pointer; - FRAME_ADDR framechain(); + register CORE_ADDR pointer; + CORE_ADDR framechain(); #if 0 struct frame_info *frame; @@ -258,7 +258,7 @@ findframe(thisframe) * Gdb front-end and internal framechain routine. * Go back up stack one level. Tricky... */ -FRAME_ADDR +CORE_ADDR framechain(frame) register struct frame_info *frame; { |