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>
This commit is contained in:
Thiago Jung Bauermann 2023-04-04 02:06:34 +00:00
parent 03e323abf4
commit bcd5ead36a

View File

@ -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.