From: Luis Machado Date: Wed, 4 May 2022 14:07:42 +0000 (+0100) Subject: Fix build failure for aarch64 gdbserver X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8a735330883faa2670ccf70880f04b3c29683ed;p=binutils-gdb.git Fix build failure for aarch64 gdbserver We're missing an argument. --- 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