This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/dwarf] Handle debug_line extended ops correctly
- From: Jim Blandy <jimb at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sources dot redhat dot com, Michael Coulter <coulter at cup dot hp dot com>, Elena Zannoni <ezannoni at redhat dot com>
- Date: 16 Jun 2004 12:07:30 -0500
- Subject: Re: [rfa/dwarf] Handle debug_line extended ops correctly
- References: <20040616154402.GA25649@nevyn.them.org>
Daniel Jacobowitz <drow@false.org> writes:
> This has been hanging around in my tree for a while. The HP-UX ia64
> compiler generates things like this in .debug_line:
> Extended opcode 32: UNKNOWN: length 51
> Extended opcode 32: UNKNOWN: length 146
>
> 146 is different as a byte and as a uleb128, so we get confused. Of course,
> we're going to bail out shortly anyway because we don't accept unknown
> extended ops (probably for the best); but we might as well parse the length
> right.
>
> OK?
Okay.