From: "Jérôme Duval" <jerome.duval@gmail.com>
To: gdb-patches@sourceware.org
Cc: "Jérôme Duval" <jerome.duval@gmail.com>
Subject: [PATCH 6/8] gdbserver: Update Haiku support for 17.x
Date: Thu, 12 Mar 2026 18:23:34 +0100 [thread overview]
Message-ID: <20260312172336.15450-7-jerome.duval@gmail.com> (raw)
In-Reply-To: <20260312172336.15450-1-jerome.duval@gmail.com>
---
gdbserver/haiku-low.cc | 6 ++----
gdbserver/haiku-low.h | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/gdbserver/haiku-low.cc b/gdbserver/haiku-low.cc
index b0551b8f..0b819197 100644
--- a/gdbserver/haiku-low.cc
+++ b/gdbserver/haiku-low.cc
@@ -39,7 +39,7 @@ bool debug_haiku_nat = false;
int
haiku_process_target::create_inferior (const char *program,
- const std::vector<char *> &program_args)
+ const std::string &program_args)
{
haiku_nat_debug_printf ("program=%s", program);
@@ -70,15 +70,13 @@ haiku_process_target::create_inferior (const char *program,
perror_with_name (("haiku_nat::continue_process"));
};
- std::string str_program_args = construct_inferior_arguments (program_args);
-
client_state &cs = get_client_state ();
if (cs.disable_randomization)
get_environ ()->set ("DISABLE_ASLR", "1");
else
get_environ ()->unset ("DISABLE_ASLR");
- pid_t pid = fork_inferior (program, str_program_args.c_str (),
+ pid_t pid = fork_inferior (program, program_args.c_str (),
get_environ ()->envp (), haiku_traceme,
haiku_init_trace, nullptr, nullptr, nullptr);
diff --git a/gdbserver/haiku-low.h b/gdbserver/haiku-low.h
index 11673055..3c92b906 100644
--- a/gdbserver/haiku-low.h
+++ b/gdbserver/haiku-low.h
@@ -24,7 +24,7 @@ class haiku_process_target : public process_stratum_target
{
public:
int create_inferior (const char *program,
- const std::vector<char *> &program_args) override;
+ const std::string &program_args) override;
void post_create_inferior () override;
--
2.43.0
next prev parent reply other threads:[~2026-03-12 17:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 17:23 [PATCH 0/8] Support for Haiku/x86-64 in GDB Jérôme Duval
2026-03-12 17:23 ` [PATCH 1/8] gdbserver: Initial Haiku support Jérôme Duval
2026-03-12 19:06 ` Kevin Buettner
2026-03-12 17:23 ` [PATCH 2/8] gdb: " Jérôme Duval
2026-03-12 18:31 ` Eli Zaretskii
2026-03-12 17:23 ` [PATCH 3/8] gdb: Update Haiku support for 16.x Jérôme Duval
2026-03-12 17:23 ` [PATCH 4/8] gdbserver: " Jérôme Duval
2026-03-12 17:23 ` [PATCH 5/8] gdb: Update Haiku support for 17.x Jérôme Duval
2026-03-12 17:58 ` Tom Tromey
2026-03-12 17:23 ` Jérôme Duval [this message]
2026-03-12 17:23 ` [PATCH 7/8] gdb: Update Haiku support for 18.x Jérôme Duval
2026-03-12 17:23 ` [PATCH 8/8] gdbserver: " Jérôme Duval
2026-03-12 17:37 ` [PATCH 0/8] Support for Haiku/x86-64 in GDB Tom Tromey
[not found] ` <CAPZRpdPY4Uzwu5BinMEDcU=0SQEXU0ca31-p_X_ZOJzdGcobkQ@mail.gmail.com>
2026-03-12 21:42 ` Trung Nguyen
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=20260312172336.15450-7-jerome.duval@gmail.com \
--to=jerome.duval@gmail.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