gnu,您好! hi~~ I'm a c++ developer under Linux platform in china. Today I encountered a strange question described as belows: I define a function in class CRecordProcess_CDR named init() in file loadindex_recordprocess.cpp. When I want to break at that function using this command: b CRecordProcess_CDR::init, the return clue exhibits me that a different fuction is breaked. (gdb) b CRecordProcess_CDR::init() Breakpoint 9 at 0x10007f30: file library/library_time.cpp, line 23. I don't know why the gdb go to this function in a different file. Further more, whenever I want to go into any functions in file loadindex_recordprocess.cpp with gdb, I received such return information: Breakpoint 9, 0x0000000010007f30 in ._ZN18CRecordProcess_CDR4initEv () at /usr/include/c++/3.2.3/new:88 88 // Default placement versions of operator new. (gdb) n 0x0000000010007f20 88 // Default placement versions of operator new. (gdb) n 0x0000000010007f24 88 // Default placement versions of operator new. (gdb) 0x0000000010007f28 88 // Default placement versions of operator new. (gdb) 0x0000000010007f2c 88 // Default placement versions of operator new. (gdb) 0x0000000010007f30 88 // Default placement versions of operator new.
After a long time of such information when the program jumped out of the function in file loadindex_recordprocess.cpp and entered into other fuctions in other files, everything goes well.I don't know what had happened and how to slove it. Can you give me some clues? Any help are appreciated. Thanks a lot!!! yours dong yang 致 礼! 杨冬 [EMAIL PROTECTED] 2006-04-11
_______________________________________________ help-gnu-utils mailing list help-gnu-utils@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-utils