From 5d98a45f63af922fd05cb62ea4092fa4bf223b04 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 26 Apr 1991 23:09:53 +0000 Subject: * tm-sparc.h: Add comments about gcc version 2 and structure passing. --- gdb/ChangeLog | 2 ++ gdb/tm-sparc.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 739bedd..45d68d4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Fri Apr 26 12:02:06 1991 Jim Kingdon (kingdon at cygint.cygnus.com) + * tm-sparc.h: Add comments about gcc version 2 and structure passing. + * xconfig/i386v{,32}{,-g}: Add XM_CFLAGS=-Dgetpagesize()=4096. gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code. diff --git a/gdb/tm-sparc.h b/gdb/tm-sparc.h index cbe411e..aa72a57 100644 --- a/gdb/tm-sparc.h +++ b/gdb/tm-sparc.h @@ -36,7 +36,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ two symbols, so we get a LOC_ARG saying the address is on the stack (a lie, and a serious one since we don't know which register to use), and a LOC_REGISTER saying that the struct is in a register - (sort of a lie, but fixable with REG_STRUCT_HAS_ADDR). + (sort of a lie, but fixable with REG_STRUCT_HAS_ADDR). Gcc version + two (as of 1.92) behaves like sun cc, but I don't know how we can + distinguish between gcc version 1 and gcc version 2. This still doesn't work if the argument is not one passed in a register (i.e. it's the 7th or later argument). */ -- cgit v1.1