)]}'
{
  "commit": "cb5dfff88ea6ed73b0222cfeeef97dc6d4ccf84f",
  "tree": "28a0d29e3cf27cc5be7060a06f50d15eed1da40f",
  "parents": [
    "8a8b6c53e12c79abad6defd839ea3000a2cd2398"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Fri Apr 19 15:46:54 2024 -0400"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@polymtl.ca",
    "time": "Fri Apr 19 16:30:25 2024 -0400"
  },
  "message": "gdb: add target_debug_printf and target_debug_printf_nofunc\n\nAdd the `target_debug_printf` and `target_debug_printf_nofunc` macros\nand use them when outputting debug messages depending on `targetdebug`.\nI opted for `target_debug_printf_nofunc` to follow the current style\nwhere the function name is already printed, along with the arguments.\n\nModify the debug printfs in the `debug_target` methods (generated by\n`make-target-delegates.py`) to use `target_debug_printf_nofunc` as well.\n\nThis makes the \"target\" debug prints integrate nicely with the other\ndebug prints that use the \"new\" debug print system:\n\n    [infrun] proceed: enter\n      [infrun] follow_fork: enter\n        [target] -\u003e multi-thread-\u003erecord_will_replay (...)\n        [target] \u003c- multi-thread-\u003erecord_will_replay (-1, 0) \u003d false\n        [target] -\u003e multi-thread-\u003esupports_multi_process (...)\n        [target] \u003c- multi-thread-\u003esupports_multi_process () \u003d true\n      [infrun] follow_fork: exit\n      ...\n\nChange-Id: Ide3c8c1b8a30e6d4c353a29cba911c7192de29ac\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f6f2bf004ff5ce729f4c2a40596297dd9b5e6a42",
      "old_mode": 33261,
      "old_path": "gdb/make-target-delegates.py",
      "new_id": "bfcf7faab7ae042d832a002b6519eab673022c51",
      "new_mode": 33261,
      "new_path": "gdb/make-target-delegates.py"
    },
    {
      "type": "modify",
      "old_id": "b45b445c2c40caa057a1350ca6b5330ec7f32fc2",
      "old_mode": 33188,
      "old_path": "gdb/target-delegates.c",
      "new_id": "af6be0884a1bda6aa275ad36ea9e975d33a0e96d",
      "new_mode": 33188,
      "new_path": "gdb/target-delegates.c"
    },
    {
      "type": "modify",
      "old_id": "0a836d1e146e77a3a7cd071caf4eb1cdab4167ce",
      "old_mode": 33188,
      "old_path": "gdb/target.c",
      "new_id": "d9ff7d648252aa03e6df7613e40db2bc54d74a9b",
      "new_mode": 33188,
      "new_path": "gdb/target.c"
    }
  ]
}
