public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Luis Machado <luisgpm@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] Fix build failure for aarch64 gdbserver
Date: Wed,  4 May 2022 14:37:53 +0000 (GMT)	[thread overview]
Message-ID: <20220504143753.50600385626B@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d8a735330883faa2670ccf70880f04b3c29683ed

commit d8a735330883faa2670ccf70880f04b3c29683ed
Author: Luis Machado <luis.machado@arm.com>
Date:   Wed May 4 15:07:42 2022 +0100

    Fix build failure for aarch64 gdbserver
    
    We're missing an argument.

Diff:
---
 gdbserver/linux-aarch64-low.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdbserver/linux-aarch64-low.cc b/gdbserver/linux-aarch64-low.cc
index d1e7acb7b4a..ba0a810e0f9 100644
--- a/gdbserver/linux-aarch64-low.cc
+++ b/gdbserver/linux-aarch64-low.cc
@@ -193,7 +193,7 @@ is_64bit_tdesc (void)
 {
   /* We may not have a current thread at this point, so go straight to
      the process's target description.  */
-  return register_size (current_process ()->tdesc) == 8;
+  return register_size (current_process ()->tdesc, 0) == 8;
 }
 
 static void


                 reply	other threads:[~2022-05-04 14:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220504143753.50600385626B@sourceware.org \
    --to=luisgpm@sourceware.org \
    --cc=gdb-cvs@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).