Re: help needed in debug please
- From: JimS <sorry@xxxxxxx>
- Date: Sat, 31 Dec 2005 19:51:31 +1100
On 30 Dec 2005 23:23:34 -0800, "pmm" <muralipmanohar@xxxxxxxxxxx>
wrote:
>Hi , Thanks for the reply
>Its my mistake to specify as ANSI C I am sorry for that
> I am on linux Redhat 9, GCC version 3.2.2
>target board is on i386-linux snapgear build for amd processor
OT
I feel your pain. I've spent my entire career debugging games
consoles and embedded systems with no debuggers. Printf is your best
friend, especially if you have an unbuffered version.
Try not starting some of the threads and see what happens.
If this is something new that's happening, go back to old working code
in your source management tool and roll versions forward until the
problem re-occurs. If it's new code, try doing a code review and
working through tough areas of code on paper. Code reviews work.
Add some exception handling to your OS. Give each thread a name at
initialisation so the exception handler can print the name of the
crashing thread.
Try building the code with maxiumum warnings and maximum standards
compliance enabled. Try building with another compiler on another
platform.
Jim
.
- Follow-Ups:
- Re: help needed in debug please
- From: pmm
- Re: help needed in debug please
- References:
- help needed in debug please
- From: pmm
- Re: help needed in debug please
- From: Lew Pitcher
- Re: help needed in debug please
- From: pmm
- help needed in debug please
- Prev by Date: Re: help needed in debug please
- Next by Date: Re: help needed in debug please
- Previous by thread: Re: help needed in debug please
- Next by thread: Re: help needed in debug please
- Index(es):