public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug gdb/24918] GDB is very slow loading. [not found] <bug-24918-4717@http.sourceware.org/bugzilla/> @ 2020-07-31 15:40 ` peter_foelsche at mentor dot com 2020-07-31 15:43 ` cbiesinger at google dot com 2023-08-03 16:07 ` tromey at sourceware dot org 2 siblings, 0 replies; 3+ messages in thread From: peter_foelsche at mentor dot com @ 2020-07-31 15:40 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=24918 Peter Foelsche <peter_foelsche at mentor dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter_foelsche at mentor dot com --- Comment #2 from Peter Foelsche <peter_foelsche at mentor dot com> --- when using strace on a gdb process hanging in symbol loading, one can see pages of calls to deal with signal handling... rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {0x68a820, [], SA_RESTORER|SA_STACK, 0x3bfc60f710}, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {0x68a820, [], SA_RESTORER|SA_STACK, 0x3bfc60f710}, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {0x68a820, [], SA_RESTORER|SA_STACK, 0x3bfc60f710}, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {0x68a820, [], SA_RESTORER|SA_STACK, 0x3bfc60f710}, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {0x68a820, [], SA_RESTORER|SA_STACK, 0x3bfc60f710}, {SIG_DFL, [], SA_RESTORER, 0x3bfc60f710}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 -- 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/24918] GDB is very slow loading. [not found] <bug-24918-4717@http.sourceware.org/bugzilla/> 2020-07-31 15:40 ` [Bug gdb/24918] GDB is very slow loading peter_foelsche at mentor dot com @ 2020-07-31 15:43 ` cbiesinger at google dot com 2023-08-03 16:07 ` tromey at sourceware dot org 2 siblings, 0 replies; 3+ messages in thread From: cbiesinger at google dot com @ 2020-07-31 15:43 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=24918 Christian Biesinger <cbiesinger at google dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cbiesinger at google dot com --- Comment #3 from Christian Biesinger <cbiesinger at google dot com> --- gdb 9 had some performance improvements in this area, especially if you use 'maint set worker-threads unlimited'. Have you tried that? Also, strace is probably not that useful for this, try using a profiler instead (e.g. 'perf record' or sysprof) -- 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/24918] GDB is very slow loading. [not found] <bug-24918-4717@http.sourceware.org/bugzilla/> 2020-07-31 15:40 ` [Bug gdb/24918] GDB is very slow loading peter_foelsche at mentor dot com 2020-07-31 15:43 ` cbiesinger at google dot com @ 2023-08-03 16:07 ` tromey at sourceware dot org 2 siblings, 0 replies; 3+ messages in thread From: tromey at sourceware dot org @ 2023-08-03 16:07 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=24918 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot org Last reconfirmed| |2023-08-03 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #4 from Tom Tromey <tromey at sourceware dot org> --- There were further improvements in later versions of gdb. We rewrote the DWARF reader to speed it up. Can you try a more recent version? -- 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:[~2023-08-03 16:07 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-24918-4717@http.sourceware.org/bugzilla/> 2020-07-31 15:40 ` [Bug gdb/24918] GDB is very slow loading peter_foelsche at mentor dot com 2020-07-31 15:43 ` cbiesinger at google dot com 2023-08-03 16:07 ` tromey at sourceware dot 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).