Re: help needed in debug please




JimS wrote:

> 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

Hi,
Thanks for reply
I am working on your suggestions
thanks again
bye
PMM

.