This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA testsuite 0/5] Introduction: MI breakpoint test suite cleanups
- From: Keith Seitz <keiths at redhat dot com>
- To: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Wed, 16 Apr 2014 11:50:52 -0700
- Subject: [RFA testsuite 0/5] Introduction: MI breakpoint test suite cleanups
- Authentication-results: sourceware.org; auth=none
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