问题描述
- [求助]mac下装gdb,制作好了证书,但是运行的时候出现下面的错误是怎么回事?
-
(gdb) r Starting program: /Users/wangxiaoxiao/Desktop/oj/a.out warning: `/Users/admin/build/x86_64-apple-darwin15.0.0/libstdc++-v3/src/.libs/compatibility-atomic-c++0x.o': can't open to read symbols: No such file or directory. warning: `/Users/admin/build/x86_64-apple-darwin15.0.0/libstdc++-v3/src/.libs/compatibility-c++0x.o': can't open to read symbols: No such file or directory. warning: `/Users/admin/build/x86_64-apple-darwin15.0.0/libstdc++-v3/src/.libs/compatibility-chrono.o': can't open to read symbols: No such file or directory. warning: `/Users/admin/build/x86_64-apple-darwin15.0.0/libstdc++-v3/src/.libs/compatibility-condvar.o': can't open to read symbols: No such file or directory. warning: `/Users/admin/build/x86_64-apple-darwin15.0.0/libstdc++-v3/src/.libs/compatibility-debug_list-2.o': can't open to read symbols: No such file or directory. warning: `/Users/admin/build/x86_64-apple-darwin15.0.0/libstdc++-v3/src/.libs/compatibility-debug_list.o': can't open to read symbols: No such file or directory. warning: `/Users/admin/build/x86_64-apple-darwin15.0.0/libstdc++-v3/src/.libs/compatibility-thread-c++0x.o': can't open to read symbols: No such file or directory.
gdb不能正常使用,
(gdb) l No symbol table is loaded. Use the "file" command.
时间: 2024-09-29 05:39:03