I can step along with gdb, but I have to give the \"list\" command every time I want to see where I am in source code.
I have a process that is called by another process which is called by another process and so on ad nauseum.It\'s a child process in a long tool chain.
I\'m writing a sparc compiler. One of my test cases works fine when run from the command line normally开发者_高级运维, but segfaults when I redirect the output to a file.
when I use linux console to develop, I use gdb to trace the program\'s behavior, Always the console print \"Detaching after fork from child process 15***.\" can any body help to explain the sentence i
How can I set a breakpoint in C or C++ code programatically that will work for gdb on Linux? I.e.: int main(int argc, char** argv)
How do you usually get around this problem? Imagine that a thread crashes inside libc code (which is a system shared library) on Computer1 and then generates a coredump. But the Computer2 on which thi
I have divided the whole question into smaller ones: What kind of different algorithms GDB is capable to use to reconstruct stacktraces?
What I\'m trying to do I feel is pretty straightforward, I\'m just not sure exactly how to do it. Specifically I just want to get a list of modules (shared/dynamic libraries) that are loaded in anoth
I know that E&C is a controversial s开发者_Go百科ubject and some say that it encourages a wrong approach to debugging, but still - I think we can agree that there are numerous cases when it is cle
I would li开发者_StackOverflow中文版ke to run a program (that requires arguments) repetitively in gdb under linux.It takes about a minute to run and it fails once every 30 or so times through.Any idea