This is the mail archive of the
mailing list for the GDB project.
Re: [patch] Add proper error message instead of gdb_assert
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.