This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Insight assertions (arm-elf)


Hi,
I have succesfully build Insight-20030210 with the patch and fix posted
here the last days.
However when I run the debugger i get an assertion in frame.c (see log
below).
I'm running against an ARM Integrator board with RedBoot installed
Is this a known problem? Any workaround available?


$ arm-elf-insight.exe -nw
GNU gdb 20030210
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf".
(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
/src/gdb/insight+dejagnu-20030210/gdb/frame.c:1439: internal-error: deprecated_update_frame_pc_hack:
 Assertion `frame->next != NULL' failed.
A problem internal to GDB has been detected.  Further
debugging may prove unreliable.
Quit this debugging session? (y or n) n
Create a core file of GDB? (y or n) n
0x24008498 in ?? ()
(gdb) load /ecos-d/arm/ecos/Testapp/hello
Loading section .rom_vectors, size 0x40 lma 0x40000
Loading section .text, size 0x78f0 lma 0x40040
Loading section .rodata, size 0x2dc lma 0x47930
Loading section .data, size 0x32c lma 0x47c0c
Start address 0x40040, load size 32568
Transfer rate: 26054 bits/sec, 298 bytes/write.
(gdb)

According to the Insight people this is not an Insight problem but rather a gdb problem.

Best regards
Lars-Henrik

____________________________

Lars-Henrik Ivarsson
Software Engineer
Mecel AB

Phone:   +46 31 720 44 38
Mobile:   +46 70 431 32 38
Fax:   +46 31 720 44 90

E-mail:   lars-henrik.ivarsson@mecel.se
Web:   www.mecel.se
____________________________




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]