This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/2] Support gcc-4.7 DW_OP_GNU_parameter_ref
> Date: Thu, 14 Jun 2012 09:23:01 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> On Thu, 14 Jun 2012 08:48:48 +0200, Jan Kratochvil wrote:
> > --- a/gdb/dwarf2expr.c
> > +++ b/gdb/dwarf2expr.c
> > @@ -1392,6 +1392,21 @@ execute_stack_op (struct dwarf_expr_context *ctx,
> > "or for DW_OP_breg*(0)+DW_OP_deref*"));
> > }
> >
> > + case DW_OP_GNU_parameter_ref:
> > + {
> > + cu_offset offset;
>
> Unused variable.
Am I going mad, or is Jan really reviewing his own diffs?