[RFA testsuite 0/5] Introduction: MI breakpoint test suite cleanups

Keith Seitz keiths@redhat.com
Wed Apr 16 18:50:00 GMT 2014


Hi,

As promised, part of my dog food campaign to get rid of [long/large] 
copy-n-paste regexps in the test suite, I would like to introduce 
several new test suite procedures.

These are:

1: parse_args : A new way to do getopt-like processing in Tcl. Well, new 
our test suite, at least!
[I also promised Pedro a cleanup of gdb_breakpoint using this facility. 
That patchset re-submission will follow at a later time.]
2: mi_build_kv_pairs : A utility procedure to build key/value pairs.
3: mi_make_breakpoint : A new procedure to build breakpoint regexps for 
MI. This patch will include updating mi_create_breakpoint to use this 
function.
4: mi_make_breakpoint_table : A new procedure which takes a list of 
breakpoint regexps from mi_make_breakpoint/mi_create_breakpoint and 
returns a suitable regexp for use with -break-info (and friends).
5: A "jumbo" patch to update all callers of mi_create_breakpoint. This 
patch is pretty much just mechanical.

The plan is to commit these all as one patchset when all five have been 
approved.

Keith



More information about the Gdb-patches mailing list