)]}'
{
  "commit": "9ee884981410d3d666e9b7b747b50908d891286b",
  "tree": "7603bf825fababeb7f69157bd032d96e3643e98d",
  "parents": [
    "ced885161b6e1dee89acc4bd3b68ba7a27815645"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Sun Oct 06 20:32:16 2024 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Oct 21 10:36:32 2024 +0100"
  },
  "message": "gdb/guile: add get-basic-type\n\nA question was asked on stackoverflow.com about the guile function\nget-basic-type[1] which is mentioned in the docs along with an example\nof its use.\n\nThe problem is, the function was apparently never actually added to\nGDB.  But it turns out that it\u0027s pretty easy to implement, so lets add\nit now.  Better late than never.\n\nThe implementation mirrors the Python get_basic_type function.  I\u0027ve\nadded a test which is a copy of the documentation example.\n\nOne issue is that the docs suggest that the type will be returned as\njust \"int\", however, I\u0027m not sure what this actually means.  It makes\nmore sense that the function return a gdb:type object which would be\nrepresented as \"#\u003cgdb:type int\u003e\", so I\u0027ve updated the docs to show\nthis output.\n\n[1] https://stackoverflow.com/questions/79058691/unbound-variable-get-basic-type-in-gdb-guile-session\n\nReviewed-By: Kevin Buettner \u003ckevinb@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a66e8bfe16b9ef01d3d783624bcaffaa02bd8d86",
      "old_mode": 33188,
      "old_path": "gdb/doc/guile.texi",
      "new_id": "bd1262ea0cba88911776a0882b5c19f84a5bf980",
      "new_mode": 33188,
      "new_path": "gdb/doc/guile.texi"
    },
    {
      "type": "modify",
      "old_id": "198de9d3b723671d62ba20724ef2f62bb3584e1a",
      "old_mode": 33188,
      "old_path": "gdb/guile/lib/gdb/types.scm",
      "new_id": "7d8d3c639b9c4083067f1876acccc5f2f5ab7fa3",
      "new_mode": 33188,
      "new_path": "gdb/guile/lib/gdb/types.scm"
    },
    {
      "type": "modify",
      "old_id": "9b32f672ab0bea2575f9d2de2a8517155a3f179c",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.guile/types-module.cc",
      "new_id": "f3992c04145696d3f38e0af317815267e0820247",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.guile/types-module.cc"
    },
    {
      "type": "modify",
      "old_id": "d95ff21df5e108bf6dfb86a7a7468ee266836edf",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.guile/types-module.exp",
      "new_id": "ee558041fa66387d58198d51c6002343ea390d5d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.guile/types-module.exp"
    }
  ]
}
