public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Fix build failure for aarch64 gdbserver
@ 2022-05-04 14:37 Luis Machado
  0 siblings, 0 replies; only message in thread
From: Luis Machado @ 2022-05-04 14:37 UTC (permalink / raw)
  To: gdb-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-04 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04 14:37 [binutils-gdb] Fix build failure for aarch64 gdbserver Luis Machado

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