[PATCH v2 2/2] gas: re-work line number tracking for macros and their expansions
Luis Machado
luis.machado@arm.com
Wed Dec 14 14:13:32 GMT 2022
On 12/14/22 14:03, Luis Machado via Binutils wrote:
> Hi,
>
> I'm not yet sure how, but this patch has broken at least one gdb test (gdb.asm/asm-source.exp) for aarch64-linux (Ubuntu 22.04 and 20.04).
>
> Could you please take a look at it? I can do some testing with the aarch64 machines if that's helpful.
>
> FAIL: gdb.asm/asm-source.exp: f at main
> FAIL: gdb.asm/asm-source.exp: n at main
> FAIL: gdb.asm/asm-source.exp: next over macro
> FAIL: gdb.asm/asm-source.exp: list
> FAIL: gdb.asm/asm-source.exp: f in foo2
> FAIL: gdb.asm/asm-source.exp: n in foo2
> FAIL: gdb.asm/asm-source.exp: bt ALL in foo2
> FAIL: gdb.asm/asm-source.exp: bt 2 in foo2
> FAIL: gdb.asm/asm-source.exp: bt 3 in foo3
> FAIL: gdb.asm/asm-source.exp: finish from foo3
> FAIL: gdb.asm/asm-source.exp: info source asmsrc2.s
> FAIL: gdb.asm/asm-source.exp: info line
> FAIL: gdb.asm/asm-source.exp: next over foo3
> FAIL: gdb.asm/asm-source.exp: return from foo2
>
> === gdb Summary ===
>
> # of expected passes 15
> # of unexpected failures 14
>
I'm guessing if we build gas alongside gdb, then the gdb testsuite will use that new gas binary.
If something has changed in the format/structure of the output, we may need to adjust the testcase to match.
More information about the Binutils
mailing list