)]}'
{
  "commit": "d2bbd19d8e16370ebb853e2bf436e5b282177830",
  "tree": "b7c5154c79327640f852606ccc7e6a684bce8071",
  "parents": [
    "3971740e4bba92209ab002d44ec3b20a36736ff0"
  ],
  "author": {
    "name": "Carl Love",
    "email": "cel@us.ibm.com",
    "time": "Tue Nov 15 10:57:32 2022 -0600"
  },
  "committer": {
    "name": "Carl Love",
    "email": "cel@us.ibm.com",
    "time": "Wed Nov 16 11:11:45 2022 -0500"
  },
  "message": "Bug fix in commit for printing the function return value for non-trivial values\n\nThe recent commit:\n\n  commit a0eda3df5b750ae32576a9be092b361281a41787\n  Author: Carl Love \u003ccel@us.ibm.com\u003e\n  Date:   Mon Nov 14 16:22:37 2022 -0500\n\n    PowerPC, fix support for printing the function return value for non-trivial values.\n\nIs generating a segmentation fault on x86_64-linux.\n\n  segfault:\n  ...\n  PASS: gdb.asm/asm-source.exp: info source asmsrc1.s\n  ERROR: GDB process no longer exists\n  UNRESOLVED: gdb.asm/asm-source.exp: finish from foo3\n  ...\n\n  Reproduced on command line:\n  ...\n  $ gdb -q -batch -x outputs/gdb.asm/asm-source/gdb.in.1\n  ...\n\n  The problem seems to be that:\n  ...\n  Thread 1 \"gdb\" received signal SIGSEGV, Segmentation fault.\n  0x000000000043de7a in symbol::type (this\u003d0x0) at\n  .../gdb_versions/devel/src/gdb/symtab.h:1287\n  1287        return m_type;\n  ...\n  because:\n  ...\n  (gdb) up\n  #1  0x0000000000852d94 in finish_command (arg\u003d0x0, from_tty\u003d0)\n     at .../gdb_versions/devel/src/gdb/infcmd.c:1887\n  1887        \u003d check_typedef (sm-\u003efunction-\u003etype ()-\u003etarget_type ());\n  (gdb) p sm-\u003efunction\n  $1 \u003d (symbol *) 0x0\n\nThe code is not checking if sm-\u003efunction is NULL.  If sm-\u003efunction is NULL\nthe check for the return buffer should be skipped.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b71dc10370b603c570f7549fa50d16131db98284",
      "old_mode": 33188,
      "old_path": "gdb/infcmd.c",
      "new_id": "a72df2d6a016aa331888d301a8fd38466a5852ef",
      "new_mode": 33188,
      "new_path": "gdb/infcmd.c"
    }
  ]
}
