This post http://sourceware.org/ml/gdb/2010-07/msg00080.html was written by me.
Hi
After check the post you mentioned and couple discussion I found by Google search,
I think the following step probably is the only solution to avoid the SLOW DOWN
issue at this moment:
1) start the host application without breakpoints
1.a) for Gtk2 (and probably all GUI apps with event loop), break the app from C::B
(send SIGTRAP to app) make sure C::B get the control back.
2) set breakpoints from C::B
3) continue
This is acceptable, but it raises another issue.
What if I have multiple breakpoints which need to be set at one time ?
The solution I got at this moment is send command "source gdb.script"
directly from C::B to gdb. However, C::B does not show
the breakpoints defined inside gdb.script :-(
My question is:
Is there any way to update C::B GUI so it can show all breakpoints
defined in gdb command file or initial file (gdbinit) ?
Another related question ... if I use C::B GUI to define breakpoints
by click on program's source file, how can I export the breakpoints
to external file ? Is this possible ?
Regards,
KC