aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-26 23:09:53 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-26 23:09:53 +0000
commit5d98a45f63af922fd05cb62ea4092fa4bf223b04 (patch)
treef4365d32db7db7df5ad4257f36bf5049d2944b25 /gdb
parent689f801a7946d9f2dcf62bbdc00703495884b9a1 (diff)
downloadgdb-5d98a45f63af922fd05cb62ea4092fa4bf223b04.zip
gdb-5d98a45f63af922fd05cb62ea4092fa4bf223b04.tar.gz
gdb-5d98a45f63af922fd05cb62ea4092fa4bf223b04.tar.bz2
* tm-sparc.h: Add comments about gcc version 2 and structure passing.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/tm-sparc.h4
2 files changed, 5 insertions, 1 deletions
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). */