gdb - Cross-compiled gnu for m68k, on opening core dump file gives, no core file handler recognizes the format error -
cross compiled gdb, configure --target=m68k-linux --program-prefix=m68k- , gives error no core file handler recognizes format.
details: core file generated on m68k devcie , log analyzed on i686-pc-linux-gnu gdb version - 7.6
any clue on subject?
elf format of core file elf -a core
elf header:
magic: 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00
class: elf32
data: 2's complement, big endian
version: 1 (current)
os/abi: unix - system v
abi version: 0
type: core (core file)
machine: mc68000
version: 0x1
entry point address: 0x0
start of program headers: 52 (bytes file)
start of section headers: 0 (bytes file)
flags: 0x0
size of header: 52 (bytes)
size of program headers: 32 (bytes)
number of program headers: 10
size of section headers: 0 (bytes)
number of section headers: 0
section header string table index: 0
there no sections in file.
there no section groups in file.
program headers:
type offset virtaddr physaddr filesiz memsiz flg align note 0x000174 0x00000000 0x00000000 0x00570 0x00000 0 load 0x002000 0x40000000 0x00000000 0x00000 0x16000 r e 0x2000 load 0x002000 0x40016000 0x00000000 0x04000 0x04000 rw 0x2000 load 0x006000 0x4001a000 0x00000000 0x132000 0x132000 r e 0x2000 load 0x138000 0x4014c000 0x00000000 0x08000 0x08000 rw 0x2000 load 0x140000 0x40154000 0x00000000 0x02000 0x02000 rw 0x2000 load 0x142000 0x80000000 0x00000000 0x00000 0x02000 r e 0x2000 load 0x142000 0x80002000 0x00000000 0x02000 0x02000 rw 0x2000 load 0x144000 0x80004000 0x00000000 0x02000 0x02000 rwe 0x2000 load 0x146000 0xbfffe000 0x00000000 0x02000 0x02000 rwe 0x2000
there no dynamic segment in file.
there no relocations in file.
there no unwind sections in file.
no version information found in file.
notes @ offset 0x00000174 length 0x00000570:
owner data size description core 0x0000009a nt_prstatus (prstatus structure) core 0x0000007c nt_prpsinfo (prpsinfo structure) core 0x00000310 nt_taskstruct (task structure) core 0x00000078 nt_auxv (auxiliary vector) core 0x0000006c nt_fpregset (floating point registers)
p.s older gdb version 6.3 error - gdb can't read core files on machine.
Comments
Post a Comment