aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/utils.cc')
-rw-r--r--gdbserver/utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbserver/utils.cc b/gdbserver/utils.cc
index 57fceb1..a86405e 100644
--- a/gdbserver/utils.cc
+++ b/gdbserver/utils.cc
@@ -1,5 +1,5 @@
/* General utility routines for the remote server for GDB.
- Copyright (C) 1986-2024 Free Software Foundation, Inc.
+ Copyright (C) 1986-2025 Free Software Foundation, Inc.
This file is part of GDB.
@@ -102,5 +102,5 @@ internal_vwarning (const char *file, int line, const char *fmt, va_list args)
const char *
paddress (CORE_ADDR addr)
{
- return phex_nz (addr, sizeof (CORE_ADDR));
+ return phex_nz (addr);
}