public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add more flexibility to inferior call
@ 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
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mohamed Bouhaouel @ 2023-03-22 17:13 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-03-24 14:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22 17:13 [PATCH 0/2] Add more flexibility to inferior call 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
2023-03-24 13:38     ` Simon Marchi
2023-03-24 14:10       ` Bouhaouel, Mohamed
2023-03-24 14:12       ` Tom Tromey

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).