User Profile

Collapse

Profile Sidebar

Collapse
abcpp
abcpp
Last Activity: May 21 '07, 07:29 PM
Joined: Nov 23 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • abcpp
    replied to debug daemon ?
    in C
    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...
    See more | Go to post

    Leave a comment:


  • abcpp
    started a topic debug daemon ?
    in C

    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
    See more | Go to post

  • abcpp
    replied to override function operator question
    in C
    Thank you so much!!!...
    See more | Go to post

    Leave a comment:


  • abcpp
    started a topic override function operator question
    in C

    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...
    See more | Go to post
No activity results to display
Show More
Working...