On 03/30/2010 01:29 AM, Hui Zhu wrote: > Ping. Did I miss something? > Nope -- I did. After the breakpoint commands API was fiddled with, I worked up the original patch. Some (brief) time after committing my patch, the API was fiddled with again. I apologize about the confusion. Try this patch, which I've committed. Keith ChangeLog 2010-03-30 Keith Seitz * generic/gdbtk-bp.c (gdb_get_breakpoint_info): Breakpoint commands are now reference counted. Adjust data pointers. (gdb_get_tracepoint_info): Likewise. (gdb_actions_command): Don't free previous actions. If the commands aren't valid, we would prefer to keep the old ones any way. break_point_set_commands will also clobber any previous results anyway.