diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-04-17 14:09:49 +0200 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-04-17 14:09:49 +0200 |
commit | 7ce16bd4c4d5e6f6a48ca7fcf532720fec0406bf (patch) | |
tree | 363fbc82309818891ffcec900bc9165648f9b1f8 /bfd | |
parent | 2ed3c037cf8aac5f6dbee5b6c2a1239550a04202 (diff) | |
download | gdb-7ce16bd4c4d5e6f6a48ca7fcf532720fec0406bf.zip gdb-7ce16bd4c4d5e6f6a48ca7fcf532720fec0406bf.tar.gz gdb-7ce16bd4c4d5e6f6a48ca7fcf532720fec0406bf.tar.bz2 |
Enable DWARF unwinders for SPU
This patch enables use of DWARF unwinders for the SPU target.
In addition to appending the DWARF unwinders, we also need to install
a spu_dwarf_reg_to_regnum that maps the raw stack pointer register to
the cooked version (to avoid mismatches with gdbarch_sp_regnum).
This also causes confusion with the AX collect handling, so we also
install ax_pseudo_register routines to handle the cooked SP.
gdb/
2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
* spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
(spu_ax_pseudo_register_collect): New function.
(spu_ax_pseudo_register_push_stack): Likewise.
(spu_dwarf_reg_to_regnum): Likewise.
(spu_gdbarch_init): Install them. Append DWARF unwinders.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions