public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* psymtab vs symtab bug?
@ 2015-02-18 16:24 Hariharan Sandanagobalane
  0 siblings, 0 replies; only message in thread
From: Hariharan Sandanagobalane @ 2015-02-18 16:24 UTC (permalink / raw)
  To: gdb

Hello all,
I noticed a problem with a private port of cross gdb 7.6. I have
loaded a core-dump on the platform and connected it to gdb. The
backtrace is displayed okay, but when i do

"info locals"

I get

"No symbol table info available"

If i print a global in the file

print global_a

it prints the global okay. If i then execute "info locals", all the
locals in the top function in stack get printed okay.

I tried to debug this issue and it looks like it may be an issue with
partial symbol table loaded initially. The printing of global reads in
more symbols, and the second "info locals" works okay.

I tried --readnow option on the gdb command line, but that seems to
only read the symbol table without the dwarf. So, info locals fails
again.

Has anyone seen this before? Is this a known issue, perhaps fixed in
later release?

Any pointers on this will be much appreciated.

Thanks
Hari

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-18 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 16:24 psymtab vs symtab bug? Hariharan Sandanagobalane

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