This is the mail archive of the ecos-discuss@sourceware.org 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: where's the printf output?


On Mon, Apr 27, 2009 at 10:18:06AM -0500, Jeffrey Krasky wrote:
> Thanks Sergei, that was exactly what I needed to do regarding why I  
> couldn't compile.
>
> Now that I have a 'hello' executable, among others, how come when I do:
>
>> i386-elf-gdb -nw hello
>
> I don't see the "Hello, eCos world!" message printed?
>
> I take it some other setting is wrong?
>

try

$ gdb -q -nx hello
(gdb) set args -io -nw
(gdb) b main
(gdb) run
(gdb) n

...

Sergei

> Thanks,
>
>
> Jeff

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