diff options
author | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2023-04-04 02:06:34 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2023-04-05 19:56:09 +0000 |
commit | bcd5ead36a141e78dad5baf48a2acf962f83b3fb (patch) | |
tree | 2ca9f31f29c8c5e3b905d1bd81b792dafa418190 | |
parent | 03e323abf479e9ee3ebd38c4077a8da7fa1efe0c (diff) | |
download | gdb-bcd5ead36a141e78dad5baf48a2acf962f83b3fb.zip gdb-bcd5ead36a141e78dad5baf48a2acf962f83b3fb.tar.gz gdb-bcd5ead36a141e78dad5baf48a2acf962f83b3fb.tar.bz2 |
gdb/testsuite: Default to assembler's preferred debug format in asm-source.exp
The stabs debug format is obsolete and there's no reason to think that
toolchains still have good support for it. Therefore, if a specific debug
format wasn't set in asm-source.exp then leave it to the assembler to
decide which one to use.
Reviewed-By: Tom Tromey <tom@tromey.com>
-rw-r--r-- | gdb/testsuite/gdb.asm/asm-source.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp index 41bb3d1..af852b7 100644 --- a/gdb/testsuite/gdb.asm/asm-source.exp +++ b/gdb/testsuite/gdb.asm/asm-source.exp @@ -212,7 +212,7 @@ if { [string equal ${asm-flags} ""] } { } if { [string equal ${debug-flags} ""] } { - set debug-flags "-gstabs" + set debug-flags "-g" } # Allow the target board to override the debug flags. |