)]}'
{
  "commit": "140bf80050b34f0947b34dba93b830ea2bfc5040",
  "tree": "3ad07a5e68650a2f5f5850759f7310dcb7965523",
  "parents": [
    "a24d79337a9784e8eb7245e932a68cc0e4a89fc3"
  ],
  "author": {
    "name": "Adhemerval Zanella",
    "email": "adhemerval.zanella@linaro.org",
    "time": "Thu Aug 25 08:42:03 2016 +0100"
  },
  "committer": {
    "name": "Yao Qi",
    "email": "yao.qi@linaro.org",
    "time": "Thu Aug 25 08:55:27 2016 +0100"
  },
  "message": "Sync proc_service definition with GLIBC\n\nGLIBC BZ#20311 [1] proc_service.h install patch also remove \u0027const\u0027\nattributes from ps_get_thread_area and comment #15 discuss why to remove\nthe const attribute (basically since it a callback with the struct\nps_prochandle owned by the client it should be able to modify it if\nit the case).\n\nOn default build this is not the issue and current g++ does not trigger\nany issue with this mismatch declaration.  However, on some bootstrap\nbuild configuration where gdbserver is build with gcc instead this\ntriggers:\n\nerror: conflicting types for \u0027ps_get_thread_area\u0027\n\nThis patch fixes it by syncing the declaration with GLIBC.\n\n[1] https://sourceware.org/bugzilla/show_bug.cgi?id\u003d20311\n\ngdb/ChangeLog:\n\n2016-08-25  Adhemerval Zanella  \u003cadhemerval.zanella@linaro.org\u003e\n\n\t* aarch64-linux-nat.c (ps_get_thread_area): Remove const from\n\tstruct ps_prochandle.\n\t* amd64-linux-nat.c (ps_get_thread_area): Likewise.\n\t* arm-linux-nat.c (ps_get_thread_area): Likewise.\n\t* gdb_proc_service.h (ps_get_thread_area): Likewise.\n\t* i386-linux-nat.c (ps_get_thread_area): Likewise.\n\t* m68klinux-nat.c (ps_get_thread_area): Likewise.\n\t* mips-linux-nat.c (ps_get_thread_area): Likewise.\n\t* nat/aarch64-linux.c (aarch64_ps_get_thread_area): Likewise.\n\t* nat/aarch64-linux.h (aarch64_ps_get_thread_area): Likewise.\n\t* xtensa-linux-nat.c (ps_get_thread_area): Likewise.\n\ngdb/gdbserver/ChangeLog:\n\n2016-08-25  Adhemerval Zanella  \u003cadhemerval.zanella@linaro.org\u003e\n\n\tPR server/20491\n\t* gdb_proc_service.h (ps_get_thread_area): Remove const from struct\n\tps_prochandle.\n\t* linux-aarch64-low.c (ps_get_thread_area): Likewise.\n\t* linux-arm-low.c (ps_get_thread_area): Likewise.\n\t* linux-crisv32-low.c (ps_get_thread_area): Likewise.\n\t* linux-m68k-low.c (ps_get_thread_area): Likewise.\n\t* linux-mips-low.c (ps_get_thread_area): Likewise.\n\t* linux-nios2-low.c (ps_get_thread_area): Likewise.\n\t* linux-tic6x-low.c (ps_get_thread_area): Likewise.\n\t* linux-x86-low.c (ps_get_thread_area): Likewise.\n\t* linux-xtensa-low.c (ps_get_thread_area): Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9b6562502e67bf717fd96e64ada0d7988704bde4",
      "old_mode": 33188,
      "old_path": "gdb/ChangeLog",
      "new_id": "a03afdb82f0f4671ebb4339f163de40f390a52d2",
      "new_mode": 33188,
      "new_path": "gdb/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "fe1631dbbb64209b47de5d6bdc4e2b3d3b5d0f9b",
      "old_mode": 33188,
      "old_path": "gdb/aarch64-linux-nat.c",
      "new_id": "5166eebd337c31cfdced31d5b84cf90d4ae7ad19",
      "new_mode": 33188,
      "new_path": "gdb/aarch64-linux-nat.c"
    },
    {
      "type": "modify",
      "old_id": "391a646992b55967b7203399099da7010ea3d5ca",
      "old_mode": 33188,
      "old_path": "gdb/amd64-linux-nat.c",
      "new_id": "9da36fd1ba506985ce23a9210348f288844dec99",
      "new_mode": 33188,
      "new_path": "gdb/amd64-linux-nat.c"
    },
    {
      "type": "modify",
      "old_id": "d77ca9349849a07c8b18ab13f4a87fbb1f7412c0",
      "old_mode": 33188,
      "old_path": "gdb/arm-linux-nat.c",
      "new_id": "d11bdc6e225ad6041aec3248002fb6c9fe9a47d1",
      "new_mode": 33188,
      "new_path": "gdb/arm-linux-nat.c"
    },
    {
      "type": "modify",
      "old_id": "04d3c0388434296a6bdaf9cfb39596bb85fca516",
      "old_mode": 33188,
      "old_path": "gdb/gdb_proc_service.h",
      "new_id": "a1a8eb5b2f2bd53c84eaf9429624784531de933c",
      "new_mode": 33188,
      "new_path": "gdb/gdb_proc_service.h"
    },
    {
      "type": "modify",
      "old_id": "08fef5b06ef454cc4ef7cf2025e0c567f1dbf7d3",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/ChangeLog",
      "new_id": "ea278b1250048f247a70fadff89631fbd218d6a8",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "99bf226b01b90c4c349656caaac747baad2d80be",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/gdb_proc_service.h",
      "new_id": "cec9231ee5b3b1ace0e4509dd2c3ac26acd2ac2f",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/gdb_proc_service.h"
    },
    {
      "type": "modify",
      "old_id": "806a76260f89d370139b3c2d88eda8d62fce9750",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-aarch64-low.c",
      "new_id": "b86f210390eb4fd8eb4d6c9399b7f03b3aa94cab",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-aarch64-low.c"
    },
    {
      "type": "modify",
      "old_id": "0f627069e0ed6678b3a11ce733c199c719d1a813",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-arm-low.c",
      "new_id": "9f043878c7d9d29f6312f8e2f849f279712ed12e",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-arm-low.c"
    },
    {
      "type": "modify",
      "old_id": "16c1f72015136371e38017b7467fafcda5c5282a",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-crisv32-low.c",
      "new_id": "fea6d5bf9b343531984cf4774f1753c3a8a67080",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-crisv32-low.c"
    },
    {
      "type": "modify",
      "old_id": "df3d7c6d9c7522986b033888f64946a8d96f663e",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-m68k-low.c",
      "new_id": "78a340fa8fa68af375b5f8e77ead37d235899ceb",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-m68k-low.c"
    },
    {
      "type": "modify",
      "old_id": "30a03d5f438816e1a189cfd7fb10ca24b1de67cc",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-mips-low.c",
      "new_id": "9356bb3d9969fd711514e0d3ea03b7cf1954e336",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-mips-low.c"
    },
    {
      "type": "modify",
      "old_id": "ea0ded1f1ecfa4886cd37b885dee056ac6d88d7a",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-nios2-low.c",
      "new_id": "98a85ed8e32919ae85b4a9c46f4aff48ba2dd496",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-nios2-low.c"
    },
    {
      "type": "modify",
      "old_id": "e40a3aff5129452834380df003b8f6536cf2bf4d",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-tic6x-low.c",
      "new_id": "6b90560dc4de6249f8c48099d4c3ce518421c68c",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-tic6x-low.c"
    },
    {
      "type": "modify",
      "old_id": "0c4954a58dc9c4d87a8d776fd28d498307cf4332",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-x86-low.c",
      "new_id": "8bac10a54be00262f74ee6ecd2de3368c23e9c04",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-x86-low.c"
    },
    {
      "type": "modify",
      "old_id": "6e945eac173c768d3af766bb7fb66c98c19847f8",
      "old_mode": 33188,
      "old_path": "gdb/gdbserver/linux-xtensa-low.c",
      "new_id": "431082c01f1cdd67a2eed54d499065421b9c0f07",
      "new_mode": 33188,
      "new_path": "gdb/gdbserver/linux-xtensa-low.c"
    },
    {
      "type": "modify",
      "old_id": "a41ee2108152f63ea9560f5a3f847766f06158f3",
      "old_mode": 33188,
      "old_path": "gdb/i386-linux-nat.c",
      "new_id": "70d954fdc00bc03b1d7053bbe26d13aeaad398d3",
      "new_mode": 33188,
      "new_path": "gdb/i386-linux-nat.c"
    },
    {
      "type": "modify",
      "old_id": "24b6242ba39cf71bf31b573617a660add00b23cc",
      "old_mode": 33188,
      "old_path": "gdb/m68klinux-nat.c",
      "new_id": "5b8684b719765caaa6d5597085618827513804c0",
      "new_mode": 33188,
      "new_path": "gdb/m68klinux-nat.c"
    },
    {
      "type": "modify",
      "old_id": "bfe9fcbe687724349f19ad4ea0267df9d1c0c6a7",
      "old_mode": 33188,
      "old_path": "gdb/mips-linux-nat.c",
      "new_id": "0f20f16814fa0415ab7135149736a78491c1d6d5",
      "new_mode": 33188,
      "new_path": "gdb/mips-linux-nat.c"
    },
    {
      "type": "modify",
      "old_id": "5ae5aa860285e564e7668a8988f3772632983a10",
      "old_mode": 33188,
      "old_path": "gdb/nat/aarch64-linux.c",
      "new_id": "1828977e28f505ff60648df397a198fc9ec581e2",
      "new_mode": 33188,
      "new_path": "gdb/nat/aarch64-linux.c"
    },
    {
      "type": "modify",
      "old_id": "7221982b784ba958005c25c5bea93cb1707f000f",
      "old_mode": 33188,
      "old_path": "gdb/nat/aarch64-linux.h",
      "new_id": "aac7c68c0660049c55c3e1f1eb3a47604f9926dc",
      "new_mode": 33188,
      "new_path": "gdb/nat/aarch64-linux.h"
    },
    {
      "type": "modify",
      "old_id": "54da83791ae793ef75f388764c77741316a86b23",
      "old_mode": 33188,
      "old_path": "gdb/xtensa-linux-nat.c",
      "new_id": "836d3f80ee481602fdb6aff0763c72ef63fbeff4",
      "new_mode": 33188,
      "new_path": "gdb/xtensa-linux-nat.c"
    }
  ]
}
