diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-07 20:29:56 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-07 20:29:56 +0000 |
commit | 23a8e2915cfa83f8cac60e61e1b414a7aeab198e (patch) | |
tree | 5ebb4da63b33de2d086d84e2cea8479d650a5ff7 /gdb/config/vax | |
parent | e154ecf4ab067beccde639b61a166eb9ebc7c0c3 (diff) | |
download | gdb-23a8e2915cfa83f8cac60e61e1b414a7aeab198e.zip gdb-23a8e2915cfa83f8cac60e61e1b414a7aeab198e.tar.gz gdb-23a8e2915cfa83f8cac60e61e1b414a7aeab198e.tar.bz2 |
* frame.h, blockframe.c, stack.c, a29k-tdep.c,
config/gould/tmp-{pn,np1}.h,
config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
next_frame from struct frame_info. It has no purpose beyond
->next->frame and is an artifact from GDB 2.8.
Diffstat (limited to 'gdb/config/vax')
-rw-r--r-- | gdb/config/vax/tm-vax.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/config/vax/tm-vax.h b/gdb/config/vax/tm-vax.h index 8631e04..6fd2454 100644 --- a/gdb/config/vax/tm-vax.h +++ b/gdb/config/vax/tm-vax.h @@ -245,16 +245,16 @@ fix to bug-gdb@prep.ai.mit.edu. */ So return 0 (indicating we don't know the address of the arglist) if we don't know what frame this frame calls. */ #define FRAME_ARGS_ADDRESS_CORRECT(fi) \ - (((fi)->next_frame \ - ? read_memory_integer ((fi)->next_frame + 8, 4) \ + (((fi)->next \ + ? read_memory_integer ((fi)->next->frame + 8, 4) \ : /* read_register (AP_REGNUM) */ 0)) /* In most of GDB, getting the args address is too important to just say "I don't know". This is sometimes wrong for functions that aren't on top of the stack, but c'est la vie. */ #define FRAME_ARGS_ADDRESS(fi) \ - (((fi)->next_frame \ - ? read_memory_integer ((fi)->next_frame + 8, 4) \ + (((fi)->next \ + ? read_memory_integer ((fi)->next->frame + 8, 4) \ : read_register (AP_REGNUM) /* 0 */)) #define FRAME_LOCALS_ADDRESS(fi) ((fi)->frame) |