gem5/base
Steve Reinhardt 7e07aa9300 Fix cprintf bug, plus minor cleanup & better error messages.
base/cprintf.cc:
    Fix bug where a call with a format string with no specifiers
    but one or more arguments would crash.  Old code tried to print
    extra args using last available format, but in this case there
    was no format, hence the problem.  Now we just print "<extra arg>"
    for each extra arg.

    Also reorganized code a bit to make scope of fmt variable
    match the scope in which you can be confident it's meaningful.
base/cprintf.hh:
    Print specific error message instead of calling format_invalid().
base/cprintf_formats.hh:
    Clear Format object in constructor.
    Use specific error messages instead of format_invalid() function.

--HG--
extra : convert_revision : 87d5e902174e3eb2583131d056742af166540db0
2004-01-11 15:09:27 -08:00
..
compression Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
loader Fixed another small libelf problem, everything should work now, on any 2004-01-08 16:35:47 -05:00
bitfield.hh Import changeset 2003-10-07 10:41:54 -04:00
callback.hh Clean up callbacks 2003-10-20 21:38:32 -04:00
circlebuf.cc A little bit of code here and there to get more access to 2003-11-04 17:43:41 -05:00
circlebuf.hh A little bit of code here and there to get more access to 2003-11-04 17:43:41 -05:00
cprintf.cc Fix cprintf bug, plus minor cleanup & better error messages. 2004-01-11 15:09:27 -08:00
cprintf.hh Fix cprintf bug, plus minor cleanup & better error messages. 2004-01-11 15:09:27 -08:00
cprintf_formats.hh Fix cprintf bug, plus minor cleanup & better error messages. 2004-01-11 15:09:27 -08:00
date.cc Import changeset 2003-10-07 10:41:54 -04:00
dbl_list.hh Import changeset 2003-10-07 10:41:54 -04:00
endian.hh Import changeset 2003-10-07 10:41:54 -04:00
fast_alloc.cc Add #define parameter and corresponding build option to 2003-12-15 20:55:10 -08:00
fast_alloc.hh Add #define parameter and corresponding build option to 2003-12-15 20:55:10 -08:00
fifo_buffer.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
fifo_buffer.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
hashmap.hh Make the simulator compile on an Itanium. 2003-12-09 17:41:08 -05:00
hostinfo.cc Add support for getting the hostname 2003-12-15 18:24:02 -05:00
hostinfo.hh Add support for getting the hostname 2003-12-15 18:24:02 -05:00
hybrid_pred.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
hybrid_pred.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
inet.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
inet.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
inifile.cc Make stuff build on openbsd 2003-12-19 00:02:20 -05:00
inifile.hh Print a warning rather than failing if we're unserializing and there's an 2003-11-02 21:49:15 -08:00
intmath.cc Global whitespace fixes 2003-10-15 16:39:37 -04:00
intmath.hh Need to cast to avoid infinite recursion. 2003-10-15 17:36:10 -04:00
kgdb.h Import changeset 2003-10-07 10:41:54 -04:00
misc.cc Make error messages more informative on a non-full-system fault. 2003-11-01 10:59:06 -08:00
misc.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
mod_num.hh Import changeset 2003-10-07 10:41:54 -04:00
pollevent.cc Miscellaneous minor fixes/improvements. 2003-12-17 09:43:03 -08:00
pollevent.hh Add support for serialization 2003-10-30 15:15:27 -05:00
predictor.hh Get rid of lots of obsolete mentions of stat_sdb_t. 2003-10-29 22:22:03 -08:00
random.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
random.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
range.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
refcnt.hh Import changeset 2003-10-07 10:41:54 -04:00
remote_gdb.cc remote_gdb.cc: 2003-12-04 19:26:31 -05:00
remote_gdb.hh Initial support for CPU switching. New SamplingCPU object encompasses a set 2003-10-23 19:07:52 -07:00
res_list.hh Global whitespace fixes 2003-10-15 16:39:37 -04:00
sat_counter.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
sat_counter.hh Get rid of lots of obsolete mentions of stat_sdb_t. 2003-10-29 22:22:03 -08:00
sched_list.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
socket.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
socket.hh Import changeset 2003-10-07 10:41:54 -04:00
statistics.cc Add python output support to the statistics package! 2003-12-24 03:25:36 -05:00
statistics.hh Add python output support to the statistics package! 2003-12-24 03:25:36 -05:00
str.cc Make the to_number function work better. 2003-10-31 18:27:17 -05:00
str.hh Clean up time handling code 2003-12-15 18:23:48 -05:00
time.cc Clean up time handling code 2003-12-15 18:23:48 -05:00
time.hh Clean up time handling code 2003-12-15 18:23:48 -05:00
trace.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
trace.hh Miscellaneous minor fixes/improvements. 2003-12-17 09:43:03 -08:00