diff options
| author | Yao Qi <yao.qi@linaro.org> | 2015-07-09 12:47:06 +0100 |
|---|---|---|
| committer | Yao Qi <yao.qi@linaro.org> | 2015-07-09 12:48:09 +0100 |
| commit | c2d65f389a2f213d74bd78df6a75dca6eedb3bae (patch) | |
| tree | 052873497a56ed909bcbc3a288b3a35bcbbd8ea9 /gdb/aarch64-linux-nat.c | |
| parent | 37fdfe4c0083c2a6c8558c76e2bc4fbc77df7d91 (diff) | |
| download | gdb-c2d65f389a2f213d74bd78df6a75dca6eedb3bae.zip gdb-c2d65f389a2f213d74bd78df6a75dca6eedb3bae.tar.gz gdb-c2d65f389a2f213d74bd78df6a75dca6eedb3bae.tar.bz2 | |
[gdbserver, aarch64] Set usrregs to NULL in regs_info
Hi,
I happen to read the comments in regs_info below,
struct regs_info
{
...
/* Info used when accessing registers with PTRACE_PEEKUSER /
PTRACE_POKEUSER. This can be NULL if all registers are
transferred with regsets .*/
struct usrregs_info *usrregs;
that usrregs can be NULL if all registers are transferred with
regsets, which is exactly what aarch64-linux does. This patch
is to set usrregs to NULL in regs_info and remove
aarch64_usrregs_info and aarch64_regmap.
gdb/gdbserver:
2015-07-09 Yao Qi <yao.qi@linaro.org>
* linux-aarch64-low.c (aarch64_regmap): Remove.
(aarch64_usrregs_info): Remove.
(regs_info): Set field usrregs to NULL.
Diffstat (limited to 'gdb/aarch64-linux-nat.c')
0 files changed, 0 insertions, 0 deletions
