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/12130] gdb: backtrace on stripped binary much slower thanon binary with debug info


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.


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