From: Mohamed Bouhaouel <mohamed.bouhaouel@intel.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] Add more flexibility to inferior call
Date: Wed, 22 Mar 2023 18:13:50 +0100 [thread overview]
Message-ID: <20230322171352.9087-1-mohamed.bouhaouel@intel.com> (raw)
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).
Regards,
Mohamed
Mohamed Bouhaouel (2):
gdb, gdbarch, infcall: Add value_arg_coerce method to gdbarch.
gdb, gdbarch, infcall: Add reserve_stack_space method to gdbarch
gdb/gdbarch-gen.h | 13 ++++++++++++
gdb/gdbarch.c | 44 +++++++++++++++++++++++++++++++++++++++
gdb/gdbarch.h | 1 +
gdb/gdbarch_components.py | 26 +++++++++++++++++++++++
gdb/infcall.c | 32 +++++++++++-----------------
gdb/infcall.h | 17 +++++++++++++++
6 files changed, 113 insertions(+), 20 deletions(-)
--
2.25.1
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
next reply other threads:[~2023-03-22 17:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-22 17:13 Mohamed Bouhaouel [this message]
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
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=20230322171352.9087-1-mohamed.bouhaouel@intel.com \
--to=mohamed.bouhaouel@intel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).