GDB: S12Z: new function s12z_extract_return_value
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 20 Nov 2018 17:50:30 +0000 (18:50 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 20 Nov 2018 17:55:02 +0000 (18:55 +0100)
commitc3247a98cd2bf9dfcf733e6968273cce90850807
tree02896fbafd7960dab824ece94c2733c1f8637b97
parent2fa1b3191e449f1efca31a654920a6bd3a1f4f28
GDB: S12Z: new function s12z_extract_return_value

Make gdb aware of the return values of functions which
return in registers.

gdb/ChangeLog:
* s12z-tdep.c (s12z_extract_return_value): New function.
  (inv_reg_perm) New array.
  (s12z_return_value): Populate readbuf if non-null.
gdb/ChangeLog
gdb/s12z-tdep.c