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/12104] New: tfind pc function_name will not workvery well


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.


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