Move target_read_string to target/target.c
authorTom Tromey <tromey@adacore.com>
Wed, 13 Apr 2022 12:42:19 +0000 (06:42 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 14 Apr 2022 18:12:34 +0000 (12:12 -0600)
commitb17c7ab3808f5b781537514b28695dafaa29cb28
tree4d542aeb0071db24f24d08333ab99198ad4b0cf6
parent9da74023eb9378315d6b7e1bae02f52cfecc8bd1
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.
gdb/Makefile.in
gdb/target.c
gdb/target.h
gdb/target/target.c [new file with mode: 0644]
gdb/target/target.h
gdb/valprint.c
gdb/valprint.h
gdbserver/Makefile.in