lma是什么意思?

时间:2012-03-21 10:55:04

标签: gdb embedded openocd

使用OpenOCD和GDB将可执行文件加载到主板上时,我得到类似的内容(摘自here):

 $ arm-none-eabi-gdb example.elf
 (gdb) target remote localhost:3333
 Remote debugging using localhost:3333
 ...
 (gdb) monitor reset halt
 ...
 (gdb) load
 Loading section .vectors, size 0x100 lma 0x20000000
 Loading section .text, size 0x5a0 lma 0x20000100
 Loading section .data, size 0x18 lma 0x200006a0
 Start address 0x2000061c, load size 1720
 Transfer rate: 22 KB/sec, 573 bytes/write.
 (gdb) continue
 Continuing.
 ...

lma在这种情况下的含义是什么?

1 个答案:

答案 0 :(得分:4)

这意味着“本地内存地址”,这是内存中已加载代码或数据的地址:

http://www.embeddedrelated.com/usenet/embedded/show/77071-1.php