Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: pedromfc@linux.ibm.com (Pedro Franco de Carvalho)
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v2 4/6] Use remote register numbers in tracepoint mask
Date: Mon, 06 Aug 2018 12:42:00 -0000	[thread overview]
Message-ID: <20180806124238.913ECD802AF@oc3748833570.ibm.com> (raw)
In-Reply-To: <20180803220948.8910-1-pedromfc@linux.ibm.com> from "Pedro Franco de Carvalho" at Aug 03, 2018 07:09:48 PM

Pedro Franco de Carvalho wrote:

> If ax_regs_mask and gdbarch_ax_pseudo_register_collect also generate
> more ax bytecode, the ax is also appended to the collection list.  It
> isn't clear that this was the original intent for
> gdbarch_ax_pseudo_register_collect, and none of the arches seem to do
> this, but if this changes in the future, it should work.

OK, this makes sense to me.

> 	* tracepoint.h (class collection_list) <add_register>: Remove.
> 	<add_remote_register, add_ax_registers, add_local_register>:
> 	Declare.
> 	<add_memrange>: Add scope parameter.
> 	* tracepoint.c (encode_actions_1): Likewise.
> 	(collection_list::add_register): Rename to ...
> 	(collection_list::add_remote_register): ... this.  Update comment.
> 	(collection_list::add_ax_registers, add_local_register): New
> 	methods.
> 	(collection_list::add_memrange): Add scope parameter.  Call
> 	add_local_register instead of add_register.
> 	(finalize_tracepoint_aexpr): New function.
> 	(collection_list::collect_symbol): Update calls to add_memrange.
> 	Call add_local_register instead of add_register.  Call
> 	add_ax_registers. Call finalize_tracepoint_aexpr.
> 	(encode_actions_1): Get remote regnos for $reg action.  Call
> 	add_remote_register, add_ax_registers, and add_local_register.
> 	Update call to add_memrange. Call finalize_tracepoint_aexpr.
> 	(validate_actionline): Call finalize_tracepoint_aexpr.

This is OK.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2018-08-06 12:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-27 21:03 [PATCH v2 0/6] Fix tracepoint register limitations Pedro Franco de Carvalho
2018-07-27 21:03 ` [PATCH v2 6/6] Allow larger regblock sizes when saving tracefiles Pedro Franco de Carvalho
2018-08-02 17:04   ` Ulrich Weigand
2018-07-27 21:03 ` [PATCH v2 5/6] Variable size for regs mask in collection list Pedro Franco de Carvalho
2018-08-02 17:01   ` Ulrich Weigand
2018-07-27 21:03 ` [PATCH v2 3/6] Use get_remote_packet_size in download_tracepoint Pedro Franco de Carvalho
2018-08-02 16:47   ` Ulrich Weigand
2018-08-03 21:41     ` Pedro Franco de Carvalho
2018-08-06 12:40       ` Ulrich Weigand
     [not found]       ` <feb8623a-b89e-7519-22de-0d6ede3d5768@arm.com>
2018-08-08 10:33         ` [committed] Fix gdb/remote.c build failure Szabolcs Nagy
2018-08-08 12:25           ` Ulrich Weigand
2018-08-08 15:55         ` [PATCH v2 3/6] Use get_remote_packet_size in download_tracepoint Pedro Franco de Carvalho
2018-08-03 21:41     ` Pedro Franco de Carvalho
2018-07-27 21:03 ` [PATCH v2 1/6] Fix indentation in remote_target::download_tracepoint Pedro Franco de Carvalho
2018-08-02 16:43   ` Ulrich Weigand
2018-07-27 21:03 ` [PATCH v2 4/6] Use remote register numbers in tracepoint mask Pedro Franco de Carvalho
2018-08-02 16:58   ` Ulrich Weigand
2018-08-03 22:09     ` Pedro Franco de Carvalho
2018-08-03 22:10     ` Pedro Franco de Carvalho
2018-08-06 12:42       ` Ulrich Weigand [this message]
2018-08-06 20:18         ` Pedro Franco de Carvalho
2018-07-27 21:03 ` [PATCH v2 2/6] Remove trailing '-' from the last QTDP action packet Pedro Franco de Carvalho
2018-08-02 16:44   ` Ulrich Weigand

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=20180806124238.913ECD802AF@oc3748833570.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedromfc@linux.ibm.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