aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-07-22 13:03:37 +0200
committerJan Beulich <jbeulich@suse.com>2021-07-22 13:03:37 +0200
commit5f6b8397a40ca30460464e115c6aed8b7b6679f8 (patch)
treef1497cbea0a4cd94d1b672cb15a0157b63a8e4b1 /gdb/tracepoint.c
parentbac11f2cfe7913ef4c37af608454451e27f78eff (diff)
downloadbinutils-5f6b8397a40ca30460464e115c6aed8b7b6679f8.zip
binutils-5f6b8397a40ca30460464e115c6aed8b7b6679f8.tar.gz
binutils-5f6b8397a40ca30460464e115c6aed8b7b6679f8.tar.bz2
x86: fold duplicate register printing code
What so far was OP_E_register() can be easily reused also for OP_G(). Add suitable parameters to the function and move the invocation of swap_operand() to OP_E(). Adjust MOVSXD's first operand: There never was a need to use movsxd_mode there, and its use gets in the way of the code folding.
Diffstat (limited to 'gdb/tracepoint.c')
0 files changed, 0 insertions, 0 deletions