public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug corefiles/12679] gdb does show user code when no libc available
  2011-04-15 17:40 [Bug c++/12679] New: gdb does show user code when no libc available rjgebis at hotmail dot com
@ 2011-04-15 17:40 ` rjgebis at hotmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: rjgebis at hotmail dot com @ 2011-04-15 17:40 UTC (permalink / raw)
  To: gdb-prs

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

rjgebis at hotmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |corefiles

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/12679] New: gdb does show user code when no libc available
@ 2011-04-15 17:40 rjgebis at hotmail dot com
  2011-04-15 17:40 ` [Bug corefiles/12679] " rjgebis at hotmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: rjgebis at hotmail dot com @ 2011-04-15 17:40 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-15 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-15 17:40 [Bug c++/12679] New: gdb does show user code when no libc available rjgebis at hotmail dot com
2011-04-15 17:40 ` [Bug corefiles/12679] " rjgebis at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).