【问题标题】:What does lma mean?lma 是什么意思?
【发布时间】:2012-03-21 10:55:03
【问题描述】:

使用 OpenOCD 和 GDB 将可执行文件加载到板上时,我得到类似于(sn-p 取自 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 在这种情况下是什么意思?

【问题讨论】:

    标签: gdb embedded openocd


    【解决方案1】:

    表示“本地内存地址”,即代码或数据已加载到的内存地址:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-08-12
      • 2017-06-11
      • 2018-03-05
      • 2023-03-27
      • 1970-01-01
      • 2013-03-09
      • 2020-05-01
      相关资源
      最近更新 更多