This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 00/16] branch tracing support (resend)
- From: Pedro Alves <palves at redhat dot com>
- To: markus dot t dot metzger at intel dot com
- Cc: kettenis at gnu dot org, gdb-patches at sourceware dot org, markus dot t dot metzger at gmail dot com
- Date: Fri, 25 May 2012 20:18:00 +0100
- Subject: Re: [PATCH 00/16] branch tracing support (resend)
- References: <1337772151-20265-1-git-send-email-markus.t.metzger@intel.com>
Hi, I've just tried out this series applied on current mainline, and I get:
>./gdb ./gdb
...
(gdb) start
Temporary breakpoint 1 at 0x456a03: file ../../src/gdb/gdb.c, line 29.
Starting program: /home/pedro/gdb/mygit/build/gdb/gdb
warning: Skipping deprecated .gdb_index section in /usr/lib/debug/lib64/ld-2.14.90.so.debug, pass --use-deprecated-index-sections to use them anyway
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Temporary breakpoint 1, main (argc=1, argv=0x7fffffffdd78) at ../../src/gdb/gdb.c:29
29 memset (&args, 0, sizeof args);
(gdb) btrace enable auto
(gdb) btrace enable all
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
0x0000000000456a0e in main (argc=1, argv=0x7fffffffdd78) at ../../src/gdb/gdb.c:29
29 memset (&args, 0, sizeof args);
(gdb)
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)
Any idea off hand what this would be?
This in on x86_64 Fedora 16, Linux 3.3.5-2.fc16.x86_64.
Running the new tests with
$ make check RUNTESTFLAGS="--directory=gdb.btrace"
Results in
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../../src/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running ../../../src/gdb/testsuite/gdb.btrace/allthreads_trace.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/decrement.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/disable_all.exp ...
NOTE: This is 64 bit host.
Running ../../../src/gdb/testsuite/gdb.btrace/enable.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/enable_all.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/enable_range.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/list.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/list_function.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/list_options.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/main_asm.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/main_segv.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/sanity_crash.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/threads_auto.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/threads_independent.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/threads_nonstop.exp ...
Running ../../../src/gdb/testsuite/gdb.btrace/trace_iteration.exp ...
=== gdb Summary ===
# of untested testcases 6
# of unsupported tests 7
The log file has a bunch of:
Assembler messages:
Fatal error: can't create /home/pedro/gdb/mygit/build/gdb/testsuite/gdb.btrace/threads_asm.o: No such file or directory
compiler exited with status 1
output is:
Assembler messages:
Fatal error: can't create /home/pedro/gdb/mygit/build/gdb/testsuite/gdb.btrace/threads_asm.o: No such file or directory
I build gdb with srcdir != builddir.
--
Pedro Alves