Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: [patch 2/2] Support gcc-4.7 DW_OP_GNU_parameter_ref
Date: Thu, 14 Jun 2012 07:23:00 -0000	[thread overview]
Message-ID: <20120614072301.GA23971@host2.jankratochvil.net> (raw)
In-Reply-To: <20120614064848.GA13247@host2.jankratochvil.net>

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.

> +	    union call_site_parameter_u kind_u;
> +
> +	    kind_u.param_offset.cu_off = extract_unsigned_integer (op_ptr, 4,
> +								   byte_order);
> +	    op_ptr += 4;
> +	    ctx->funcs->push_dwarf_reg_entry_value (ctx,
> +					       CALL_SITE_PARAMETER_PARAM_OFFSET,
> +						    kind_u,
> +						    -1 /* deref_size */);
> +	  }
> +	  goto no_push;


Jan


  reply	other threads:[~2012-06-14  7:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-14  6:49 Jan Kratochvil
2012-06-14  7:23 ` Jan Kratochvil [this message]
2012-06-14  9:38   ` Mark Kettenis
2012-06-14 10:21     ` Jan Kratochvil
2012-06-15 19:56 ` Tom Tromey
2012-06-17 19:54   ` [commit] " Jan Kratochvil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120614072301.GA23971@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox