小编Bru*_*oie的帖子

GDB 找不到源文件

我正在使用 GDB 和“打开片上调试器”项目来调试远程 MIP 目标的交叉编译项目,但由于某种原因,GDB 无法找到源文件。

这里我在目标 elf 文件上调用 GDB。

development@ubuntu:~/vitessesdk/CEServices/build$ mipsel-vtss-elf-gdb obj/CEServices.elf
GNU gdb (crosstool-NG 1.20.0 - vtss-eCos-toolchain-v2) 7.8
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-build_unknown-linux-gnu --target=mipsel-vtss-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual …
Run Code Online (Sandbox Code Playgroud)

c c++ linux debugging gdb

1
推荐指数
1
解决办法
5309
查看次数

标签 统计

c ×1

c++ ×1

debugging ×1

gdb ×1

linux ×1