aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@arm.com>2022-05-04 15:07:42 +0100
committerLuis Machado <luis.machado@arm.com>2022-05-04 15:36:47 +0100
commitd8a735330883faa2670ccf70880f04b3c29683ed (patch)
treedaaa65b561d37e0bf11e98dab00c8ab9dcbd0ef5 /gdbserver
parent716e54731f30bc60b2fc52996ebe4fc087420b2e (diff)
downloadgdb-d8a735330883faa2670ccf70880f04b3c29683ed.zip
gdb-d8a735330883faa2670ccf70880f04b3c29683ed.tar.gz
gdb-d8a735330883faa2670ccf70880f04b3c29683ed.tar.bz2
Fix build failure for aarch64 gdbserver
We're missing an argument.
Diffstat (limited to 'gdbserver')
-rw-r--r--gdbserver/linux-aarch64-low.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/linux-aarch64-low.cc b/gdbserver/linux-aarch64-low.cc
index d1e7acb..ba0a810 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