This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Fix tracepoints for LOC_COMPUTED - sort of
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: drow at mvista dot com, gdb-patches at sources dot redhat dot com
- Cc: jimb at redhat dot com
- Date: Sun, 23 Feb 2003 14:07:45 -0600
- Subject: Re: RFA: Fix tracepoints for LOC_COMPUTED - sort of
I tested this with native i686-pc-linux-gnu, gcc v2 and v3,
dwarf-2 and stabs+. It works for me. It fixes this problem:
FAIL: gdb.trace/packetlen.exp: setup collect actions
... with no regressions.
Lightly proofread, nothing wrong that I can see.
Recommended for approval.
Michael C
===
2003-02-23 Daniel Jacobowitz <drow at mvista dot com>
* Makefile.in (dwarf2loc.o): Update dependencies.
* ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
* dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
* dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
* dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
(locexpr_tracepoint_var_ref): New function.
(dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.