)]}'
{
  "commit": "590003dc0ea7653ead62899d850fba0a5c4a595e",
  "tree": "01399ff3fd88ebdf7161a43e61d37551b7fa915a",
  "parents": [
    "40b35c78b62eec2ab41219906a7ea0c0be323499"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Mar 02 14:47:27 2020 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Mar 02 14:47:27 2020 +0100"
  },
  "message": "[gdb/testsuite] Add -lbl option in gdb_test_multiple\n\nAdd gdb_test_multiple option -lbl, that adds a regexp after the user code that\nreads one line, and discards it:\n...\n           -re \"\\r\\n\\[^\\r\\n\\]*(?\u003d\\r\\n)\" {\n               exp_continue\n           }\n...\n\nIn order to be able to write:\n...\ngdb_test_multiple \"command\" \"testname\" -lbl {\n  ...\n}\n...\nrewrite the promp_regexp argument usage into the similar:\n...\ngdb_test_multiple \"command\" \"testname\" -prompt $prompt_regexp {\n  ...\n}\n...\n\nBuild and reg-tested on x86_64-linux.\n\nTested gdb.base/corefile-buildid.exp with both make targets check and\ncheck-read1.\n\ngdb/testsuite/ChangeLog:\n\n2020-03-02  Pedro Alves  \u003cpalves@redhat.com\u003e\n\t      Tom de Vries  \u003ctdevries@suse.de\u003e\n\n\t* lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using\n\t-prompt prefix, before user_code argument.  Add -lbl option likewise.\n\t(skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)\n\t(gdb_is_target_1): Add -prompt prefix and move to before user_code\n\targument.\n\t* gdb.base/corefile-buildid.exp: Use -lbl option.  Rewrite regexps to\n\thave \"\\r\\n\" at start-of-line, instead of at end-of-line.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9daf906b3ba631454416a0860022436d9ffc689a",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/ChangeLog",
      "new_id": "e5ea91dde8b6cf540ff16f416e32e1ca2dda8145",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "b9844ee3548787cf03431a818c651a25159c976b",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/corefile-buildid.exp",
      "new_id": "e24562dedb92cbbe2c2eee1f2fa8e3369585ac55",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/corefile-buildid.exp"
    },
    {
      "type": "modify",
      "old_id": "26795d01523803254272b025cf1c08b789f6a14f",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/gdb.exp",
      "new_id": "ab22f24436098a14a03c83af4570f172c3e3e8f7",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/gdb.exp"
    }
  ]
}
