This is the mail archive of the gdb@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]

Re: How can I get a memory map out of a core file?


> From: Michael Snyder <msnyder@specifix.com>
> Cc: gdb@sourceware.org
> Date: Fri, 06 Jun 2008 14:54:19 -0700
> 
> On Fri, 2008-06-06 at 13:45 -0700, Bruce Korb wrote:
> > Hi,
> > 
> > "jmap" looked really nice, but that is Solaris only.
> > "pmap" is almost what I want, but there's no /proc/pid directory
> > for my core dump any more.
> > If there is some GDB command I can use, I haven't found it.
> > I haven't seen any obvious way to emulate it either.
> > Surely someone, somewhere has solved this problem.
> > Anyone know where the solution is hiding?  :)
> > Thank you.  Regards - Bruce
> 
> Try "help info proc mappings".  It may be the closest we've got
> to what you want.

How can this help in a core file?  The process is already dead, so
it's not in /proc, right?  Or am I missing something?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]