assertion failure in regcache.c

Kris Warkentin
2003-05-21T17:52:08Z

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