diff options
author | Kevin Buettner <kevinb@redhat.com> | 2014-02-17 12:03:23 -0700 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2014-02-17 12:03:23 -0700 |
commit | bc3c6b36422973aad17445ad5e436064f7337d47 (patch) | |
tree | af396db96a9db4f913500408faed8ce33997ac2e /sim | |
parent | 329baa9572b85f84d2914d6d63818a142c46189d (diff) | |
download | gdb-bc3c6b36422973aad17445ad5e436064f7337d47.zip gdb-bc3c6b36422973aad17445ad5e436064f7337d47.tar.gz gdb-bc3c6b36422973aad17445ad5e436064f7337d47.tar.bz2 |
Add g10 support to rl78-tdep.c.
The g10 is an rl78 variant which has fewer registers. Aside from the
obvious addition of a new register_name() function which omits
registers which the g10 lacks, this change also updates the
return_value() function with the conventions specified by the ABI for
finding and setting return values.
* rl78-tdep.c (rl78_g10_register_name): New function.
(rl78_return_value): Add g10 support.
(rl78_gdbarch_init): Register rl78_g10_register_name for the
g10.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions