Daniel Jacobowitz schrieb: > On Mon, Mar 03, 2008 at 12:28:51PM -0800, Michael Snyder wrote: >> On Mon, 2008-03-03 at 20:55 +0100, Mark Kettenis wrote: >> >>> Sorry, but I don't see why your error message is "proper". The >>> gdb_assert() should never fail; the fact that it does means that you >>> have a bug elsewhere in gdb. >> Isn't that what the "internal error" call is for? > > gdb_assert calls internal_error anyway. > What about the attached patch? It gives an error message in value_assign if you try to access lval_register < 0. I guess this is much better for the user than a crashed GDB session. What do you think ? -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com