public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.
@ 2015-09-10  9:22 Mihail-Marian Nistor
  2015-09-10 11:45 ` Yao Qi
  0 siblings, 1 reply; 7+ messages in thread
From: Mihail-Marian Nistor @ 2015-09-10  9:22 UTC (permalink / raw)
  To: gdb-patches; +Cc: Mihail-Marian Nistor

Install gdbarch_skip_solib_resolver on aarch64 GNU/Linux

gdb/ChangeLog:
2015-09-10  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/aarch64-linux-tdep.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
index f8cf43e..07ee1ea 100644
--- a/gdb/aarch64-linux-tdep.c
+++ b/gdb/aarch64-linux-tdep.c
@@ -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);
 
-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.
  2015-09-10  9:22 [PATCH] gdb/18947: [aarch64]Step into shared library is very slow Mihail-Marian Nistor
@ 2015-09-10 11:45 ` Yao Qi
  2015-09-10 12:11   ` Nistor Mihail
  0 siblings, 1 reply; 7+ messages in thread
From: Yao Qi @ 2015-09-10 11:45 UTC (permalink / raw)
  To: Mihail-Marian Nistor; +Cc: gdb-patches

Mihail-Marian Nistor <mihail.nistor@freescale.com> writes:

Hi Mihail-Marian,

> Install gdbarch_skip_solib_resolver on aarch64 GNU/Linux
>
> gdb/ChangeLog:
> 2015-09-10  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.

The patch is OK if you run GDB testsuite for aarch64-linux, and no
regressions.  If you don't have an env set up for running GDB testsuite,
I can test it for you.

-- 
Yao (齐尧)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.
  2015-09-10 11:45 ` Yao Qi
@ 2015-09-10 12:11   ` Nistor Mihail
  2015-09-10 13:56     ` Yao Qi
  0 siblings, 1 reply; 7+ messages in thread
From: Nistor Mihail @ 2015-09-10 12:11 UTC (permalink / raw)
  To: Yao Qi; +Cc: gdb-patches

Hi Yao,

I have run GDB testsuite for aarch64 and I don't see any regression. 

Best regards,
Mihai

-----Original Message-----
From: Yao Qi [mailto:qiyaoltc@gmail.com] 
Sent: Thursday, September 10, 2015 2:46 PM
To: Nistor Mihail-MNISTOR1 <mihail.nistor@freescale.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.

Mihail-Marian Nistor <mihail.nistor@freescale.com> writes:

Hi Mihail-Marian,

> Install gdbarch_skip_solib_resolver on aarch64 GNU/Linux
>
> gdb/ChangeLog:
> 2015-09-10  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.

The patch is OK if you run GDB testsuite for aarch64-linux, and no regressions.  If you don't have an env set up for running GDB testsuite, I can test it for you.

--
Yao (齐尧)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.
  2015-09-10 12:11   ` Nistor Mihail
@ 2015-09-10 13:56     ` Yao Qi
  2015-09-10 14:09       ` Nistor Mihail
  0 siblings, 1 reply; 7+ messages in thread
From: Yao Qi @ 2015-09-10 13:56 UTC (permalink / raw)
  To: Nistor Mihail; +Cc: Yao Qi, gdb-patches

Nistor Mihail <mihail.nistor@freescale.com> writes:

> I have run GDB testsuite for aarch64 and I don't see any regression. 

Great, please push your commit in then.

-- 
Yao (齐尧)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.
  2015-09-10 13:56     ` Yao Qi
@ 2015-09-10 14:09       ` Nistor Mihail
  2015-09-11 14:26         ` Yao Qi
  0 siblings, 1 reply; 7+ messages in thread
From: Nistor Mihail @ 2015-09-10 14:09 UTC (permalink / raw)
  To: Yao Qi; +Cc: gdb-patches

Hi Yao,

I don't have the write access on git. Could you please put this patch on git.

Best regards,
Mihai
-----Original Message-----
From: Yao Qi [mailto:qiyaoltc@gmail.com] 
Sent: Thursday, September 10, 2015 4:56 PM
To: Nistor Mihail-MNISTOR1 <mihail.nistor@freescale.com>
Cc: Yao Qi <qiyaoltc@gmail.com>; gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.

Nistor Mihail <mihail.nistor@freescale.com> writes:

> I have run GDB testsuite for aarch64 and I don't see any regression. 

Great, please push your commit in then.

-- 
Yao (齐尧)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.
  2015-09-10 14:09       ` Nistor Mihail
@ 2015-09-11 14:26         ` Yao Qi
  2015-09-14  9:06           ` Nistor Mihail
  0 siblings, 1 reply; 7+ messages in thread
From: Yao Qi @ 2015-09-11 14:26 UTC (permalink / raw)
  To: Nistor Mihail; +Cc: Yao Qi, gdb-patches

Nistor Mihail <mihail.nistor@freescale.com> writes:

> I don't have the write access on git. Could you please put this patch on git.

Sure, patch is pushed into mainline.  I plan to push it in to 7.10
branch too.  Mihail-Marian, thanks for your contribution!

For the record, I checked that freescale has the copyright assignment,
so we can push it in.

-- 
Yao (齐尧)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.
  2015-09-11 14:26         ` Yao Qi
@ 2015-09-14  9:06           ` Nistor Mihail
  0 siblings, 0 replies; 7+ messages in thread
From: Nistor Mihail @ 2015-09-14  9:06 UTC (permalink / raw)
  To: Yao Qi; +Cc: gdb-patches

Hi Yao,

Thank you very much for your support.

Best regards,
Mihai

-----Original Message-----
From: Yao Qi [mailto:qiyaoltc@gmail.com] 
Sent: Friday, September 11, 2015 5:27 PM
To: Nistor Mihail-MNISTOR1 <mihail.nistor@freescale.com>
Cc: Yao Qi <qiyaoltc@gmail.com>; gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb/18947: [aarch64]Step into shared library is very slow.

Nistor Mihail <mihail.nistor@freescale.com> writes:

> I don't have the write access on git. Could you please put this patch on git.

Sure, patch is pushed into mainline.  I plan to push it in to 7.10 branch too.  Mihail-Marian, thanks for your contribution!

For the record, I checked that freescale has the copyright assignment, so we can push it in.

--
Yao (齐尧)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-14  9:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-10  9:22 [PATCH] gdb/18947: [aarch64]Step into shared library is very slow Mihail-Marian Nistor
2015-09-10 11:45 ` Yao Qi
2015-09-10 12:11   ` Nistor Mihail
2015-09-10 13:56     ` Yao Qi
2015-09-10 14:09       ` Nistor Mihail
2015-09-11 14:26         ` Yao Qi
2015-09-14  9:06           ` Nistor Mihail

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).