forked from len0rd/rockbox
Added GDB API - a way to call stub procedures from a DEBUG build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8561 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
760fea9ac7
commit
ec7e976026
5 changed files with 80 additions and 1 deletions
35
firmware/export/gdb_api.h
Normal file
35
firmware/export/gdb_api.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/***************************************************************************
|
||||
* __________ __ ___.
|
||||
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
* \/ \/ \/ \/ \/
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (C) 2006 by Tomasz Malesinski
|
||||
*
|
||||
* All files in this archive are subject to the GNU General Public License.
|
||||
* See the file COPYING in the source tree root for full license agreement.
|
||||
*
|
||||
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef _GDB_API_H_
|
||||
#define _GDB_API_H_
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define GDB_API_MAGIC 0x6db570b
|
||||
#ifdef IRIVER_IFP7XX_SERIES
|
||||
#define GDB_API_ADDRESS 0x24006000
|
||||
#endif
|
||||
|
||||
struct gdb_api
|
||||
{
|
||||
unsigned long magic;
|
||||
void *func[];
|
||||
};
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue