[PATCH] [gdb/testsuite] Skip stabs board in make-check-all.sh

Tom de Vries tdevries@suse.de
Sat Jan 4 08:42:57 GMT 2025


On 12/20/24 07:07, Tom de Vries wrote:
> I ran make-check-all.sh with gdb.linespec/explicit.exp, and the only problems
> were found with target board stabs.
> 
> With target board unix the test-case runs in two seconds, but with target
> board stabs it takes 12 seconds due to a timeout.
> 
> Stabs support in gdb has been unmaintained for a while, and there's an ongoing
> discussion to deprecate and remove it (PR symtab/31210).
> 
> I seems unnecessary to excercise this unmaintained feature in
> make-check-all.sh, so drop it.
> 

I've pushed this.

Thanks,
- Tom

> Tested on x86_64-linux.
> 
> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31210
> ---
>   gdb/testsuite/make-check-all.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gdb/testsuite/make-check-all.sh b/gdb/testsuite/make-check-all.sh
> index 0f529ffe791..28a89b6b15b 100755
> --- a/gdb/testsuite/make-check-all.sh
> +++ b/gdb/testsuite/make-check-all.sh
> @@ -80,7 +80,7 @@ target_boards=(
>       gold
>       gold-gdb-index
>       readnow
> -    stabs
> +    # Skip the stabs board, Stabs support in gdb is unmaintained.
>   )
>   
>   # Like target_boards, but not actual files in gdb/testsuite/boards.
> 
> base-commit: 45b4f0499cbea2ed0efb2e1e2719617a3734a9ab



More information about the Gdb-patches mailing list