gdb
GDB with pthreads
I have a C program where the main function creates threads and I have to debug one thread. I am using gdb for he same. However I cannot \"break\" or \"watch\" variables on specific C files of this pro[详细]
2023-04-09 10:46 分类:问答Why is std::cout not printing the correct value for my int8_t number?
I have something like: int8_t value; value = -27; std::cout << value << std::endl; When I run my program I get a wrong random value of <E5> outputted to the screen, but when I ru[详细]
2023-04-09 06:47 分类:问答looking inside a GdkPixbuf structure with ddd or gdb
i would like to look inside of a GdkPixbuf structure for debug开发者_高级运维ging purposes. but all i get is a <incomplete type> message.[详细]
2023-04-09 06:05 分类:问答How do you run multiple instance of gud in emacs
I want to debug C++ and and php in the same emacs instance (using gdb and a php debugging mode that uses gud-common-init). When I fire both up everything just开发者_开发技巧 gets messed up. My guess i[详细]
2023-04-08 16:28 分类:问答Cannot find new threads: generic error
When I try to debug my C++ application using gdb, I get the following error: [Thread debugging using libthread_db enabled][详细]
2023-04-08 02:55 分类:问答In gdb sizeof(Apple::record_) is zero. But It runs well
I encounterd a very strange g++ problem. The output of the flowing program is \"24 8 3\", All things seems ok. But when I use gdb, to print sizeof(Apple::record_), it turns out to be 0. My gcc versio[详细]
2023-04-07 22:49 分类:问答Eclipse gdb expression: what is shown in "default"?
Stepping through C code in gdb using Eclipse, I noticed that for a variable char* sval gdb prints (in Expressions tab):[详细]
2023-04-07 19:13 分类:问答Interpreting gdb output
I get a segfault in my program and was trying to detect the source via gdb. O/p of the gdb is as follows:[详细]
2023-04-06 14:15 分类:问答Is it possible to add support of a custom RTOS's threads to GDB?
In the scenario of debugging a remote target running a custom RTOS, what would be necessary to add thread support to GDB?[详细]
2023-04-06 12:30 分类:问答GDB+Python: Determining target type
Is there a way to determ开发者_如何学编程ine whether the debugged target is a core dump or a \'live\' process?As far as I know, there is no dedicated way to do it in Python, however, you can still use[详细]
2023-04-06 10:19 分类:问答