forked from Imagelibrary/binutils-gdb
gdb: rename target_read_auxv(target_ops *) to target_read_auxv_raw
Having two overloads of target_read_auxv that don't have the same goals is confusing. Rename the one that reads from an explicit target_ops to target_read_auxv_raw. Also, it occured to me that the non-raw version could use the raw version, that reduces duplication a bit. Change-Id: I28e5f7cecbfcacd0174d4686efb3e4a23b4ad491
This commit is contained in:
@@ -780,7 +780,7 @@ aarch64_linux_core_read_description (struct gdbarch *gdbarch,
|
||||
struct target_ops *target, bfd *abfd)
|
||||
{
|
||||
asection *tls = bfd_get_section_by_name (abfd, ".reg-aarch-tls");
|
||||
gdb::optional<gdb::byte_vector> auxv = target_read_auxv (target);
|
||||
gdb::optional<gdb::byte_vector> auxv = target_read_auxv_raw (target);
|
||||
CORE_ADDR hwcap = linux_get_hwcap (auxv, target, gdbarch);
|
||||
CORE_ADDR hwcap2 = linux_get_hwcap2 (auxv, target, gdbarch);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user