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] Fix dwarf2read to crash again


> My conclusion from these cases is that gdb ought to fail gracefully.

Agreed.

> I suspect we should even go so far as to wrap process_die (or possibly
> some more appropriate function) in a TRY_CATCH and skip DIEs that
> confuse gdb.

Sounds like a good idea to me.

-- 
Joel


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