This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/insight problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]