public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Unwinding stack past main() when it has another name
@ 2005-06-15 12:46 Hamish Rodda
  2005-06-15 14:16 ` Daniel Jacobowitz
  0 siblings, 1 reply; 12+ messages in thread
From: Hamish Rodda @ 2005-06-15 12:46 UTC (permalink / raw)
  To: gdb

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

Hi,

I'm just curious if there's a better solution for a problem I've come up 
against recently.  I have been using gdb 6.3 and finding that all of my kde 
program backtraces contain hundreds of irrelevant and corrupt-looking frames. 
Upgrading to cvs fixed most of the problem (the corrupt looking frames), but 
some frames still remain before the main function, which in kde programs is 
called kdemain().

Is there something the kde sources can do to have gdb recognise kdemain() as 
the replacement main() function, and thus prevent gdb from unwinding past it?

Thanks,
Hamish.

PS. please cc me on replies as I am not subscribed.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-06-18 13:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-15 12:46 Unwinding stack past main() when it has another name Hamish Rodda
2005-06-15 14:16 ` Daniel Jacobowitz
2005-06-15 15:14   ` Hamish Rodda
2005-06-15 16:37     ` Daniel Jacobowitz
2005-06-16  7:42       ` Hamish Rodda
2005-06-16 13:23         ` Daniel Jacobowitz
2005-06-16 21:22           ` Steven Johnson
2005-06-16 22:05             ` Daniel Jacobowitz
2005-06-16 22:46               ` Steven Johnson
2005-06-17 11:21               ` Richard Earnshaw
2005-06-18 13:13                 ` Eli Zaretskii
2005-06-16 23:36             ` Mark Kettenis

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