Remove read_memory_string
authorTom Tromey <tromey@adacore.com>
Mon, 15 Jun 2020 12:28:09 +0000 (06:28 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 15 Jun 2020 12:28:09 +0000 (06:28 -0600)
commitf5272a3bb3928e8e45a122c19aa72a00a23a9d4d
tree99e7e7b4f363afdc8929b9557860af4bfed3f23a
parentff08abb8a2cdb449314b68ebc6ba8edf475fb415
Remove read_memory_string

read_memory_string is redundant and only called in a couple of spots.
This patch removes it in favor of target_read_string.

gdb/ChangeLog
2020-06-15  Tom Tromey  <tromey@adacore.com>

* corefile.c (read_memory_string): Remove.
* ada-valprint.c (ada_value_print_ptr): Update.
* ada-lang.h (ada_tag_name): Change return type.
* ada-lang.c (type_from_tag): Update.
(ada_tag_name_from_tsd): Change return type.  Use
target_read_string.
(ada_tag_name): Likewise.
* gdbcore.h (read_memory_string): Don't declare.
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-lang.h
gdb/ada-valprint.c
gdb/corefile.c
gdb/gdbcore.h
This page took 0.024707 seconds and 4 git commands to generate.