public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] FW: ecos and gdb
@ 2004-05-04  9:55 sabine moulayes
  0 siblings, 0 replies; 2+ messages in thread
From: sabine moulayes @ 2004-05-04  9:55 UTC (permalink / raw)
  To: ecos-discuss

hello,
i'm still with the "getting started with eCos" tutorial, and i have another 
problem....

i haven't the good respons on the output, i explain :

i made first :

v850-elf-gcc -g -I /home/myname/ecos/install/include hello.c -L 
/home/myname/ecos/install/lib -Ttarget.ld -nostdlib

as the tutorial says, it's the command to compile the hello.c
program, it made an executable : a.out

then i open the gdb :

v850-elf-gdb -nw a.out

then i open the connection :

(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0x000054b2 in ?? ()
(gdb)

it's ok, so i write "continue" , and i must have on the screen "Hello, eCos 
world!", because it's the aim of the program...
but i have :

(gdb) continue
Continuing.
[New Thread 3]

Program received signal SIGTRAP, Trace/breakpoint trap.
0x000054b2 in ?? ()
(gdb)


but i have no trace point an d no breakpoint in my program...
i don't understand what is the problem...
Did i do something wrong??
is someone know the response???

thanks
sabine

_________________________________________________________________
Recevez par e-mail des émoticônes pour MSN Messenger 
http://g.msn.fr/FR1001/2275?url=http://www.msn.fr/ilovemessenger/premium/Default.asp?Ath=f


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] FW: ecos and gdb
@ 2004-05-04  9:55 sabine moulayes
  0 siblings, 0 replies; 2+ messages in thread
From: sabine moulayes @ 2004-05-04  9:55 UTC (permalink / raw)
  To: ecos-discuss

hello,
i'm still with the "getting started with eCos" tutorial, and i have another 
problem....

i haven't the good respons on the output, i explain :

i made first :

v850-elf-gcc -g -I /home/myname/ecos/install/include hello.c -L 
/home/myname/ecos/install/lib -Ttarget.ld -nostdlib

as the tutorial says, it's the command to compile the hello.c
program, it made an executable : a.out

then i open the gdb :

v850-elf-gdb -nw a.out

then i open the connection :

(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0x000054b2 in ?? ()
(gdb)

it's ok, so i write "continue" , and i must have on the screen "Hello, eCos 
world!", because it's the aim of the program...
but i have :

(gdb) continue
Continuing.
[New Thread 3]

Program received signal SIGTRAP, Trace/breakpoint trap.
0x000054b2 in ?? ()
(gdb)


but i have no trace point an d no breakpoint in my program...
i don't understand what is the problem...
Did i do something wrong??
is someone know the response???

thanks
sabine

_________________________________________________________________
Recevez par e-mail des émoticônes pour MSN Messenger 
http://g.msn.fr/FR1001/2275?url=http://www.msn.fr/ilovemessenger/premium/Default.asp?Ath=f


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-04  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-04  9:55 [ECOS] FW: ecos and gdb sabine moulayes
  -- strict thread matches above, loose matches on Subject: below --
2004-05-04  9:55 sabine moulayes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).