Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* next/step after main() function's return
@ 2010-12-27 22:34 Edjunior Barbosa Machado
  2010-12-28  5:21 ` Joel Brobecker
  2010-12-28 23:05 ` Michael Snyder
  0 siblings, 2 replies; 11+ messages in thread
From: Edjunior Barbosa Machado @ 2010-12-27 22:34 UTC (permalink / raw)
  To: gdb

Hello,

when issuing a next or step after main() function's return statement, gdb drops to __libc_start_main() from libc on x86 (or generic_start_main() on ppc and so on, depending on the arch if I'm not mistaken). Is it considered a bug or it's just the expected behavior?

Thanks,
-- 
Edjunior


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

end of thread, other threads:[~2010-12-29 19:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-27 22:34 next/step after main() function's return Edjunior Barbosa Machado
2010-12-28  5:21 ` Joel Brobecker
2010-12-28  8:24   ` Jan Kratochvil
2010-12-28 23:02     ` Michael Snyder
2010-12-29  2:26       ` Joel Brobecker
2010-12-29  2:37         ` Jan Kratochvil
2010-12-29  2:49           ` Joel Brobecker
2010-12-29  3:07             ` Jan Kratochvil
2010-12-29 19:26         ` Michael Snyder
2010-12-28 23:05 ` Michael Snyder
2010-12-29  3:58   ` Edjunior Barbosa Machado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox