This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: missing text segment in Elf dump
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Lucy Zhang <lucyz at uclink4 dot berkeley dot edu>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 15 Aug 2002 14:08:24 -0400
- Subject: Re: missing text segment in Elf dump
- References: <001901c24487$03088940$9a0a0109@zhangl>
On Thu, Aug 15, 2002 at 11:10:12AM -0700, Lucy Zhang wrote:
> Hi,
>
> When GDB is debugging an ELF core dump, what is it use for the text segment.
> I realized in the Elf core that I've created from another dump file, that
> the text segment is cut off because the size is too big. The actual text
> segment spans 0x8048000 - 0x98cc4e0, but I only included the first 8MB of
> the area in the ELF dump. So I'm wondering what affects will this have on
> GDB? what kind of information will be missing due to the incomplete text
> segment?
Most ELF core dumps don't even include the text segment. GDB gets it
from the application instead, and only writeable segments are in the
core file...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer