This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gdb/insight problem
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Avi Vaknin <avi at WavionNetworks dot com>
- Cc: eCos discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 16 Jun 2004 16:38:49 +0100
- Subject: [ECOS] Re: gdb/insight problem
- References: <C5FD9E27E9093747A8162A2CCE80AA3A22120D@srv001.wavionnetworks.com>
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