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)
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 '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)
13MEMORY 13MEMORY
14{ 14{
15 IRAM : ORIGIN = 0, LENGTH = 0x10000 15 IRAM : ORIGIN = 0, LENGTH = 0x10000
16 DRAM : ORIGIN = 0x24000000, LENGTH = 0x8000 16 DRAM : ORIGIN = 0x24000000, LENGTH = 0x6000
17 DRAM_API : ORIGIN = 0x24006000, LENGTH = 0x100
17} 18}
18 19
19SECTIONS 20SECTIONS
@@ -29,6 +30,11 @@ SECTIONS
29 *(.glue_7t) 30 *(.glue_7t)
30 } >DRAM 31 } >DRAM
31 32
33 .gdbapi :
34 {
35 *(.gdbapi)
36 } >DRAM_API
37
32 .data : 38 .data :
33 { 39 {
34 *(.data) 40 *(.data)