From: Tom Tromey <tromey@adacore.com>
To: Tom Tromey via Gdb-patches <gdb-patches@sourceware.org>
Cc: Tom Tromey <tromey@adacore.com>
Subject: Re: [PATCH] Avoid crash with Ravenscar tasks
Date: Mon, 22 Aug 2022 12:03:34 -0600 [thread overview]
Message-ID: <87pmgscg09.fsf@tromey.com> (raw)
In-Reply-To: <20220811150010.991599-1-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Thu, 11 Aug 2022 09:00:10 -0600")
>>>>> "Tom" == Tom Tromey via Gdb-patches <gdb-patches@sourceware.org> writes:
Tom> When using Ravenscar, gdb can crash if the user sets a breakpoint very
Tom> early in task startup. This happens because gdb thinks the runtime is
Tom> initialized, but in practice the particular task isn't sufficiently
Tom> initialized. This patch avoids the issue by turning an assertion into
Tom> an early return.
Tom> I tested this using the AdaCore internal test suite. I don't know how
Tom> to test Ravenscar using the FSF test suite.
I'm checking this in.
Tom
prev parent reply other threads:[~2022-08-22 18:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-11 15:00 Tom Tromey
2022-08-22 18:03 ` Tom Tromey [this message]
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=87pmgscg09.fsf@tromey.com \
--to=tromey@adacore.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).