This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Fix "return" command (Re: RFC: optimized-out pieces)
- From: Tom Tromey <tromey at redhat dot com>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 15 Jun 2010 09:58:15 -0600
- Subject: Re: [commit] Fix "return" command (Re: RFC: optimized-out pieces)
- References: <201006141213.o5ECDJgj031946@d12av02.megacenter.de.ibm.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
Ulrich> On the other hand, it does not make sense to memcpy an
Ulrich> uninitialized value either. Thus, it seems the correct fix
Ulrich> is to simply skip the memcpy, and hence the value_contents_all
Ulrich> call, if the register value is "optimized out".
Thank you for fixing this. I'm sorry for the breakage.
Tom