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 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.

-- 
Daniel Jacobowitz
CodeSourcery


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