This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/14845] Segmentation fault on "info tracepoints"


http://sourceware.org/bugzilla/show_bug.cgi?id=14845

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qiyao at gcc dot gnu.org

--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> 2012-11-15 14:39:36 UTC ---
I don't see segfault on GDB 7.5 and head as below.  GDB is configured as
'i686-pc-linux-gnu'.

$ ./run-test.sh
make: Nothing to be done for `all'.
Process ./bar created; pid = 26552
Listening on port 7777
Python Exception <type 'exceptions.ImportError'> No module named gdb: 

warning: Could not load the Python gdb module from
`/usr/local/share/gdb/python'.

warning: Limited Python support is available from the _gdb module.
Remote debugging from host 127.0.0.1
0x4ce4c2b0 in _start () from /lib/ld-linux.so.2
Breakpoint 1 at 0x8048662: file bar.c, line 35.
Loading libfoo.so

Breakpoint 1, main () at bar.c:35
35          printf("\t%i\n", foo_ptr());
Tracepoint 2 at 0xb7ffb416: file foo.c, line 5.
Breakpoint 3 at 0x804867f: file bar.c, line 37.
        1
Unloading libfoo.so
warning: Temporarily disabling breakpoints for unloaded shared library
"./libfoo.so"

Breakpoint 3, main () at bar.c:37
37          return EXIT_SUCCESS;
Found trace frame 0, tracepoint 2
No trace frame found
Num     Type           Disp Enb Address    What
2       tracepoint     keep y   <PENDING>  foo
Killing all inferiors

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]