diff options
author | Tom de Vries <tdevries@suse.de> | 2023-01-23 08:59:20 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-01-23 08:59:20 +0100 |
commit | bc0c6793fb45b491c6324614298a2880a34d3966 (patch) | |
tree | 718ab96be57e0242b01436e6caaee82aeae506c7 | |
parent | 7e538762c2c1f2e5c4be31b9ec7d99cc4fbabf7f (diff) | |
download | gdb-bc0c6793fb45b491c6324614298a2880a34d3966.zip gdb-bc0c6793fb45b491c6324614298a2880a34d3966.tar.gz gdb-bc0c6793fb45b491c6324614298a2880a34d3966.tar.bz2 |
[gdb/testsuite] Fix untested in gdb.base/frame-view.exp
When running test-case gdb.base/frame-view.exp, I see:
...
gdb compile failed, ld: frame-view0.o: in function `main':
frame-view.c:73: undefined reference to `pthread_create'
ld: frame-view.c:76: undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
UNTESTED: gdb.base/frame-view.exp: failed to prepare
...
Fix this by adding pthreads to the compilation flags.
Tested on x86_64-linux.
-rw-r--r-- | gdb/testsuite/gdb.base/frame-view.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/frame-view.exp b/gdb/testsuite/gdb.base/frame-view.exp index edae167..72955bd 100644 --- a/gdb/testsuite/gdb.base/frame-view.exp +++ b/gdb/testsuite/gdb.base/frame-view.exp @@ -18,7 +18,7 @@ standard_testfile if { [build_executable "failed to prepare" \ - ${testfile} ${srcfile}] } { + ${testfile} ${srcfile} {debug pthreads}] } { return } |