Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch 2/2] DW_OP_call: Support DW_OP_call2 and DW_OP_call4
Date: Mon, 07 Jun 2010 18:13:00 -0000	[thread overview]
Message-ID: <m3typen239.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20100607115645.GC24148@host0.dyn.jankratochvil.net> (Jan	Kratochvil's message of "Mon, 7 Jun 2010 13:56:45 +0200")

>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> 	Fix PR 10640.

Would you mind filing a new PR for DW_OP_call_ref?
This is one of the few remaining unimplemented operators...

Jan> +struct dwarf2_locexpr_baton
Jan> +fetch_die_location_block (unsigned int offset, struct dwarf2_per_cu_data *per_cu)

I think this function name should have a dwarf2_ prefix.
Also it looks like this line wraps.

Jan> --- a/gdb/symfile.h
Jan> +++ b/gdb/symfile.h
Jan> @@ -569,6 +569,10 @@ extern int dwarf2_has_info (struct objfile *);
Jan>  extern void dwarf2_build_psymtabs (struct objfile *);
Jan>  extern void dwarf2_build_frame_info (struct objfile *);
 
Jan> +struct dwarf2_per_cu_data;
Jan> +extern struct dwarf2_locexpr_baton fetch_die_location_block
Jan> +  (unsigned int offset, struct dwarf2_per_cu_data *per_cu);

I think this should go in one of the dwarf headers, not symfile.h.
I think probably dwarf2loc.h, near the other functions taking a
dwarf2_per_cu_data.

Ok with these changes.  Thanks.

Tom


  reply	other threads:[~2010-06-07 18:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-20 12:37 [patch] Support DW_OP_call2 and DW_OP_call4 (PR 10640) Jan Kratochvil
2009-10-12 20:43 ` Tom Tromey
2009-10-12 20:49   ` Tom Tromey
2010-06-07 11:56     ` [patch 1/2] DW_OP_call: Provide per_cu in the batons Jan Kratochvil
2010-06-07 17:44       ` Tom Tromey
2010-06-07 19:44         ` Jan Kratochvil
2010-06-07 11:56     ` [patch 0/2] DW_OP_call: Re: [patch] Support DW_OP_call2 and DW_OP_call4 (PR 10640) Jan Kratochvil
2010-06-07 11:56     ` [patch 2/2] DW_OP_call: Support DW_OP_call2 and DW_OP_call4 Jan Kratochvil
2010-06-07 18:13       ` Tom Tromey [this message]
2010-06-07 20:00         ` Jan Kratochvil
2009-10-12 21:08   ` [patch] Support DW_OP_call2 and DW_OP_call4 (PR 10640) Daniel Jacobowitz

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=m3typen239.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    /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