[Bug breakpoints/12104] New: tfind pc function_name will not work very well
teawater at gmail dot com
sourceware-bugzilla@sourceware.org
Fri Oct 8 22:58:00 GMT 2010
http://sourceware.org/bugzilla/show_bug.cgi?id=12104
Summary: tfind pc function_name will not work very well
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: teawater@gmail.com
info tracepoints
Num Type Disp Enb Address What
1 tracepoint keep y 0xffffffff81138424 in sys_read at
/home/teawater/kernel/linux-2.6/fs/read_write.c:392
collect $reg
2 tracepoint keep y 0xffffffff81137a6b in vfs_write at
/home/teawater/kernel/linux-2.6/fs/read_write.c:352
collect $reg
tfind pc 0xffffffff81138424
Found trace frame 114, tracepoint 1
392 {
(gdb) tfind pc sys_read
Sending packet: $QTFrame:pc:ffffffff81138410#a1...Ack
Packet received: F-1
Target failed to find requested trace frame.
This because when set the tracepoint, it skip prologue. But "tfind pc" didn't.
--
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.
More information about the Gdb-prs
mailing list