Re: Finding code exit points w/in gdb
Re: Finding code exit points w/in gdb
- Subject: Re: Finding code exit points w/in gdb
- From: Jonas Maebe <email@hidden>
- Date: Fri, 6 Aug 2010 20:05:33 +0200
On 06 Aug 2010, at 19:22, Jonathon Kuo wrote:
> there a way, when running a program in the gdb debugger, to find from what line in the code the program has exited? Is there a way to keep some sort of function invocation call trace? I've inherited some (very) convoluted legacy code and there are times when it will orderly exit from underneath me. Finding all the code execution paths has been difficult.
Set a breakpoint on _exit.
Jonas _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden