)]}'
{
  "commit": "d64ad97c6ba5a1deb97788fd015b60459f64a753",
  "tree": "ff476b2a06dcd03caf4742376f82c007bb954f42",
  "parents": [
    "f93ba80c9848d3cf4bd2a3d05d9c1f86239b60ef"
  ],
  "author": {
    "name": "Yao Qi",
    "email": "yao@codesourcery.com",
    "time": "Tue Jan 07 17:48:07 2014 +0800"
  },
  "committer": {
    "name": "Yao Qi",
    "email": "yao@codesourcery.com",
    "time": "Wed Jan 08 10:44:20 2014 +0800"
  },
  "message": "Pass name to symbol_file_add_from_bfd\n\nThis patch fixes the following build error:\n\n../../binutils-gdb/gdb/spu-linux-nat.c:383:5: error: passing argument 2 of ‘symbol_file_add_from_bfd’ makes pointer from integer without a cast [-Werror]\nIn file included from ../../binutils-gdb/gdb/spu-linux-nat.c:29:0:\n../../binutils-gdb/gdb/symfile.h:444:24: note: expected ‘const char *’ but argument is of type ‘int’\n../../binutils-gdb/gdb/spu-linux-nat.c:383:5: error: passing argument 3 of ‘symbol_file_add_from_bfd’ makes integer from pointer without a cast [-Werror]\nIn file included from ../../binutils-gdb/gdb/spu-linux-nat.c:29:0:\n../../binutils-gdb/gdb/symfile.h:444:24: note: expected ‘int’ but argument is of type ‘void *’\n../../binutils-gdb/gdb/spu-linux-nat.c:383:5: error: passing argument 5 of ‘symbol_file_add_from_bfd’ makes integer from pointer without a cast [-Werror]\nIn file included from ../../binutils-gdb/gdb/spu-linux-nat.c:29:0:\n../../binutils-gdb/gdb/symfile.h:444:24: note: expected ‘int’ but argument is of type ‘void *’\n../../binutils-gdb/gdb/spu-linux-nat.c:383:5: error: too few arguments to function ‘symbol_file_add_from_bfd’\n\nArgument \u0027name\u0027 was added to function symbol_file_add_from_bfd by this patch\n\n  [patchv4 4/5] Keep objfile original filename\n  https://sourceware.org/ml/gdb-patches/2013-09/msg00683.html\n\nbut caller of symbol_file_add_from_bfd in spu-linux-nat.c wasn\u0027t updated.\n\nThis patch fixes the build error.\n\ngdb:\n\n2014-01-08  Yao Qi  \u003cyao@codesourcery.com\u003e\n\n\t* spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass\n\treturn value of bfd_get_filename to symbol_file_add_from_bfd.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "152d9eb62cffd2dfd0335e9bd1dc0f3e2997cd19",
      "old_mode": 33188,
      "old_path": "gdb/ChangeLog",
      "new_id": "e5c7bdce82487332740b035080abb730109e3365",
      "new_mode": 33188,
      "new_path": "gdb/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "9441e02a5e1488afac2e178d65e96d07e7733e56",
      "old_mode": 33188,
      "old_path": "gdb/spu-linux-nat.c",
      "new_id": "cfd5fd96a9d626310f20b9b66d1e850cc19ee9b3",
      "new_mode": 33188,
      "new_path": "gdb/spu-linux-nat.c"
    }
  ]
}
