diff options
author | Tom Tromey <tromey@adacore.com> | 2022-04-13 06:42:19 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-04-14 12:12:34 -0600 |
commit | b17c7ab3808f5b781537514b28695dafaa29cb28 (patch) | |
tree | 4d542aeb0071db24f24d08333ab99198ad4b0cf6 /gdb/valprint.h | |
parent | 9da74023eb9378315d6b7e1bae02f52cfecc8bd1 (diff) | |
download | binutils-b17c7ab3808f5b781537514b28695dafaa29cb28.zip binutils-b17c7ab3808f5b781537514b28695dafaa29cb28.tar.gz binutils-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.h | 5 |
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. |