From: Andrew Burgess <aburgess@redhat.com>
To: gdb-patches@sourceware.org
Cc: Andrew Burgess <aburgess@redhat.com>
Subject: [PATCH 0/2] Auto setting of 'remote exec-file'
Date: Sat, 11 Oct 2025 14:34:02 +0100 [thread overview]
Message-ID: <cover.1760189398.git.aburgess@redhat.com> (raw)
In-Reply-To: <40cbbd9f0082b07e9767656fe044bbe9280983a3.1759763251.git.aburgess@redhat.com>
Patch #1 is some refactoring requested during review of V1.
Patch #2 is the updated version of the V1 patch. This includes:
- Rewrite of the NEWS entry to try and make it more readable.
- Use of child_path function rather than startswith to detect when a
file is inside the sysroot.
- Add get_current_extended_remote_target rather than templating
get_current_remote_target.
- Updates to take account of the refactoring in patch #1, that is
replacing a std::pair with a struct with named fields.
---
Andrew Burgess (2):
gdb/remote: replace use of std::pair with an actual struct
gdb: use current executable for 'remote exec-file' in some cases
gdb/NEWS | 8 +
gdb/doc/gdb.texinfo | 4 +-
gdb/remote.c | 216 ++++++++++++++++++++++-----
gdb/testsuite/gdb.server/ext-run.exp | 160 ++++++++++++++++----
4 files changed, 319 insertions(+), 69 deletions(-)
base-commit: c1950dcc04c07e713b708efcf1c6cc88eda60843
--
2.47.1
next prev parent reply other threads:[~2025-10-11 13:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-06 15:07 [PATCH] gdb: use current executable for 'remote exec-file' in some cases Andrew Burgess
2025-10-06 15:43 ` Eli Zaretskii
2025-10-09 16:17 ` Simon Marchi
2025-10-11 13:34 ` Andrew Burgess [this message]
2025-10-11 13:34 ` [PATCH 1/2] gdb/remote: replace use of std::pair with an actual struct Andrew Burgess
2025-10-11 13:46 ` Simon Marchi
2025-10-12 8:57 ` Andrew Burgess
2025-10-12 12:05 ` Simon Marchi
2025-10-12 13:13 ` Andrew Burgess
2025-11-19 10:32 ` Andrew Burgess
2025-10-11 13:34 ` [PATCH 2/2] gdb: use current executable for 'remote exec-file' in some cases Andrew Burgess
2025-10-11 14:45 ` Eli Zaretskii
2025-11-07 20:46 ` Simon Marchi
2025-11-11 15:59 ` Andrew Burgess
2026-01-14 1:17 ` Simon Marchi
2026-01-14 16:48 ` Andrew Burgess
2026-01-14 20:01 ` [PATCH] gdb/testsuite: fix failure in gdb.server/fetch-exec-and-args.exp Andrew Burgess
2026-01-15 21:13 ` Simon Marchi
2026-01-22 15:31 ` Andrew Burgess
2025-11-19 10:32 ` [PATCH 2/2] gdb: use current executable for 'remote exec-file' in some cases Andrew Burgess
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=cover.1760189398.git.aburgess@redhat.com \
--to=aburgess@redhat.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