Linux PARISC architecture development
 help / color / mirror / Atom feed
From: David Huggins-Daines <dhd@linuxcare.com>
To: parisc-linux@thepuffingroup.com
Subject: [parisc-linux] (user land) Core dumping, across the universe
Date: 28 Sep 2000 12:24:33 -0400	[thread overview]
Message-ID: <87u2b0pjr2.fsf@ottawa.linuxcare.com> (raw)

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.

                 reply	other threads:[~2000-09-28 16:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87u2b0pjr2.fsf@ottawa.linuxcare.com \
    --to=dhd@linuxcare.com \
    --cc=parisc-linux@thepuffingroup.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox