This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] gdb: xtensa-linux: add call0 support
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sun, 25 Jun 2017 00:36:48 -0400
- Subject: [binutils-gdb] gdb: xtensa-linux: add call0 support
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 0ce4291e3ffd90d2b94e02b4557d716c043bf02e ***
Author: Max Filippov <jcmvbkbc@gmail.com>
Branch: master
Commit: 0ce4291e3ffd90d2b94e02b4557d716c043bf02e
gdb: xtensa-linux: add call0 support
Correctly handle a0- registers. This allows debugging call0 code in
linux natively.
The register structure is the same for windowed and call0 ABIs because
currently linux kernel internally requires windowed registers, so they are
always present.
gdb/
2017-03-27 Max Filippov <jcmvbkbc@gmail.com>
* xtensa-linux-nat.c (fill_gregset): Call regcache_raw_collect
for a single specified register or for all registers in
a0_base..a0_base + C0_NREGS range.
(supply_gregset_reg): Call regcache_raw_supply for a single
specified register or for all registers in a0_base..a0_base +
C0_NREGS range.