diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0e63ed261d2..e198c936038 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-11-09 Yao Qi + + * arm-tdep.c (arm_exidx_new_objfile): Use + ELF_STRING_ARM_unwind. + 2015-11-09 Yao Qi * infrun.c (displaced_step_in_progress_thread): New function. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 3a6c6d86554..308d484f856 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -2219,7 +2219,7 @@ arm_exidx_new_objfile (struct objfile *objfile) cleanups = make_cleanup (null_cleanup, NULL); /* Read contents of exception table and index. */ - exidx = bfd_get_section_by_name (objfile->obfd, ".ARM.exidx"); + exidx = bfd_get_section_by_name (objfile->obfd, ELF_STRING_ARM_unwind); if (exidx) { exidx_vma = bfd_section_vma (objfile->obfd, exidx);