diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-07-22 13:03:37 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-07-22 13:03:37 +0200 |
commit | 5f6b8397a40ca30460464e115c6aed8b7b6679f8 (patch) | |
tree | f1497cbea0a4cd94d1b672cb15a0157b63a8e4b1 /gdb/source.h | |
parent | bac11f2cfe7913ef4c37af608454451e27f78eff (diff) | |
download | gdb-5f6b8397a40ca30460464e115c6aed8b7b6679f8.zip gdb-5f6b8397a40ca30460464e115c6aed8b7b6679f8.tar.gz gdb-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/source.h')
0 files changed, 0 insertions, 0 deletions