public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Bouhaouel, Mohamed" <mohamed.bouhaouel@intel.com>
To: Simon Marchi <simark@simark.ca>,
	"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: RE: [PATCH 0/2] Add more flexibility to inferior call
Date: Thu, 23 Mar 2023 11:34:01 +0000	[thread overview]
Message-ID: <DM6PR11MB445738C62A12B506E486ABE9E4879@DM6PR11MB4457.namprd11.prod.outlook.com> (raw)
In-Reply-To: <88985e8e-be62-e407-3cca-8b554e3f4665@simark.ca>

Hi Simon,

Thanks for your feedback.  These patches are pre-requisite for an Intel architecture
that has not been yet up-streamed.  Waiting for the architecture to be introduced
first is likely more logical,  although, such flexibility might be useful for
other new architectures.

Should I submit a new version of those patches while considering your comments
or wait to post all together?

Thanks,
Mohamed

> -----Original Message-----
> From: Simon Marchi <simark@simark.ca>
> Sent: Wednesday, March 22, 2023 8:17 PM
> To: Bouhaouel, Mohamed <mohamed.bouhaouel@intel.com>; gdb-
> patches@sourceware.org
> Subject: Re: [PATCH 0/2] Add more flexibility to inferior call
> 
> On 3/22/23 13:13, Mohamed Bouhaouel via Gdb-patches wrote:
> > Hi all,
> >
> > The following two patches would add more flexibility to the infcalls
> > workflow by allowing targets to have their own implementations of:
> > 	* value_arg_coerce: Enable the target to control arguments
> > 	coercion whenever needed (e.g.  Coerce BOOL to UINT16_T
> > 	instead of UINT32_T).
> > 	* reserve_stack_space: Enable the target to decide how much
> > 	space is needed for a type (e.g.  Targets might have a vectorized
> > 	representation of variables).
> 
> Hi Mohamed,
> 
> Is there an end goal to this?  It doesn't really make sense to add
> gdbarch methods but have no architecture use it.  If it's necessary for
> some upcoming feature, then include these patches as preparatory patches
> in the series that adds said feature.
> 
> Simon


Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

  reply	other threads:[~2023-03-23 11:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-22 17:13 Mohamed Bouhaouel
2023-03-22 17:13 ` [PATCH 1/2] gdb, gdbarch, infcall: Add value_arg_coerce method to gdbarch Mohamed Bouhaouel
2023-03-22 19:18   ` Simon Marchi
2023-03-22 17:13 ` [PATCH 2/2] gdb, gdbarch, infcall: Add reserve_stack_space " Mohamed Bouhaouel
2023-03-22 19:16 ` [PATCH 0/2] Add more flexibility to inferior call Simon Marchi
2023-03-23 11:34   ` Bouhaouel, Mohamed [this message]
2023-03-24 13:38     ` Simon Marchi
2023-03-24 14:10       ` Bouhaouel, Mohamed
2023-03-24 14:12       ` Tom Tromey

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=DM6PR11MB445738C62A12B506E486ABE9E4879@DM6PR11MB4457.namprd11.prod.outlook.com \
    --to=mohamed.bouhaouel@intel.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simark@simark.ca \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).