Re: Insight (probably gdb) crashes on thumb-2 startup assembly code
Keith Seitz <[email protected]>
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <[email protected]> |
Hi, Gene, On 02/25/2011 11:39 PM, Gene Smith wrote: > ../../insight_sources/gdb/regcache.c:182: internal-error: register_size: > Assertion `regnum >= 0 && regnum < (gdbarch_num_regs (gdbarch) + > gdbarch_num_pseudo_regs (gdbarch))' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Quit this debugging session? (y or n) When you are doing this, do you have ANY windows open (esp the register window -- there is some bitrot in there that I have to address)? If you don't have any other windows open (just console & source), then I recommend trying to reproduce with gdb. Run "[arm-*-]insight -nw" and try it again. If the internal error pops up again, it is, as you suspected, a gdb problem. Grab the backtrace from the coredump and either file a bug in gdb's bugzilla or ask on the gdb@ list. Keith