aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@space.suse.cz>2023-01-19 14:05:08 +0100
committerTom de Vries <tdevries@suse.de>2023-01-19 14:05:08 +0100
commitea2f6fad7e104fb65da6a438bb0ec753210f1e90 (patch)
tree29204b0b7a80fd50b0eaa916fa45a215ba2b7412 /gdb/remote.c
parenta0d5ef869da20e023e4b75860012c56273f26d92 (diff)
downloadfsf-binutils-gdb-ea2f6fad7e104fb65da6a438bb0ec753210f1e90.zip
fsf-binutils-gdb-ea2f6fad7e104fb65da6a438bb0ec753210f1e90.tar.gz
fsf-binutils-gdb-ea2f6fad7e104fb65da6a438bb0ec753210f1e90.tar.bz2
[gdb/tdep, aarch64] Remove fp and sp reg aliases, add x31 reg alias
In aarch64-tdep.c we find these register aliases: ... { /* 64-bit register names. */ {"fp", AARCH64_FP_REGNUM}, {"lr", AARCH64_LR_REGNUM}, {"sp", AARCH64_SP_REGNUM}, ... The sp alias is superfluous, because the canonical name of x31 is already sp. The fp alias is superfluous, because it's already taken by the default meaning of fp, assigned here in _initialize_frame_reg: ... user_reg_add_builtin ("fp", value_of_builtin_frame_fp_reg, NULL); ... Fix this by removing the fp and sp aliases. While we're at it, add an x31 alias for sp. Approved-By: Luis Machado <luis.machado@arm.com> Tested on aarch64-linux. PR tdep/30012 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30012
Diffstat (limited to 'gdb/remote.c')
0 files changed, 0 insertions, 0 deletions