- 论坛徽章:
- 0
|
初学gdb中的问题求助。
[quote]原帖由 "albcamus"]从来没遇到这个问题。按理说既然./hello能运行,那共享库的加载、符号表什么的都应该没问题,怎么gdb识别不出来呢?我在自己机器上试了一下,没问题的,我是RH9环境,楼主你呢?[/quote 发表:
我的是Fedora2, 我也纳闷,要是有错在终端和emacs的那个Shell下也该不行啊。我又运行了以前学的几个小程序,结果都对,就是还有那个不能加载共享库符号表之类的。
这是我的gdb版本号,
$ gdb --version
GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu". |
|