diff options
author | Stu Grossman <grossman@cygnus> | 1996-10-16 08:57:35 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-10-16 08:57:35 +0000 |
commit | 687f4e2379f3aaf14bd74482b85488f444696464 (patch) | |
tree | 6cb6a141ff9cee6cf6e98ab47b30dcf70f789cbc /gdb/v850-tdep.c | |
parent | f964b01d903959abb9ccf666a111bb80b6f2da01 (diff) | |
download | gdb-687f4e2379f3aaf14bd74482b85488f444696464.zip gdb-687f4e2379f3aaf14bd74482b85488f444696464.tar.gz gdb-687f4e2379f3aaf14bd74482b85488f444696464.tar.bz2 |
* v850-tdep.c (v850_push_arguments): Use symbolic names for arg
registers.
* config/v850/tm-v850.h: Change FP to 29. Define arg regs.
Diffstat (limited to 'gdb/v850-tdep.c')
-rw-r--r-- | gdb/v850-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index 7e6b431..1b1f5c8 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -343,7 +343,7 @@ v850_push_arguments (nargs, args, sp, struct_return, struct_addr) int argreg; int argnum; - argreg = 6; + argreg = ARG0_REGNUM; if (struct_return) { @@ -371,7 +371,7 @@ v850_push_arguments (nargs, args, sp, struct_return, struct_addr) } while (len > 0) - if (argreg <= 9) + if (argreg <= ARGLAST_REGNUM) { CORE_ADDR regval; |