RFA: handle zero-length types in value_from_register
Jim Blandy
jimb@redhat.com
Tue Jan 27 15:38:00 GMT 2004
Andrew Cagney <cagney@gnu.org> writes:
> > 2004-01-27 Jim Blandy <jimb@redhat.com>
> > * findvar.c (value_from_register): If the type has no length,
> > just
> > return an acceptable value --- don't report an internal error.
> >
> This looks to need a test case.
I tried to put one together, but the bug only occurs when the
zero-length value is allocated to a register. I couldn't find any way
to make that happen at all. So the only known instance of this bug
depends on bad debug info.
More information about the Gdb-patches
mailing list