public inbox for
 help / color / mirror / Atom feed
From: Simon Marchi <>
To: Tom Tromey <>,
Subject: Re: [PATCH] Disable ptype/o for dynamic types
Date: Thu, 12 Jan 2023 13:32:38 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 1/11/23 13:42, Tom Tromey via Gdb-patches wrote:
> A user pointed out that "ptype/o" of a certain Ada type -- while in C
> mode -- caused gdb to crash.
> The bug here is that dynamic types can't really be printed this way.
> This patch avoids the bug by disabling the "/o" feature in this case.
> Note that using "ptype/o" in this way makes sense for the time being,
> because the Ada code doesn't support the "/o" feature (yet); and in
> any case gdb should not crash.


Approved-By: Simon Marchi <>


      reply	other threads:[~2023-01-12 18:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-11 18:42 Tom Tromey
2023-01-12 18:32 ` Simon Marchi [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:

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