aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-03-01 09:25:59 +0100
committerJan Beulich <jbeulich@suse.com>2024-03-01 09:25:59 +0100
commitfabb73d1bb833f7da40971757b51635cda9274e8 (patch)
treeb7c7907e4d608bddc003e8fe289d5fe7002e7534 /libctf
parent77b07380deafa490b4c2da3c4d1661060b5319c9 (diff)
downloadgdb-fabb73d1bb833f7da40971757b51635cda9274e8.zip
gdb-fabb73d1bb833f7da40971757b51635cda9274e8.tar.gz
gdb-fabb73d1bb833f7da40971757b51635cda9274e8.tar.bz2
x86: adjust which Dwarf2 register numbers to use
Consumers can't know which execution mode is in effect for a certain piece of code; they can only go from object file properties. Hence which register numbers to encode ought to depend solely on object file type. In tc_x86_frame_initial_instructions() do away with parsing a register name: We have a symbolic constant already for the 64-bit case, and the 32-bit number isn't going to change either. Said constant's definition needs moving, though, to be available also for non-ELF. While moving also adjust the comment to clarify that it's applicable to 64-bit mode only.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions