]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Add g10 support to rl78-tdep.c.
authorKevin Buettner <kevinb@redhat.com>
Mon, 17 Feb 2014 19:03:23 +0000 (12:03 -0700)
committerKevin Buettner <kevinb@redhat.com>
Mon, 17 Feb 2014 19:03:23 +0000 (12:03 -0700)
commitbc3c6b36422973aad17445ad5e436064f7337d47
treeaf396db96a9db4f913500408faed8ce33997ac2e
parent329baa9572b85f84d2914d6d63818a142c46189d
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.
gdb/ChangeLog
gdb/rl78-tdep.c