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: [rfc] Detect dwarf address size mismatch


On Wed, Jul 11, 2007 at 12:27:29PM -0700, Jim Blandy wrote:
> Would it make sense to move the check after the extended_op switch
> altogether, and always use extended_len to advance line_ptr?  This
> would make GDB more robust against new extended opcodes.

I thought about it; it might make sense to do this in the default
case, but not in any of the handled cases, since they need to advance
line_ptr anyway to read multiple items.

-- 
Daniel Jacobowitz
CodeSourcery


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