Subject: CVS commit: gnusrc/gnu/dist/toolchain/gdb
To: None <source-changes@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 03/22/2002 05:33:10
Module Name:	gnusrc
Committed By:	jmc
Date:		Fri Mar 22 03:33:09 UTC 2002

Modified Files:
	gnusrc/gnu/dist/toolchain/gdb: sparc-tdep.c
	gnusrc/gnu/dist/toolchain/gdb/config/sparc: tm-sp64.h

Log Message:
Fix sparc64 so locals and args can be accessed correctly.

If one doesn't subtract the stack bias back off %fp before attempting
to access variables stored relative to %fp the wrong address is picked up for
all locals and args. So, calls to the FRAME_LOCALS_ADDRESS or
FRAME_ARGS_ADDRESS macros need a function for sparc64 specific cases.
Provide a function to check for bias's addresses and fix them up.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 gnusrc/gnu/dist/toolchain/gdb/sparc-tdep.c
cvs rdiff -r1.2 -r1.3 gnusrc/gnu/dist/toolchain/gdb/config/sparc/tm-sp64.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.