In the old versions of gdb there was an option, -readnever
, which suppressed symbol loading. Can I achieve the same result with gdb-7.10? This is needed to just stack traces, not for debugging.
Asked
Active
Viewed 552 times
0

user1289
- 1,251
- 2
- 13
- 25
1 Answers
1
I took a look through the source for older versions of gdb
and could not find this option. After a bit of hunting I believe that this option is a RedHat patch. I guess later versions of gdb released by RedHat will include that patch, alternatively, if you are building gdb yourself you could apply that patch.

Andrew
- 3,770
- 15
- 22
-
1I'm writing script, I can't say users to build gdb manually before running script :) probably I just can check and add -readnever if the version is old – user1289 Feb 21 '16 at 08:21