)]}'
{
  "commit": "5218fa9e8937b007d554f1e01c2e4ecdb9b7e271",
  "tree": "9dae06d426e20b24f6bf2e98a4ab24c0f226eac7",
  "parents": [
    "2c2316c5fd2bf6310c21c1c88a940be8494d1870"
  ],
  "author": {
    "name": "Jose E. Marchesi",
    "email": "jose.marchesi@oracle.com",
    "time": "Mon Nov 07 20:35:43 2022 +0100"
  },
  "committer": {
    "name": "Jose E. Marchesi",
    "email": "jose.marchesi@oracle.com",
    "time": "Tue Nov 15 20:01:06 2022 +0100"
  },
  "message": "gdb: use libtool in GDB_AC_CHECK_BFD\n\nThe GDB_AC_CHECK_BFD macro defined in gdb/acinclude.m4 uses the\nAC_LINK_IFELSE autoconf macro in order to link a simple program to\ncheck features of libbfd.\n\nIf libbfd\u0027s link dependencies change, it was necessary to reflect them\neither in the definition of the macro, or as a consequence of checking\nfor them with an autoconf macro resulting in an addition to LIBS.\n\nThis patch modifies the definition of the GDB_CHECK_BFD macro in order\nto use libtool to perform the test link.  This makes it possible to\nnot have to list dependencies of libbfd (which are indirect to GDB) at\nall.\n\nAfter this patch:\n\n  configure:28553: checking for ELF support in BFD\n  configure:28573: ./libtool --quiet --mode\u003dlink gcc -o conftest \\\n                   -I../../gdb/../include -I../bfd \\\n                   -I../../gdb/../bfd -g -O2 \\\n                   -L../bfd -L../libiberty conftest.c -lbfd -liberty \\\n                   -lncursesw -lm -ldl  \u003e\u00265\n  configure:28573: $? \u003d 0\n  configure:28583: result: yes\n\nTests performed:\n\n- Configure --with-system-zlib and --without-system-zlib.\n- Check link dependencies of installed GDB with both --enable-shared\n  and --disable-shared.\n- Run installed GDB in both cases.\n\nApproved-By: Simon Marchi \u003csimon.marchi@efficios.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "62fa66c7af3013c0f0d91bd6a78f5bd5ceb04fe2",
      "old_mode": 33188,
      "old_path": "gdb/acinclude.m4",
      "new_id": "05106df8ee6280982ae3dc278d5e019eb51a9530",
      "new_mode": 33188,
      "new_path": "gdb/acinclude.m4"
    },
    {
      "type": "modify",
      "old_id": "b54ac671fe31b697ab182c27b2c6914ea341df95",
      "old_mode": 33261,
      "old_path": "gdb/configure",
      "new_id": "712d22e75b3d9e8ebfba65214c21282ff4155d81",
      "new_mode": 33261,
      "new_path": "gdb/configure"
    },
    {
      "type": "modify",
      "old_id": "12561d4d2de6feb532f9b7d2d6d1d6d74f5763b7",
      "old_mode": 33188,
      "old_path": "gdb/configure.ac",
      "new_id": "d0c54ad3c0243b5897b6e1ee5c2692a74613f6a4",
      "new_mode": 33188,
      "new_path": "gdb/configure.ac"
    }
  ]
}
