This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi everybody, I am trying to use gdb script on a multithreaded application. My script is very simple : - Attach on the process - I set a breakpoint - I use a while statement to reach the breakpoint fifty times - After that, I delete the breakpoint, detach and quit. The problem is that, sometimes, when the breakpoint is reach, gdb goes in error: [New Thread -1210061904 (LWP 15939)] scriptgdb.withoutserv.out:56: Error in sourced command file: Cannot get thread event message: debugger service failed The command is : gdb -batch -x scriptgdb.withoutserv.out I don't know what the problem is, may be on the way I use gdb ? (The script is in attachment) It seems that gdb have some problems with the multithreaded application, is it a known "bug" ? Any help will be appreciated. Regards, Christophe -- Christophe BENOIT, Production logiciels 6500 AASTRA MATRA Telecom 1 rue Arnold Schoenberg 78280 Guyancourt e-mail: christophe.benoit@aastra.com
Attachment:
scriptgdb.withoutserv.out
Description: scriptgdb.withoutserv.out
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |