GDB cannot figure out shared libraries from core, but proc map shows the list

"Ananthakrishna Sowda \(asowda\) via Gdb" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <SJ0PR11MB5917270A24DAB25F98BC7EF1CFA79@SJ0PR11MB5917.namprd11.prod.outlook.com>
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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.