Valgrind produced a vgcore.NNNN file -- how do I debug the core using GDB? Do I need to use the original executable and supply the core, or is there some other way to do it?
Using gdb, I am trying to trace the function calls of a web开发者_高级运维 server. I set breakpoints on every function call and when I tell gdb to \'run\' it breaks at all the right places while the s
I have a set of basic breakpoints defined in a user-defined fn setup in my .gdbinit. So, every time i start gdb, I have to execute that fn. to开发者_如何学编程 set all my brkpoints , before I start de
I have 2 methods in C++ class as follows: class myClass { public: void operator()( string myString ) { // Some code
when i run the core file in gdb, gdb doesn\'t show where the error is coming from or what line in the application that causes the problem.
I\'m trying to understand how a piece of c开发者_开发百科ode is working. I\'ve enabled a breakpoint for a function, but it looks like it never gets hit. So, I\'d like to break whenever ANY function wi
I\'m doing some assembly-level debugging in GDB. Is there a way to get GDB to show me the current assembly instruc开发者_StackOverflow社区tion in the same way that it shows the current source line? Th
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
On startup of my application with gdb, I am getting weird errors that look like: unable to read unknown load command 0x22
Single stepping through code that uses any of the NS_INLINE functions from NSGeometry.h causes the debugger to lose sync with the current instruction pointer, making debugging the routines very diffic