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 c++/12679] New: gdb does show user code when no libc available


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

           Summary: gdb does show user code when no libc available
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: minor
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: rjgebis@hotmail.com


I just installed from source 7.2 gdb release on CentOS 5.6.
After loading core file switching between threads when I do list to show source
I get source from last list where user code was available.

For example I am on thread 5 and do "where"
it shows stack with libc on top of the stack. If I do up few times until I get
to frame where user code executed, I do "list" and see my code.

Now I switch to some other thread and right away I issue "list", if libc is at
top of the stack 
list shows wrong source from user stack (looks like last "list" from different
thread - user code)
instead of printing "No source available" until i go up the stack to user code.

-- 
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]