All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] (user land) Core dumping, across the universe
@ 2000-09-28 16:24 David Huggins-Daines
  0 siblings, 0 replies; only message in thread
From: David Huggins-Daines @ 2000-09-28 16:24 UTC (permalink / raw)
  To: parisc-linux

Hi,

Well the good news is that dumping core Just Works, so we're at least
part of the way towards having Emacs running ;-)

The bad news is that the core dumps are rather funny looking.

My very simple (dereference a bad pointer) test program produces the
following dump:

avalanche:~# ls -l core
-rw-------    1 root     root     268500992 Sep 28 12:21 core
avalanche:~# objdump -x core

core:     file format elf32-hppa
core
architecture: hppa1.0, flags 0x00000000:

start address 0x00000000

Program Header:
    NOTE off    0x00000174 vaddr 0x00000000 paddr 0x00000000 align 2**0
         filesz 0x00000714 memsz 0x00000000 flags ---
    LOAD off    0x00001000 vaddr 0x00001000 paddr 0x00000000 align 2**12
         filesz 0x00000000 memsz 0x00001000 flags r-x
    LOAD off    0x00001000 vaddr 0x00002000 paddr 0x00000000 align 2**12
         filesz 0x00001000 memsz 0x00001000 flags rwx
    LOAD off    0x00002000 vaddr 0x20000000 paddr 0x00000000 align 2**12
         filesz 0x10000000 memsz 0x10000000 flags rwx
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Wow, look at the size of that stack segment!  We *really* need to have
this be dynamically growable instead of just mapping a whole gigabyte
in the middle of process space.

-- 
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-28 16:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-28 16:24 [parisc-linux] (user land) Core dumping, across the universe David Huggins-Daines

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.