[patch] Add proper error message instead of gdb_assert

Daniel Jacobowitz drow@false.org
Mon Mar 3 21:17:00 GMT 2008


On Mon, Mar 03, 2008 at 10:11:44PM +0100, Markus Deuling wrote:
> 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 ?

No.  Both of these are internal errors in GDB.  The internal error
prompt already gives you the option to keep going if you want to.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list