public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: William Tambe <tambewilliam@gmail.com>
To: gdb@sourceware.org
Subject: warning: Target-supplied registers are not supported by the current architecture
Date: Sun, 8 Oct 2023 18:13:41 -0500	[thread overview]
Message-ID: <CAF8i9mM7S8_nCa1k0EEBNKTDQHz=KLYZ3RA3tQ1R8Ej6W7uhsw@mail.gmail.com> (raw)

I am working on gdbserver support.

I am able to remotely execute the executable and set breakpoints,
however right after issuing the `target remote` command, I am getting
following warning:

(gdb) target remote 192.168.1.164:2000
Remote debugging using 192.168.1.164:2000
warning: Target-supplied registers are not supported by the current architecture

Error message is coming from gdb/target-descriptions.c at line 576,
due to data->arch_regs.empty () return true.

Any idea what I might have missed causing data->arch_regs.empty () to
return true ?

Best Regards,
William

             reply	other threads:[~2023-10-08 23:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-08 23:13 William Tambe [this message]
2023-10-09  6:45 ` Aktemur, Tankut Baris
2023-10-09 10:46   ` William Tambe
2023-10-09 11:23     ` Luis Machado
2023-10-09 12:09       ` William Tambe
2023-10-09 12:18         ` Luis Machado

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='CAF8i9mM7S8_nCa1k0EEBNKTDQHz=KLYZ3RA3tQ1R8Ej6W7uhsw@mail.gmail.com' \
    --to=tambewilliam@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).