summaryrefslogtreecommitdiff
path: root/gdb/linker.cfg
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 /gdb/linker.cfg
parent760fea9ac7b52aa83d88371fac7bf0027cf7fd43 (diff)
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 'gdb/linker.cfg')
-rw-r--r--gdb/linker.cfg8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/linker.cfg b/gdb/linker.cfg
index 2cc6a0e9b4..46ec779817 100644
--- a/gdb/linker.cfg
+++ b/gdb/linker.cfg
@@ -13,7 +13,8 @@ OUTPUT_FORMAT(elf32-sh)
MEMORY
{
IRAM : ORIGIN = 0, LENGTH = 0x10000
- DRAM : ORIGIN = 0x24000000, LENGTH = 0x8000
+ DRAM : ORIGIN = 0x24000000, LENGTH = 0x6000
+ DRAM_API : ORIGIN = 0x24006000, LENGTH = 0x100
}
SECTIONS
@@ -29,6 +30,11 @@ SECTIONS
*(.glue_7t)
} >DRAM
+ .gdbapi :
+ {
+ *(.gdbapi)
+ } >DRAM_API
+
.data :
{
*(.data)