aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-04-13 06:42:19 -0600
committerTom Tromey <tromey@adacore.com>2022-04-14 12:12:34 -0600
commitb17c7ab3808f5b781537514b28695dafaa29cb28 (patch)
tree4d542aeb0071db24f24d08333ab99198ad4b0cf6 /gdb/valprint.h
parent9da74023eb9378315d6b7e1bae02f52cfecc8bd1 (diff)
downloadfsf-binutils-gdb-b17c7ab3808f5b781537514b28695dafaa29cb28.zip
fsf-binutils-gdb-b17c7ab3808f5b781537514b28695dafaa29cb28.tar.gz
fsf-binutils-gdb-b17c7ab3808f5b781537514b28695dafaa29cb28.tar.bz2
Move target_read_string to target/target.c
This moves the two overloads of target_read_string to a new file, target/target.c, and updates both gdb and gdbserver to build this.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r--gdb/valprint.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h
index b12495b..ff536fb 100644
--- a/gdb/valprint.h
+++ b/gdb/valprint.h
@@ -165,11 +165,6 @@ extern void print_function_pointer_address (const struct value_print_options *op
CORE_ADDR address,
struct ui_file *stream);
-extern int target_read_string (CORE_ADDR addr, int len, int width,
- unsigned int fetchlimit,
- gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
- int *bytes_read);
-
/* Helper function to check the validity of some bits of a value.
If TYPE represents some aggregate type (e.g., a structure), return 1.