This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: about class LOC_COMPUTED_ARG
Daniel Jacobowitz <drow@mvista.com> writes:
> LOC_BASEREG_ARG was inadequate. LOC_COMPUTED_ARG is a more powerful
> mechanism, based on DWARF 2 location expressions. Take a look at
> http://www.eagercon.com/ if you want to find a copy of the
> specification.
>
> As I said in an earlier message, we don't have tracepoint support for
> LOC_COMPUTED or LOC_COMPUTED_ARG - yet.
As a workaround until that's done, you might try compiling with
-gstabs+. Only the Dwarf 2 reader generates LOC_COMPUTED and
LOC_COMPUTED_ARG; the stabs reader will generate LOC_BASEREG_ARG and
stuff like that, which ax-gdb.c knows how to handle.