RFC: Annotate immediates in x86 disassembly
Jan reports a testsuite failure due to a missing global variable when running with RUNTESTFLAGS=x86-64.
Jan Beulich reports a failure in the binutils testsuite when running the ‘annotate immediates in x86 disassembly’ patch with RUNTESTFLAGS=x86-64. The test fails due to a missing global variable “exe”. He notes that he doesn’t know how to address this issue.
- reviewer
Reports a testsuite failure due to a missing global variable when running with RUNTESTFLAGS=x86-64.
“For me the use of the global "exe" in test_objdump_M_annotate is a problem when running the testsuite with RUNTESTFLAGS=x86-64: ERROR: can't read "exe": no such variable”
In Details
This is a response to a patch series that adds annotations to immediates (constants) in x86 disassembly. The goal is to improve the readability of disassembled code by providing additional context for these values, such as symbol names or calculated offsets. The problem lies in tcl testsuite code.
For Context
When disassembling machine code, immediate values (constants) are often displayed as raw numbers. This patch series enhances the disassembly output by annotating these immediate values with additional information, such as the symbols they represent or their calculated offsets, which makes the disassembled code easier to understand. The problem lies in tcl testsuite code.