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: gcore command on 6.3 seems to generate smaller core than it should


On Tue, Sep 13, 2005 at 06:26:33AM -0700, Chris Markle wrote:
>   LOAD           0x016730 0x08048000 0x00000000 0x00000 0x0e000 R E 0x1
>   LOAD           0x024730 0x08056000 0x00000000 0x02000 0x02000 RWE 0x1
>   LOAD           0x026730 0x08058000 0x00000000 0xc4f000 0xc4f000 RWE 0x1

You've got the first three mappings here; 

> Here's a pmap of the process at the same time:
> 
> 31810:   [...]/java -server [...] -Xms1536m -Xmx1536m [...]
> 08056000      8K rwx--  /usr/local/sendmail/mm-2.1/jre15/bin/java
> 08058000  12604K rwx--    [ anon ]
> 44e00000  16384K rw-s-  /var/sendmail/mm/counters/countdb.data

it got to this one and stopped.

This is probably:

2005-05-23  Michael Snyder  <msnyder@redhat.com>

        From Nora Pan <qpan@mvista.com>
        * linux-nat.c (read_mapping): Don't stumble over entries in
        mapping that have name but zero inode.

Could you try a gdb CVS snapshot (6.3.50.*)?  If that doesn't work,
please post /proc/<pid>/maps.


-- 
Daniel Jacobowitz
CodeSourcery, LLC


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