)]}'
{
  "commit": "03e323abf479e9ee3ebd38c4077a8da7fa1efe0c",
  "tree": "8e94293b3801971a1f71fb983f45488e9afa92a6",
  "parents": [
    "3401f947d8612ffad751fc71e7deda8613b6630e"
  ],
  "author": {
    "name": "Thiago Jung Bauermann",
    "email": "thiago.bauermann@linaro.org",
    "time": "Mon Apr 03 22:39:46 2023 +0000"
  },
  "committer": {
    "name": "Thiago Jung Bauermann",
    "email": "thiago.bauermann@linaro.org",
    "time": "Wed Apr 05 19:56:09 2023 +0000"
  },
  "message": "gdb: Fix reading of partial symtabs in dbxread.c\n\nAfter commit 9675da25357c (\"Use unrelocated_addr in minimal symbols\"),\naarch64-linux started failing gdb.asm/asm-source.exp:\n\nRunning /home/thiago.bauermann/src/binutils-gdb/gdb/testsuite/gdb.asm/asm-source.exp ...\nPASS: gdb.asm/asm-source.exp: f at main\nPASS: gdb.asm/asm-source.exp: n at main\nPASS: gdb.asm/asm-source.exp: next over macro\nFAIL: gdb.asm/asm-source.exp: step into foo2\nPASS: gdb.asm/asm-source.exp: info target\nPASS: gdb.asm/asm-source.exp: info symbol\nPASS: gdb.asm/asm-source.exp: list\nPASS: gdb.asm/asm-source.exp: search\nFAIL: gdb.asm/asm-source.exp: f in foo2\nFAIL: gdb.asm/asm-source.exp: n in foo2 (the program exited)\nFAIL: gdb.asm/asm-source.exp: bt ALL in foo2\nFAIL: gdb.asm/asm-source.exp: bt 2 in foo2\nPASS: gdb.asm/asm-source.exp: s 2\nPASS: gdb.asm/asm-source.exp: n 2\nFAIL: gdb.asm/asm-source.exp: bt 3 in foo3\nPASS: gdb.asm/asm-source.exp: info source asmsrc1.s\nFAIL: gdb.asm/asm-source.exp: finish from foo3 (the program is no longer running)\nFAIL: gdb.asm/asm-source.exp: info source asmsrc2.s\nPASS: gdb.asm/asm-source.exp: info sources\nFAIL: gdb.asm/asm-source.exp: info line\nFAIL: gdb.asm/asm-source.exp: next over foo3 (the program is no longer running)\nFAIL: gdb.asm/asm-source.exp: return from foo2\nPASS: gdb.asm/asm-source.exp: look at global variable\nPASS: gdb.asm/asm-source.exp: x/i \u0026globalvar\nPASS: gdb.asm/asm-source.exp: disassem \u0026globalvar, (int *) \u0026globalvar+1\nPASS: gdb.asm/asm-source.exp: look at static variable\nPASS: gdb.asm/asm-source.exp: x/i \u0026staticvar\nPASS: gdb.asm/asm-source.exp: disassem \u0026staticvar, (int *) \u0026staticvar+1\nPASS: gdb.asm/asm-source.exp: look at static function\n\nThe problem is simple: a pair of parentheses was removed from the\nexpression calculating text_end and thus text_size was only added if\nlowest_text_address wasn\u0027t equal to -1.\n\nThis patch restores the previous behaviour and fixes the testcase.\nTested on native aarch64-linux.\n\nReviewed-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f7c44c14ae2eb4e363565e3a086af25d1be815c5",
      "old_mode": 33188,
      "old_path": "gdb/dbxread.c",
      "new_id": "73371edd841284ea93f990a285a0c90ceb24f3db",
      "new_mode": 33188,
      "new_path": "gdb/dbxread.c"
    }
  ]
}
