This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Eliminate -var-create error for optzd ptr to struct
- From: Pedro Alves <palves at redhat dot com>
- To: Don Breazeal <donb at codesourcery dot com>, "Gustavo, Luis" <Luis_Gustavo at mentor dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 25 Feb 2016 12:22:13 +0000
- Subject: Re: [PATCH] Eliminate -var-create error for optzd ptr to struct
- Authentication-results: sourceware.org; auth=none
- References: <1456273154-28629-1-git-send-email-donb at codesourcery dot com> <56CD03F5 dot 6080505 at codesourcery dot com> <56CDDAEE dot 1030504 at codesourcery dot com>
On 02/24/2016 04:31 PM, Don Breazeal wrote:
> The main problem so far has been to get the compiler to optimize out the
> variables that I want it to optimize out, with a target that is generic
> enough that I can generate some assembly code that will run on something
> other than a specific version of a CPU. Trial and error.
Sounds like a job for the testsuite's dwarf assembler?
Thanks,
Pedro Alves