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] use error, not internal_error, in dwarf2-frame.c


> I think that gdb should not call internal_error for bad DWARF.
> Instead, it should simply throw an ordinary exception.

FWIW, I agree with the reasoning.

> 2013-11-13  Tom Tromey  <tromey@redhat.com>
> 
> 	* dwarf2-frame.c (execute_cfa_program, dwarf2_compile_cfa_to_ax)
> 	(dwarf2_frame_cache, dwarf2_frame_prev_register)
> 	(encoding_for_size, read_encoded_value): Use error, not
> 	internal_error.

-- 
Joel


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