diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-26 23:09:53 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-26 23:09:53 +0000 |
commit | 5d98a45f63af922fd05cb62ea4092fa4bf223b04 (patch) | |
tree | f4365d32db7db7df5ad4257f36bf5049d2944b25 /gdb/tm-sparc.h | |
parent | 689f801a7946d9f2dcf62bbdc00703495884b9a1 (diff) | |
download | gdb-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/tm-sparc.h')
-rw-r--r-- | gdb/tm-sparc.h | 4 |
1 files changed, 3 insertions, 1 deletions
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). */ |