This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/18947] New: [aarch64]Step into shared library is very slow.


https://sourceware.org/bugzilla/show_bug.cgi?id=18947

            Bug ID: 18947
           Summary: [aarch64]Step into shared library is very slow.
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: mihail.nistor at freescale dot com
  Target Milestone: ---

For aarch64, the gdbarch_skip_solib_resolver() returns zero and the GDB
just single-steps through the dynamic linker, with works, but is very slow.
We should install the glibc_skip_solib_resolver as gdbarch_skip_solib_resolver
callback to let the GDB setting a breakpoint at address where it returns from
the dynamic linker.

I will send a patch for this fix.

./gdb --version
GNU gdb (GDB) 7.10.50.20150910-cvs
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-linux-gnu
--target=aarch64-fsl-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".

./gdb --config
This GDB was configured as follows:
   configure --host=x86_64-linux-gnu --target=aarch64-fsl-linux
             --with-auto-load-dir=$debugdir:$datadir/auto-load
             --with-auto-load-safe-path=/
             --with-expat
            
--with-gdb-datadir=/home/work/gdb/gdb_head/build_arm/install/share/gdb
(relocatable)
            
--with-jit-reader-dir=/home/work/gdb/gdb_head/build_arm/install/lib/gdb
(relocatable)
             --without-libunwind-ia64
             --without-lzma
             --with-python=/usr
             --without-guile
            
--with-separate-debug-dir=/home/work/gdb/gdb_head/build_arm/install/lib/debug
(relocatable)
             --without-babeltrace

("Relocatable" means the directory can be moved with the GDB installation
tree, and GDB will still find it.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]