Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simark@simark.ca>
To: Sven Schnelle <svens@stackframe.org>
Cc: gdb-patches@sourceware.org, Helge Deller <deller@gmx.de>,
	John David Anglin <dave.anglin@bell.net>,
	binutils@sourceware.org
Subject: Re: [PATCH v2] gdb/hppa: guess g packet size
Date: Mon, 10 Nov 2025 15:29:57 -0500	[thread overview]
Message-ID: <e776b77d-0304-4315-9e93-81d562884800@simark.ca> (raw)
In-Reply-To: <87wm3xir7x.fsf@stackframe.org>

On 11/10/25 3:10 PM, Sven Schnelle wrote:
>> Could we reach that place if e.g. qemu started to return a target
>> description for the hppa architecture?  I suppose we can error out
>> saying something like "that target returned a target description but
>> this GDB doesn't support it for the HP-PA architecture".
> 
> Ah, got it. Maybe we should default to 32 bit (as userspace is very
> likely to be 32 bit, only the kernel might be 64 bit right now), and
> print a warning in that case?

I guess we could, then there's a non-0% chance that GDB will be right
and be useful to the user.  If we error out, there is a 0% change that
GDB will be useful to the user.

Simon

      reply	other threads:[~2025-11-10 20:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-04  6:30 Sven Schnelle
2025-11-10 13:47 ` Sven Schnelle
2025-11-10 16:52 ` Simon Marchi
2025-11-10 17:09   ` Simon Marchi
2025-11-10 17:21   ` Sven Schnelle
2025-11-10 17:38     ` Simon Marchi
2025-11-10 20:10       ` Sven Schnelle
2025-11-10 20:29         ` 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:
  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=e776b77d-0304-4315-9e93-81d562884800@simark.ca \
    --to=simark@simark.ca \
    --cc=binutils@sourceware.org \
    --cc=dave.anglin@bell.net \
    --cc=deller@gmx.de \
    --cc=gdb-patches@sourceware.org \
    --cc=svens@stackframe.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