From: Simon Marchi via Gdb-patches <gdb-patches@sourceware.org>
To: Andrew Burgess <aburgess@redhat.com>
Cc: Simon Marchi <simon.marchi@efficios.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb: make "start" breakpoint inferior-specific
Date: Wed, 9 Nov 2022 08:19:51 -0500 [thread overview]
Message-ID: <30ac3679-d16d-3706-a026-d17ba962f096@simark.ca> (raw)
In-Reply-To: <8735asb7cj.fsf@redhat.com>
On 11/9/22 08:11, Andrew Burgess wrote:
> Simon Marchi <simark@simark.ca> writes:
>
>>>
>>> In general I'm happy enough with the actual GDB change you propose here,
>>> but like Bruno, I also wondered if it would be better to add inferior
>>> specific breakpoints as an actual thing, rather than relying on the
>>> condition logic like you do here?
>>>
>>> I wasn't sure how you'd feel about this idea, so I didn't spend too
>>> long, but below is a VERY rough proof of concept patch, that appies on
>>> top of yours, that adds inferior specific breakpoints. You temporary
>>> breakpoint now becomes:
>>>
>>> tbreak -qualified main inferior 1
>>>
>>> But this functionality would also be available to a user if they wanted
>>> it, which might be nice.
>>
>> I think it's a good idea, but I would prefer if that wasn't a
>> prerequesite for this patch, since adding this feature can become
>> somewhat of a rabbit hole. Functionally, a condition will essentially
>> behave the same, I think it's robust, and I would like to get rid of the
>> flakiness in the testsuite sooner than later :).
>
> That's fine - I assume you would be happy if you code was updated to
> make use of inferior specific breakpoints if such a feature appeared in
> the future?
(re-adding gdb-patches, not sure where it got removed, maybe I messed up
my initial reply)
Absolutely, I would be fine. What matters is that the user-visible
behavior works.
Simon
next prev parent reply other threads:[~2022-11-09 13:20 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-04 17:40 Simon Marchi via Gdb-patches
2022-08-17 17:56 ` Simon Marchi via Gdb-patches
2022-08-31 14:03 ` Bruno Larsen via Gdb-patches
2022-11-04 16:52 ` Simon Marchi via Gdb-patches
2022-11-07 8:14 ` Bruno Larsen via Gdb-patches
2022-11-08 17:24 ` Tom Tromey
2022-09-01 10:42 ` Andrew Burgess via Gdb-patches
2022-11-04 17:24 ` Simon Marchi via Gdb-patches
[not found] ` <8735asb7cj.fsf@redhat.com>
2022-11-09 13:19 ` Simon Marchi via Gdb-patches [this message]
2022-11-08 19:43 ` Pedro Alves
2022-11-08 20:14 ` Simon Marchi via Gdb-patches
2022-11-08 21:09 ` Pedro Alves
2022-11-08 21:20 ` [PATCH v2] " Simon Marchi via Gdb-patches
2022-11-10 16:45 ` Pedro Alves
2022-11-10 17:33 ` Simon Marchi via Gdb-patches
2022-11-10 17:36 ` Simon Marchi via Gdb-patches
2022-11-10 17:47 ` Pedro Alves
2022-11-10 17:53 ` Simon Marchi via Gdb-patches
2022-11-11 12:37 ` Tom de Vries via Gdb-patches
2022-11-11 13:53 ` Simon Marchi via Gdb-patches
2022-11-11 15:21 ` Tom de Vries via Gdb-patches
2022-11-11 19:03 ` Simon Marchi via Gdb-patches
2022-11-12 10:43 ` Tom de Vries via Gdb-patches
2022-11-14 11:29 ` Tom de Vries via Gdb-patches
2022-11-14 13:19 ` Simon Marchi via Gdb-patches
2022-11-14 14:18 ` Tom de Vries via Gdb-patches
2022-11-16 16:22 ` Tom Tromey
2022-11-16 16:26 ` Simon Marchi via Gdb-patches
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=30ac3679-d16d-3706-a026-d17ba962f096@simark.ca \
--to=gdb-patches@sourceware.org \
--cc=aburgess@redhat.com \
--cc=simark@simark.ca \
--cc=simon.marchi@efficios.com \
/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