lm32 gdb core dumps
Joel Sherrill
joel.sherrill at OARcorp.com
Thu Mar 12 12:27:32 UTC 2009
Hi,
Just wanted to pass this along.
$ lm32-rtems4.10-gdb `find . -name ticker.exe`
GNU gdb (GDB) 6.8.50.20090224
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=lm32-rtems4.10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) tar sim
Connected to the simulator.
(gdb) load
Loading section .boot, size 0x100 lma 0x4000000
Loading section .init, size 0x1c lma 0x8000000
Loading section .text, size 0x2a574 lma 0x800001c
Loading section .fini, size 0x18 lma 0x802a590
Loading section .rodata, size 0x14e8 lma 0x802a5a8
Loading section .data, size 0x648 lma 0x802c000
Loading section .ctors, size 0x8 lma 0x802c648
Loading section .dtors, size 0x8 lma 0x802c650
Loading section .jcr, size 0x4 lma 0x802c658
Start address 0x4000000
Transfer rate: 1445728 bits in <1 sec.
(gdb) r
Starting program:
/home/joel/rtems-4.10-work/build/gcc-testing/rtems/build-lm32-lm32_evr-rtems/lm32-rtems4.10/c/lm32_evr/testsuites/samples/ticker/ticker.exe
core: 4 byte read to unmapped address 0x800001c at 0x800001c
Program received signal SIGSEGV, Segmentation fault.
0x00000080 in ?? ()
(gdb)
More information about the users
mailing list