This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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: Output of printf command



The output is as follows :

GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf".

But when I select "use xterm as inferrior" I still get no visible output.

Thanks,
Dave

>On Mon, 28 Jan 2002, David Mc Kenna wrote:
>
>> Having compiled Insight/GDB 5.1.1 I am experiencing a problem.
>>
>> When I try to run GDB, Insight with -nw , and executed a simple hello world

>> program, Hello world gets printed in the GDB console. When I run Insight
GUI
>> with the same program, the output does not get printed. Could this be because

>> when I launch Insight that no "hooks" are left in my console window, i.e.
I
>> can execute new commands in my bash shell. If so how do I fix this? When
I run
>> the program I get a message in the console window of Insight ( View/Console)

>> that the program has exited normally.
>
>What does gdb -v say? (Need to know host and target)
>
>In general, if you are using Insight on unix, all terminal i/o will go to
>the controlling terminal (and yes, you must have one, so you cannot
>background Insight in this case). Alternatively, you could use the Run
>button and File->Target Settings... to select "Use xterm as inferior's
>tty". Then you should be able to use Insight without a cntrolling
>terminal.
>
>On Windows, you'll get the command shell when you your application, so
>that will behave the same as the "use xterm for inferior's tty" case for
>unix. (I think! ;-)
>
>Keith
>


--
http://www.iol.ie


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