Remove a use of target_read_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:10 +0000 (06:28 -0600)
commita5d871ddaf2aa8462922ed25b0c0dc7f02128cb9
tree58bb13fd9e677c9592da1f9a740b091d0654aff0
parent670e35fad9c17e8e166c5a6260201eebcc2ba9e6
Remove a use of target_read_string

linux-tdep.c:dump_mapping_p uses target_read_string, but in a way that
does not really make sense.  It's better to use target_read_memory
here.

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

* linux-tdep.c (dump_mapping_p): Use target_read_memory.
gdb/ChangeLog
gdb/linux-tdep.c