This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
assertion failure in regcache.c
- From: "Kris Warkentin" <kewarken at qnx dot com>
- To: "Gdb at Sources dot Redhat dot Com" <gdb at sources dot redhat dot com>
- Cc: "Andrew Cagney" <ac131313 at redhat dot com>
- Date: Wed, 21 May 2003 13:52:13 -0400
- Subject: assertion failure in regcache.c
I just did an update and now I'm getting an assertion failure with my sh4
port.
gdb/regcache.c:241: internal-error: init_regcache_descr: Assertion
`descr->register_offset[i] == REGISTER_BYTE (i)' failed.
My code worked in the past few weeks so it looks like this is something
recent. The only change I can see to regcache.c and sh-tdep.c is to use
DEPRECATED_REGISTER_BYTES. Can anyone give any suggestions as to what might
be going wrong?
cheers,
Kris