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]

Re: using gdb to do embedded unit/regression testing


Daniel Jacobowitz <drow@false.org> said:

> On Mon, Nov 03, 2008 at 12:10:51PM -0700, EBo wrote:
> > ... If there is some other way to write diagnostic
> > strings to stdout other than `print "STRING"` which does not
> > require some call to malloc?  If so please let me know.  
> 
> Try the "echo" and "printf" commands instead.  These give you much
> more control over output.

Thanks! printf allows me to do exactly what I want!

  EBo --


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