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: serial console output problem



think you for your reply.
I load and run the hello.c program (using /dev/tty0 console).Follow is the gdb output information:
-------------------------------------------------------------------------------


(gdb) target remote com1
Remote debugging using com1
0x01003318 in ?? ()
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x40000
Loading section .text, size 0x13bb4 lma 0x40040
Loading section .rodata, size 0x3cc lma 0x53bf4
Loading section .data, size 0x4a0 lma 0x53fc0
Start address 0x40040, load size 83040
Transfer rate: 27680 bits/sec, 304 bytes/write.
(gdb) continue
Continuing.
[New Thread 2]

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 2]
0xe3ff0000 in ?? ()
(gdb)
------------------------------------------------------------------------

What is the error? How can I do?


From: Nick Garnett <nickg@ecoscentric.com>
To: "hua liu" <rongye_liu@hotmail.com>
CC: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] serial console output problem
Date: 22 Jul 2004 11:30:04 +0100

"hua liu" <rongye_liu@hotmail.com> writes:

> $T050f:0200ffe3;0d:f0320500;#b3$T050f:0200ffe3;0d:f0320500;#b3

This output is from the GDB stub. Try loading and running the program
with GDB, it should then tell you where it is failing. In general you
should be using GDB to run programs that you are still developing.

--
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


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


_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com



-- 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]