This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][Python] Re: any expression to tell whether a variable was optimized out?
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: tromey at redhat dot com, aoliva at redhat dot com, gdb-patches at sourceware dot org
- Date: Mon, 23 Mar 2009 06:24:02 +0200
- Subject: Re: [RFC][Python] Re: any expression to tell whether a variable was optimized out?
- References: <orskllhfo3.fsf@oliva.athome.lsd.ic.unicamp.br> <20090310125945.GA4376@caradoc.them.org> <1236700079.11106.1.camel@localhost.localdomain> <orzlftfhu1.fsf@oliva.athome.lsd.ic.unicamp.br> <1236710732.11106.30.camel@localhost.localdomain> <m3hc1rluz1.fsf@fleche.redhat.com> <1237771863.25721.17.camel@localhost.localdomain>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Thiago Jung Bauermann <bauerman@br.ibm.com>
> Cc: Alexandre Oliva <aoliva@redhat.com>, gdb-patches@sourceware.org
> Date: Sun, 22 Mar 2009 22:31:02 -0300
>
> +@table @code
> +@defmethod Value is_optimized_out
> +This read-only boolean attribute is true if the compiler optimized out
> +this value, thus it is not available for fetching from the inferior.
> +@end defmethod
> +@end table
This is OK, but please add a @cindex entry for this that starts with
"optimized", so that readers will be able to find this easier.
Thanks.