Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb Add missing nbsd_init_abi() call ...



details:   https://anonhg.NetBSD.org/src/rev/f2233ea8fc15
branches:  trunk
changeset: 983732:f2233ea8fc15
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Jun 04 01:42:14 2021 +0000

description:
Add missing nbsd_init_abi() call to aarch64_nbsd_init_abi().

Fix tests/usr.bin/gdb/t_regress:pie on aarch64eb (types of auxv was
misinterpreted), and hopefully other strange behaviors on aarch64{,eb}.

This is a regression introduced in GDB11. Neither gdb.old nor release
branches are affected.

diffstat:

 external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 53b9bb8c4550 -r f2233ea8fc15 external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.c    Thu Jun 03 20:18:06 2021 +0000
+++ b/external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.c    Fri Jun 04 01:42:14 2021 +0000
@@ -182,6 +182,8 @@
 {
   struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
 
+  nbsd_init_abi (info, gdbarch);
+
   set_solib_svr4_fetch_link_map_offsets (gdbarch,
                                         svr4_lp64_fetch_link_map_offsets);
 



Home | Main Index | Thread Index | Old Index