> -----Original Message----- > From: Jan Kratochvil [mailto:jan.kratochvil@redhat.com] > Sent: Thursday, July 26, 2012 10:42 AM > To: Metzger, Markus T > > Thanks. Who would be the approver of the change? > > I believe Tom approved it this way. Ah. Good. > BTW instead of those two runto calls it would be cheaper to: > > gdb_breakpoint "check_threads" > gdb_continue_to_breakpoint "check_threads" ".* pthread_barrier_wait .*" > > and > > gdb_breakpoint [gdb_get_line_number "Break here."] > gdb_continue_to_breakpoint "Break-here" {.* Break here\. .*} > > (The second parameter to gdb_continue_to_breakpoint is not mandatory.) > > Otherwise you do the whole spawn of gdbserver 2 more times. Thanks. I'll send an updated patch. Would be nice to have a library function similar to runto that does this. Regards, Markus.