public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18947] New: [aarch64]Step into shared library is very slow.
@ 2015-09-10 8:18 mihail.nistor at freescale dot com
2015-09-10 9:23 ` [Bug gdb/18947] " mihail.nistor at freescale dot com
2015-09-11 14:27 ` cvs-commit at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: mihail.nistor at freescale dot com @ 2015-09-10 8:18 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gdb/18947] [aarch64]Step into shared library is very slow.
2015-09-10 8:18 [Bug gdb/18947] New: [aarch64]Step into shared library is very slow mihail.nistor at freescale dot com
@ 2015-09-10 9:23 ` mihail.nistor at freescale dot com
2015-09-11 14:27 ` cvs-commit at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: mihail.nistor at freescale dot com @ 2015-09-10 9:23 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18947
Mihail-Marian Nistor <mihail.nistor at freescale dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mihail.nistor at freescale dot com
--- Comment #1 from Mihail-Marian Nistor <mihail.nistor at freescale dot com> ---
Hi all,
I have sent a patch file to gdb-patches@sourceware.org mail-list.
I'm looking forward to receiving the feedback.
Best regards,
Mihai
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gdb/18947] [aarch64]Step into shared library is very slow.
2015-09-10 8:18 [Bug gdb/18947] New: [aarch64]Step into shared library is very slow mihail.nistor at freescale dot com
2015-09-10 9:23 ` [Bug gdb/18947] " mihail.nistor at freescale dot com
@ 2015-09-11 14:27 ` cvs-commit at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-09-11 14:27 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18947
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Yao Qi <qiyao@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6dcaef99fab7e59e3eeb16a95d4c29b7b499b408
commit 6dcaef99fab7e59e3eeb16a95d4c29b7b499b408
Author: Mihail-Marian Nistor <mihail.nistor@freescale.com>
Date: Fri Sep 11 15:22:11 2015 +0100
gdb/18947: [aarch64]Step into shared library is very slow.
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>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-11 14:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-10 8:18 [Bug gdb/18947] New: [aarch64]Step into shared library is very slow mihail.nistor at freescale dot com
2015-09-10 9:23 ` [Bug gdb/18947] " mihail.nistor at freescale dot com
2015-09-11 14:27 ` cvs-commit at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).