summaryrefslogtreecommitdiff
path: root/firmware/export/gdb_api.h
diff options
context:
space:
mode:
authorTomasz Malesinski <tomal@rockbox.org>2006-02-04 00:04:02 +0000
committerTomasz Malesinski <tomal@rockbox.org>2006-02-04 00:04:02 +0000
commitec7e97602695b7e4a49013b525d0bf7a0c8d13fc (patch)
treea8c60a04068b31614a60dfc89cc0194ef8f650b1 /firmware/export/gdb_api.h
parent760fea9ac7b52aa83d88371fac7bf0027cf7fd43 (diff)
downloadrockbox-ec7e97602695b7e4a49013b525d0bf7a0c8d13fc.tar.gz
rockbox-ec7e97602695b7e4a49013b525d0bf7a0c8d13fc.zip
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
Diffstat (limited to 'firmware/export/gdb_api.h')
-rw-r--r--firmware/export/gdb_api.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/firmware/export/gdb_api.h b/firmware/export/gdb_api.h
new file mode 100644
index 0000000000..896c8d399d
--- /dev/null
+++ b/firmware/export/gdb_api.h
@@ -0,0 +1,35 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2006 by Tomasz Malesinski
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef _GDB_API_H_
21#define _GDB_API_H_
22
23#include "config.h"
24
25#define GDB_API_MAGIC 0x6db570b
26#ifdef IRIVER_IFP7XX_SERIES
27#define GDB_API_ADDRESS 0x24006000
28#endif
29
30struct gdb_api
31{
32 unsigned long magic;
33 void *func[];
34};
35#endif