1 Star 0 Fork 0

signditto / target972xin-board

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
add-symbol-file.sh 381 Bytes
一键复制 编辑 原始数据 按行查看 历史
signditto 提交于 2022-05-17 11:54 . linux ip 192.168.0.20
echo $1
addrtext=$((`awk '{print $3}' address.log`))
offsetbss=$((`awk '/.rel.dyn/ {print $7}' sections.log`-`awk '/.text/ {print $7}' sections.log`))
echo $offsetbss
addrbss=`printf "0x%x" $(($addrtext + $offsetbss))`
echo "$addrbss"
taddrtext=`printf "0x%x" $(($addrtext))`
echo "$taddrtext"
echo "add-symbol-file $1 $taddrtext \
-s .bss $addrbss \
" > add-symbol-file.gdb
1
https://gitee.com/signditto/target972xin-board.git
git@gitee.com:signditto/target972xin-board.git
signditto
target972xin-board
target972xin-board
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891