aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache-dump.c
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2023-10-30 15:57:58 +0100
committerJose E. Marchesi <jose.marchesi@oracle.com>2023-10-30 15:57:58 +0100
commitd3beaa140dd22316371f3ebb2570a215c800a46d (patch)
treea41ea8d18d933e2e455739cad1b32e639715e64e /gdb/regcache-dump.c
parenta23cf0c2ece4812232cf9434bdc77fbb70ae3f6b (diff)
downloadgdb-d3beaa140dd22316371f3ebb2570a215c800a46d.zip
gdb-d3beaa140dd22316371f3ebb2570a215c800a46d.tar.gz
gdb-d3beaa140dd22316371f3ebb2570a215c800a46d.tar.bz2
gas: bpf: new test for MOV with C-like numbers ll suffix
The BPF pseudo-c syntax supports both MOV and LDDW instructions: mov: r1 = EXPR lddw: r1 = EXPR ll Note that the white space between EXPR and `ll' is necessary in order to avoid ambiguity with the assembler's support for C-like numerical suffixes. This patch adds a new test to the GAS BPF testsuite to make sure that instructions like: r1 = 666ll are interpreted as `mov %r1,666', not as `lddw %r1,666'. This matches clang's assembler behavior. 2023-10-30 Jose E. Marchesi <jose.marchesi@oracle.com> * testsuite/gas/bpf/alu-pseudoc.s: Add test to make sure C-like suffix `ll' is not interpreted as lddw syntax. * testsuite/gas/bpf/alu-pseudoc.d: Update expected results. * testsuite/gas/bpf/alu-be-pseudoc.d: Likewise.
Diffstat (limited to 'gdb/regcache-dump.c')
0 files changed, 0 insertions, 0 deletions