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 internal error on optimized-out values (regression by me)


On Thu, 13 Oct 2011 17:18:27 +0200, Tom Tromey wrote:
> Jan> Missing DW_AT_data_member_location is defined as offset 0.  Not
> Jan> sure how an optimized out field should look like.
> 
> It would be an empty DW_OP_piece.

I forgot, OK, GCC makes optimized out the value bits, not the type definition.

That is still compatible with the first patch.


On Thu, 13 Oct 2011 17:27:34 +0200, Pedro Alves wrote:
> On Wednesday 12 October 2011 21:33:29, Jan Kratochvil wrote:
> > This would suggest the user-visible behavior should be more the former patch:
> > 	http://sourceware.org/ml/gdb-patches/2011-09/msg00449.html
> > 	printing <optimized out>
> 
> Yes.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2011-10/msg00114.html


Thanks,
Jan


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