Re: gdb call bug (Re: xtensa-lx106-elf-gdb question/bug ?)
Posted: Tue May 26, 2015 10:38 pm
cal wrote:when executing "call" an assertion failed:Code: Select all(gdb) call xthal_get_ccount ()
.../esp-open-sdk/crosstool-NG/.build/src/gdb-7.5.1/gdb/regcache.c:602: internal-error: regcache_raw_read: Assertion `regnum >= 0 && regnum < regcache->descr->nr_raw_registers' failed.
Main reason for this is that call_abi seems not to be set to Call0Abi.
Yes, am also getting similar assertion failure in mere bt. Will look at it.
I've published binutils-gdb-xtensa repository here: https://github.com/jcmvbkbc/binutils-gdb-xtensa
Please report binutils and gdb issues there, it seems a bit easier to track than forum posts.