Thanks for the reply.
I got the core file, but I didn't realize the debug info from compiler wasn't in the corefile but in the excutable. So, when I did gdb excutable corefile, I was able to see the functions in backtrace. Thanks...
User Profile
Collapse
-
debug daemon ?
Hi,
How to debug a daemon code? I have a code running as a daemon, and it will crash if I send some data to it. It is a multithread code.
I tried to compile it with debug option -ggdb, but after coredump, I could only get:
Program terminated with signal 11, Segmentation fault.
#0 0x0000002a95c6a cf0 in ?? ()
which is not useful. any idea how to track it down?
Thanks -
-
override function operator question
Please help:
class B {
public:
void operator()(){ cout<<"in B()"<<endl;}
};
class D : public B {
public:
void operator()() {
B:: (); // compiler would error: expected unqualified-id before ‘(’ token
cout<<"in D()"<<endl;
}
};
How do I invoke base class function operator from...
No activity results to display
Show More
Leave a comment: