This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12130] gdb: backtrace on stripped binary much slower thanon binary with debug info
- From: "edwin+sourceware at etorok dot net"<sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 13 Jul 2012 18:44:44 +0000
- Subject: [Bug gdb/12130] gdb: backtrace on stripped binary much slower thanon binary with debug info
- Auto-submitted: auto-generated
- References: <bug-12130-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12130
--- Comment #4 from TÃrÃk Edwin <edwin+sourceware at etorok dot net> 2012-07-13 18:44:44 UTC ---
(In reply to comment #3)
> With current CVS trunk gdb I get pretty similar results for both:
>
> barimba. sh -x RunIt.sh
> + gcc -g -o pr pr.c
> + echo 'With debuginfo:'
> With debuginfo:
> + gdb --batch-silent -ex run -ex 'bt -16' ./pr
>
> real 0m21.787s
> user 0m18.759s
> sys 0m2.440s
> + echo 'Without debug info (stripped):'
> Without debug info (stripped):
> + strip pr
> + gdb --batch-silent -ex run -ex 'bt -16' ./pr
>
> real 0m19.851s
> user 0m17.299s
> sys 0m2.340s
Sounds promising.
> Could you possibly try a newer gdb and see if the problem has been fixed
> for you as well?
I get 14s vs 49s using GDB 7.4.1, will try CVS version a bit later.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.