gdb
How can I add breakpoint to internal function
I\'m using GDB to step through the code. The problem is my code has functions from external files. Is there a way on stepping through inner functions?[详细]
2023-04-05 20:00 分类:问答How to debug heap corruption on armv5
I am on linux on an embedded dev开发者_如何学编程ice. My architecture is armv5. My fairly large (~30kloc) has some kind of heap corruption that happens over time.[详细]
2023-04-05 19:22 分类:问答Creating C++ string in GDB
I\'m having trouble creating an std::string (or any C++ object, I guess) in GDB. I tried lots of variations to the following and none of them seem to work:[详细]
2023-04-05 14:25 分类:问答gdb and valgrind within a makefile
I have a very basic question. I did look around like over here http://www.cs.cmu.edu/~gilpin/tutorial/ but still doubtfull..[详细]
2023-04-05 10:29 分类:问答Xcode 4 / gdb / How simply watch object properties?
I am very lost in Xcode 4. Watching a simple variable is a nightmare. I do not figure out how to just \"watch a variable value\". It was easier in Xcode 3...[详细]
2023-04-05 08:29 分类:问答Xcode: GDB and signal handlers
I\'m using signal handlers in an Objective-C application to catch fatal errors, as SIGSEGV, SIGBUS and the like.[详细]
2023-04-05 06:03 分类:问答Print string starting with NUL in gdb
I have a strin开发者_JAVA技巧g which starts with the character \\0 - it\'s by design and I know its actual length.[详细]
2023-04-05 03:20 分类:问答Naming breakpoints in GDB
Is there anyway开发者_Go百科 to name a breakpoint in GDB so when it is hit GDB gives some name instead of a number? (IE hit breakpoint !!!VERYIMPORTANTBREAKPOINT!!! in method main())no, there is no wa[详细]
2023-04-05 02:19 分类:问答GDB Support STL visualisation (pretty printing)
GDB 7.0 added pretty prnting for STL object. However this implementation supports only GCC version of STL. If you are using Dinkum STL implementation for example, you probably see this message:[详细]
2023-04-04 16:06 分类:问答Debugging C program with multiple threads
I want to debug a C program running multiple TCP server threads. I cannot set up a sophisticated Debugging tool as I have to debug in an embedded linux(busy box). I hoped it would natively support gdb[详细]
2023-04-04 13:46 分类:问答