[gdb/aarch64] Use safer memory read routines
authorLuis Machado <luis.machado@arm.com>
Mon, 31 Oct 2022 13:26:20 +0000 (13:26 +0000)
committerLuis Machado <luis.machado@arm.com>
Thu, 10 Nov 2022 00:31:02 +0000 (00:31 +0000)
commit94355de7751579b0182bd5821a3223939054f5d7
treef57cd9fd31f8562ca42a682e2790158954f76a12
parent8a484e98aecc25737a1391d12d5881a170f2fe6a
[gdb/aarch64] Use safer memory read routines

  PR tdep/28796

  As reported, we are using some memory read routines that don't handle read
  errors gracefully. Convert those to use the safe_* versions if available.

  This allows the code to handle those read errors in a more sensible way.

  Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28796
gdb/aarch64-tdep.c