gdb/18947: [aarch64]Step into shared library is very slow.
authorMihail-Marian Nistor <mihail.nistor@freescale.com>
Fri, 11 Sep 2015 14:22:11 +0000 (15:22 +0100)
committerYao Qi <yao.qi@linaro.org>
Fri, 11 Sep 2015 14:22:11 +0000 (15:22 +0100)
Install gdbarch_skip_solib_resolver on aarch64 GNU/Linux

gdb/ChangeLog:

2015-09-11  Mihail-Marian Nistor  <mihail.nistor@freescale.com>

PR gdb/18947
* aarch64-linux-tdep.c: (aarch64_linux_init_abi): Install
glibc_skip_solib_resolver as gdbarch_skip_solib_resolver callback.

Signed-off-by: Mihail-Marian Nistor <mihail.nistor@freescale.com>
gdb/ChangeLog
gdb/aarch64-linux-tdep.c

index 2404edd..705b7eb 100644 (file)
@@ -1,3 +1,9 @@
+2015-09-11  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
+
+       PR gdb/18947
+       * aarch64-linux-tdep.c: (aarch64_linux_init_abi): Install
+       glibc_skip_solib_resolver as gdbarch_skip_solib_resolver callback.
+
 2015-09-10  Simon Marchi  <simon.marchi@ericsson.com>
 
        * ada-lang.c (scan_discrim_bound): Factor out arithmetic
index f8cf43e..07ee1ea 100644 (file)
@@ -961,6 +961,7 @@ aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
   /* Shared library handling.  */
   set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
+  set_gdbarch_skip_solib_resolver (gdbarch, glibc_skip_solib_resolver);
 
   tramp_frame_prepend_unwinder (gdbarch, &aarch64_linux_rt_sigframe);