public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* GDB cannot figure out shared libraries from core, but proc map shows the list
@ 2022-06-09 22:11 Ananthakrishna Sowda (asowda)
  0 siblings, 0 replies; only message in thread
From: Ananthakrishna Sowda (asowda) @ 2022-06-09 22:11 UTC (permalink / raw)
  To: gdb

I don’t understand the combination of these two outcomes I see in same GDB session on a non-native core-file.
(gdb) info shared
No shared libraries loaded at this time.

(gdb)info proc map
This command prints a complete list of shared libraries loaded with name and address-map.

GDB could not figure out link map information as seen by ‘No shared libraries loaded at this time’ message,  but it is able to print process mapping information.
Does it make sense to use the method used in “info proc map” as fallback if link map information cannot be processed by GDB?


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

only message in thread, other threads:[~2022-06-09 22:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09 22:11 GDB cannot figure out shared libraries from core, but proc map shows the list Ananthakrishna Sowda (asowda)

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