This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]