[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Core dump (semi) update
From: |
Alfred M. Szmidt |
Subject: |
Re: Core dump (semi) update |
Date: |
Sun, 7 Mar 2004 18:41:31 +0100 (MET) |
[sorry for the delay, busy with univ.]
I feel really utterly stupid, I was using a old objdump that didn't
have the needed tweak you posted (bfd groking lwpstatus_t.pr_fpreg).
I still do not know what is wrong with gdb not being able to read the
core dump, but here is the output from the objdump in either case. As
you see, objdump now gets the offsets from the file, as it should have
done from the damn start... I haven't checked that the offsets are
correct yet, but I will do that and report back. I also put up this
core dump at http://user.it.uu.se/~alsz8747/core.1.gz if you want to
double check it yourself.
,----[ objdump -x ~ams/core-dump/core ]
| /home/ams/core-dump/core: file format elf32-i386
| /home/ams/core-dump/core
| architecture: i386, flags 0x00000000:
|
| start address 0x00000000
|
| Program Header:
| NOTE off 0x00000214 vaddr 0x00000000 paddr 0x00000000 align 2**0
| filesz 0x00001920 memsz 0x00000000 flags ---
| LOAD off 0x00002000 vaddr 0x00001000 paddr 0x00000000 align 2**12
| filesz 0x00000000 memsz 0x00018000 flags r-x
| LOAD off 0x00002000 vaddr 0x00019000 paddr 0x00000000 align 2**12
| filesz 0x00001000 memsz 0x00001000 flags rw-
| LOAD off 0x00003000 vaddr 0x0001b000 paddr 0x00000000 align 2**12
| filesz 0x01002000 memsz 0x01002000 flags rw-
| LOAD off 0x01005000 vaddr 0x0101e000 paddr 0x00000000 align 2**12
| filesz 0x00001000 memsz 0x00001000 flags rw-
| LOAD off 0x01006000 vaddr 0x01020000 paddr 0x00000000 align 2**12
| filesz 0x00001000 memsz 0x00001000 flags rw-
| LOAD off 0x01007000 vaddr 0x01021000 paddr 0x00000000 align 2**12
| filesz 0x00000000 memsz 0x00180000 flags r-x
| LOAD off 0x01007000 vaddr 0x011a1000 paddr 0x00000000 align 2**12
| filesz 0x0000c000 memsz 0x0000c000 flags rw-
| LOAD off 0x01013000 vaddr 0x011ad000 paddr 0x00000000 align 2**12
| filesz 0x00000000 memsz 0x00012000 flags r-x
| LOAD off 0x01013000 vaddr 0x011bf000 paddr 0x00000000 align 2**12
| filesz 0x00001000 memsz 0x00001000 flags rw-
| LOAD off 0x01014000 vaddr 0x011c0000 paddr 0x00000000 align 2**12
| filesz 0x00000000 memsz 0x00021000 flags r-x
| LOAD off 0x01014000 vaddr 0x011e1000 paddr 0x00000000 align 2**12
| filesz 0x00004000 memsz 0x00004000 flags rw-
| LOAD off 0x01018000 vaddr 0x011e6000 paddr 0x00000000 align 2**12
| filesz 0x00008000 memsz 0x00008000 flags rw-
| LOAD off 0x01020000 vaddr 0x08048000 paddr 0x00000000 align 2**12
| filesz 0x00000000 memsz 0x00001000 flags r-x
| LOAD off 0x01020000 vaddr 0x08049000 paddr 0x00000000 align 2**12
| filesz 0x00001000 memsz 0x00001000 flags rw-
|
| Sections:
| Idx Name Size VMA LMA File off Algn
| 0 note0 00001920 00000000 00000000 00000214 2**0
| CONTENTS, READONLY
| 1 .reg/23182 0000004c 00000000 00000000 00001778 2**2
| CONTENTS
| 2 .reg 0000004c 00000000 00000000 00001778 2**2
| CONTENTS
| 3 .reg2/23182 0000017c 00000000 00000000 000017c4 2**2
| CONTENTS
| 4 .reg2 0000017c 00000000 00000000 000017c4 2**2
| CONTENTS
| 5 .reg/88718 0000004c 00000000 00000000 0000196c 2**2
| CONTENTS
| 6 .reg2/88718 0000017c 00000000 00000000 000019b8 2**2
| CONTENTS
| 7 load1 00000000 00001000 00000000 00002000 2**12
| CONTENTS, ALLOC, LOAD, READONLY, CODE
| 8 load2 00001000 00019000 00000000 00002000 2**12
| CONTENTS, ALLOC, LOAD
| 9 load3 01002000 0001b000 00000000 00003000 2**12
| CONTENTS, ALLOC, LOAD
| 10 load4 00001000 0101e000 00000000 01005000 2**12
| CONTENTS, ALLOC, LOAD
| 11 load5 00001000 01020000 00000000 01006000 2**12
| CONTENTS, ALLOC, LOAD
| 12 load6 00000000 01021000 00000000 01007000 2**12
| CONTENTS, ALLOC, LOAD, READONLY, CODE
| 13 load7 0000c000 011a1000 00000000 01007000 2**12
| CONTENTS, ALLOC, LOAD
| 14 load8 00000000 011ad000 00000000 01013000 2**12
| CONTENTS, ALLOC, LOAD, READONLY, CODE
| 15 load9 00001000 011bf000 00000000 01013000 2**12
| CONTENTS, ALLOC, LOAD
| 16 load10 00000000 011c0000 00000000 01014000 2**12
| CONTENTS, ALLOC, LOAD, READONLY, CODE
| 17 load11 00004000 011e1000 00000000 01014000 2**12
| CONTENTS, ALLOC, LOAD
| 18 load12 00008000 011e6000 00000000 01018000 2**12
| CONTENTS, ALLOC, LOAD
| 19 load13 00000000 08048000 00000000 01020000 2**12
| CONTENTS, ALLOC, LOAD, READONLY, CODE
| 20 load14 00001000 08049000 00000000 01020000 2**12
| CONTENTS, ALLOC, LOAD
| SYMBOL TABLE:
| no symbols
|
`----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Core dump (semi) update,
Alfred M. Szmidt <=