[ECOS] Re: gdb/insight problem
Jonathan Larmour
jifl@eCosCentric.com
Wed Jun 16 15:38:00 GMT 2004
Avi Vaknin wrote:
> Hi,
> I don't understand how I can solve the problem through the set of GDB commands you sent me?
Shrug. Do nothing if you prefer.
Jifl
> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
> Sent: Wednesday, June 16, 2004 5:13 PM
> To: Avi Vaknin
> Cc: eCos Discuss
> Subject: Re: gdb/insight problem
>
>
> [ Keep things on list please - that's the condition of such help, so it
> benefits others ]
>
> Avi Vaknin wrote:
>
>>How?
>>How I can use command line GDB to find the problem in this case?
>>We run the following program:
>>
>>#include <stdio.h>
>>int main(int argc , char *argv())
>>{
>> printf("Hello . \n");
>>exit 0;
>>}
>>
>>Any idea?
>
>
> powerpc-eabi-gdb -nw hello.exe
> target remote TARGETNAME:9000
> load
> break main
> break exit
> continue
> step
> continue
>
>
> Where TARGETNAME is your target's DNS anme or IP addr.
>
> Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list