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]

FW: ecos and gdb


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


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