Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#9736 - When DEBUG is defined and CONFIG_CPU != SH7034, debug functions do not exist.

Attached to Project: Rockbox
Opened by Yoshihisa Uchida (Uchida) - Wednesday, 31 December 2008, 18:02 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Wednesday, 15 July 2009, 18:02 GMT+2
Task Type Bugs
Category Operating System/Drivers
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

When DEBUG is defined and CONFIG_CPU != SH7034 and HAVE_GDB_API is not defined, in firmware/debug.c, debug_init(void), debug(const char *) do not exists. (Then build failure.)

I implement these simply.
   debugf.patch (3.2 KiB)
 apps/SOURCES           |    2 +-
 apps/logfdisp.c        |    2 +-
 apps/debug_menu.c      |    2 +-
 firmware/export/logf.h |    5 ++++-
 firmware/debug.c       |   14 ++++++++++++++
 firmware/logf.c        |    2 +-
 firmware/SOURCES       |    2 +-
 7 files changed, 23 insertions(+), 6 deletions(-)

This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Wednesday, 15 July 2009, 18:02 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  closure requested by reporter.
Comment by Yoshihisa Uchida (Uchida) - Wednesday, 15 July 2009, 13:37 GMT+2
This problem is solved in the source of the latest version.
Please, close this task.

Loading...