X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fhppa-tdep.c;h=1ee1b0ba286e29836fa664b8c251448a652537e2;hb=6a053cb1ff643cec3349d7f2f47ae5573f82d613;hp=70f06585af68ca21a00d42ec1164595d3e5f96b0;hpb=cb8c24b66178a2b7efcfa396ac54fb7252493d9c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 70f06585af..1ee1b0ba28 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for the HP PA-RISC architecture. - Copyright (C) 1986-2019 Free Software Foundation, Inc. + Copyright (C) 1986-2020 Free Software Foundation, Inc. Contributed by the Center for Software Science at the University of Utah (pa-gdb-bugs@cs.utah.edu). @@ -357,7 +357,7 @@ read_unwind_info (struct objfile *objfile) struct hppa_unwind_info *ui; struct hppa_objfile_private *obj_private; - text_offset = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); + text_offset = objfile->section_offsets[SECT_OFF_TEXT (objfile)]; ui = (struct hppa_unwind_info *) obstack_alloc (&objfile->objfile_obstack, sizeof (struct hppa_unwind_info));