]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/valprint.c
Remove the byte order parameter to target_read_string
authorTom Tromey <tromey@adacore.com>
Wed, 13 Apr 2022 12:32:28 +0000 (06:32 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 14 Apr 2022 18:12:34 +0000 (12:12 -0600)
commit9da74023eb9378315d6b7e1bae02f52cfecc8bd1
treec519554680c772ab554cbc6a4083000842dbda67
parent3b1bdd53b5a9f0798a9315fa9309d2979045aeaf
Remove the byte order parameter to target_read_string

target_read_string takes a byte order parameter, but only uses this to
check whether a given character is zero.  This is readily done without
requiring the parameter, so remove it.
gdb/c-lang.c
gdb/target.c
gdb/valprint.c
gdb/valprint.h