This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

Console I/O when running the MIPS simulator


Hello -

I've been successful in building and running applications using the MIPS
simulator that's built-in to GDB.  Recently, I've been trying to do
console I/O (i.e., printf and friends) while running the simulator, and
this doesn't work (leads to exceptions or early exit from the
application).  I'm building my applications against an LSI-PMON-like
libgloss (in newlib).  mips-elf-run --help shows a "--firmware lsipmon"
command-line option, which led me to believe that this might work... but
it doesn't.  Am I taking the right approach?  Should I be expecting this
to work?

I'm working with gdb 6.4.0, gcc 2.95.3, and newlib 1.9.0.  I've also
tried gcc 3.1 with newlib 1.10.0, same result.  The target is mips-elf
(the MIPS I architecture).

Any guidance would be greatly appreciated!  Thanks!

Barry Wealand


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