public inbox for
 help / color / mirror / Atom feed
From: Tom Tromey <>
To: Simon Marchi <>
Cc: tdevries <>,  Tom Tromey <>,
Subject: Re: [PATCH] Handle SIGSEGV in gdb selftests
Date: Tue, 17 Jan 2023 09:20:00 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <> (Simon Marchi's message of "Fri, 13 Jan 2023 20:19:15 -0500")

>>>>> "Simon" == Simon Marchi <> writes:

>> Shouldn't the SIGSEGV -re be before the `-i $inferior_spawn_id`?
>> Otherwise we expect the "received signal SIGSEGV" message to come from
>> the debugged GDB, when it's the top GDB that will print it (like when
>> debugging any other test program).
>> I think we don't see the problem when testing with native because
>> the top and bottom GDBs share the same spawn id.

Makes sense to me.

Simon> Here's a patch to fix it, with a commit message.

Looks good to me.


  reply	other threads:[~2023-01-17 16:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-15 21:14 Tom Tromey
2022-12-16 15:17 ` Tom de Vries
2022-12-16 16:11   ` Tom Tromey
2022-12-26  8:02     ` tdevries
2023-01-14  1:11       ` Simon Marchi
2023-01-14  1:19         ` Simon Marchi
2023-01-17 16:20           ` Tom Tromey [this message]
2023-01-17 16:22             ` Simon Marchi

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

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