This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gcore command on 6.3 seems to generate smaller core than it should
- From: Daniel Jacobowitz <drow at false dot org>
- To: Chris Markle <cmarkle at sendmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 12 Sep 2005 23:55:07 -0400
- Subject: Re: gcore command on 6.3 seems to generate smaller core than it should
- References: <43264CB0.9090206@sendmail.com>
On Mon, Sep 12, 2005 at 08:51:12PM -0700, Chris Markle wrote:
> Folks,
>
> Using GNU gdb 6.3 on 2.6.12.5 kernel (uname -a: Linux xxx.com 2.6.12.5
> #1 SMP Wed Aug 31 23:52:18 PDT 2005 i686 pentium4 i386 GNU/Linux), when
> I generate a core file of a Java process that is 1.9gb I get a 13mb (!)
> core file. Many addresses in that core are not accessible. There is no
> complaining from gcore about not enough space or other issues when I
> issue it, and ulimit show core blocks as unlimited. When I tried it on
> 2.6.something-else with GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh) I
> get a full very large core file.
What kind of mappings are missed? What doesn't show up in the core
file?
--
Daniel Jacobowitz
CodeSourcery, LLC