My program is compiled with the -g flag. I am having the following problem: 1) I have set a breakpoint in a function that is in a header file.
Alright so don\'t ask why, but I want to create a core file of a test program I made. It\'s not corrupted and it doesn\'t screw up, but I want to generate a core file of it. Heres the code:
I use print (CEthPacket*) 0xeb609a0 to examine an object at the giv开发者_JAVA技巧en address and get A syntax error in expression, near \') 0xeb609a0\'.
I am trying to compile my program with debugging symbols for use in gdb. I have added the -g flag to my makefile but I still get \"Reading symbols from ...(no debugging symbols found)\" when I load th
I want to use Integrated Tool to develop C++, not to use Eclipse as only the editor and compile in other environment. my eclipse CDT tool a开发者_StackOverflows default is without GDB debugging enviro
I would like GDB to perform variable substitution when I create a conditional breakpoint.For example:
I get this weird backtrace (sometimes开发者_开发知识库): (gdb) bt #00x00002b36465a5d4c in AY16_Loop_M16 () from /opt/intel/mkl/10.0.3.020/lib/em64t/libmkl_mc.so
I usually run a program as : ./a.out arg1 arg2 <file I would like to debug it using gdb. I am aware of the set args functionali开发者_Python百科ty, but that only works from the gdb prompt.You c
I want to debug a process running on Linux 2.6 using GDB. attach PID (where PID is the process ID), print main, print sin, print gzopen and print dlopen work (i.e. they find the respective symbols). B
I am开发者_如何学JAVA having some trouble figuring this out .. so time to ask for help. OS: OSX, Snow Leopard