summaryrefslogtreecommitdiffstats
path: root/firmware/export/logf.h
AgeCommit message (Collapse)AuthorFilesLines
2016-04-04Don't add new message to logf when we dump it to fileMihail Zenkov1-0/+1
Fix log file corruption if we have new messages at dumping log to file. Comment removed as it incorrect. We store all messages in direct order (last message at end of file). Change-Id: I4acfa8a0935cc41a889e08f6bc42974fefd1ade2
2014-01-11Print `last logf lines on panic().Frank Gevaerts1-0/+2
If logf is enabled, panic() will print the last lines. On small screens this is more or less useless, but on large screens it can be very useful for debugging. Change-Id: I26dfc76e9ac4a2ddc2def8db1616a04f943dbba3 Reviewed-on: http://gerrit.rockbox.org/709 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Frank Gevaerts <frank@gevaerts.be> Tested: Frank Gevaerts <frank@gevaerts.be>
2010-07-25Move some gcc extensions to new gcc_extensions.h headerRafaël Carré1-1/+1
- Move ATTRIBUTE_PRINTF/ATTRIBUTE_SCANF from _ansi.h They are not related at all to this file, and this broke compilation with Code Sourcery GCC which ships its own _ansi.h - Move LIKELY/UNLIKELY from system.h There is likely a lot more GCC extensions used everywhere in the source, conditionally on __GNUC__ or unconditionally git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27548 a1c6a512-1295-4272-9138-f99709370657
2010-05-18don't let logf() and DEBUGF() be empty statementsRafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26146 a1c6a512-1295-4272-9138-f99709370657
2009-08-21A new implementation of logf, logfdisplay and logfdump.Maurus Cuelenaere1-7/+2
Flyspray: FS#10528 Author: Amaury Pouly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22462 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Commit FS#9733 (multiline logf) by Yoshihisa UchidaMaurus Cuelenaere1-3/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19625 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg1-2/+4
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2007-10-24logf changes:Nicolas Pennequin1-2/+11
* Disable logf by default and allow per-file enabling with "#define LOGF_ENABLE". To enable globally add that define in the config.h file. * Transform logf calls into DEBUGF calls when ROCKBOX_HAS_LOGF isn't defined, so that they get printed to the console in the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15291 a1c6a512-1295-4272-9138-f99709370657
2007-03-17Fix simulator builds, and some debugf() format strings.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
2007-03-17Fixed the logf builds.Miika Pekkarinen1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12816 a1c6a512-1295-4272-9138-f99709370657
2007-03-17Let GCC check arguments of some more printf-style functions, also for ↵Jens Arnold1-1/+1
plugins and codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Support building tagcache db natively on PC using the core of theMiika Pekkarinen1-3/+7
Rockbox tagcache database engine. Only host endian support at the moment and no command line parameters. Mainly for developers for debugging at the moment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
2005-06-30decrease to 30Michiel Van Der Kolk1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6950 a1c6a512-1295-4272-9138-f99709370657
2005-06-30better logfMichiel Van Der Kolk1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6949 a1c6a512-1295-4272-9138-f99709370657
2005-06-22My gcc v3.3.5 choked on the bool type, solved with this include.Tomas Salfischberger1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6807 a1c6a512-1295-4272-9138-f99709370657
2005-06-01Modified logf to use a define for the log width, and changed it to default toDaniel Stenberg1-2/+3
21 as that is what fits in an iriver LCD by default since the font is 6 pixels wide. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6547 a1c6a512-1295-4272-9138-f99709370657
2005-05-30(Optional) logf supportDaniel Stenberg1-0/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6538 a1c6a512-1295-4272-9138-f99709370657
2005-05-24update to the new logf style and moved the defines here tooDaniel Stenberg1-3/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6521 a1c6a512-1295-4272-9138-f99709370657
2005-05-23initial logf() work, not added to SOURCES yet (on purpose)Daniel Stenberg1-0/+29
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6514 a1c6a512-1295-4272-9138-f99709370657