diff options
author | Tom Tromey <tromey@adacore.com> | 2022-04-13 06:32:28 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-04-14 12:12:34 -0600 |
commit | 9da74023eb9378315d6b7e1bae02f52cfecc8bd1 (patch) | |
tree | c519554680c772ab554cbc6a4083000842dbda67 /gdb/valprint.h | |
parent | 3b1bdd53b5a9f0798a9315fa9309d2979045aeaf (diff) | |
download | binutils-9da74023eb9378315d6b7e1bae02f52cfecc8bd1.zip binutils-9da74023eb9378315d6b7e1bae02f52cfecc8bd1.tar.gz binutils-9da74023eb9378315d6b7e1bae02f52cfecc8bd1.tar.bz2 |
Remove the byte order parameter to target_read_string
target_read_string takes a byte order parameter, but only uses this to
check whether a given character is zero. This is readily done without
requiring the parameter, so remove it.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r-- | gdb/valprint.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h index 2f4a502..b12495b 100644 --- a/gdb/valprint.h +++ b/gdb/valprint.h @@ -167,7 +167,6 @@ extern void print_function_pointer_address (const struct value_print_options *op extern int target_read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit, - enum bfd_endian byte_order, gdb::unique_xmalloc_ptr<gdb_byte> *buffer, int *bytes_read); |