public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Dilip Ranganathan <misc.usage@gmail.com>
To: gdb@sourceware.org
Subject: Windows debugger -> gdbserver throws up a weird error
Date: Wed, 6 Mar 2024 20:58:06 -0500	[thread overview]
Message-ID: <CALEPxfsnjisE35kUHCC+r3k=8LwM3ajjprgMpttcWS_LqT7oeA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

Recently Microsoft advertised
<https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/linux-live-remote-process-debugging#attach-gdbserver-to-the-selected-process>
their ability to connect their Windbg debugger to gdbserver running on a
remote machine through WSL. I have been trying to experiment with that. I
ssh into a linux machine through WSL. When I try to connect using Windbg,
the connection is successfully established but gdbserver dies with:

../../gdbserver/regcache.cc:271: A problem internal to GDBserver has been
detected.
Unknown register ymm0h requested

A bit of searching on the interwebs revealed this to be a problem with a
particular version of gdbserver (< 7.0) but I am running the latest (14.2),
so it probably isn't a version issue.

Interestingly I am successfully able to connect from yet another linux
machine from gdb to gdbserver just fine.

Any ideas on why or how this might have happened?

             reply	other threads:[~2024-03-07  1:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07  1:58 Dilip Ranganathan [this message]
2024-03-11 15:38 ` 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:
  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='CALEPxfsnjisE35kUHCC+r3k=8LwM3ajjprgMpttcWS_LqT7oeA@mail.gmail.com' \
    --to=misc.usage@gmail.com \
    --cc=gdb@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).