)]}'
{
  "commit": "97e20099d3b02baafe244e975aebe09020d2ab34",
  "tree": "5209412e4df7a000e496de0c190b142ad89d2064",
  "parents": [
    "c2264c8f78f353daebce3086ae52b3c1cf2f0a8d"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Mon Nov 07 11:12:35 2022 -0700"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Wed Nov 09 08:37:25 2022 -0700"
  },
  "message": "Allow \u0027ptype/o\u0027 for assembly\n\nPR exp/28359 points out that \u0027ptype/o\u0027 does not work when the current\nlanguage is \"asm\".\n\nI tracked this down to a hard-coded list of languages in typeprint.c.\nThis patch replaces this list with a method on \u0027language_defn\u0027\ninstead.  If all languages are ever updated to have this feature, the\nmethod could be removed; but in the meantime this lets each language\ncontrol what happens.\n\nI looked at having each print_type method simply modify the flags\nitself, but this doesn\u0027t work very well with the feature that disables\nmethod-printing by default (but allows it via a flag).\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d28359\nApproved-By: Andrew Burgess \u003caburgess@redhat.com\u003e\nApproved-By: Keith Seitz \u003ckeiths@redhat.com\u003e\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "36b4d1ae3ddddfdbf0e2880bcc2ddc13430abb0e",
      "old_mode": 33188,
      "old_path": "gdb/c-lang.c",
      "new_id": "e15541f81759ee344478649563bba500dacda040",
      "new_mode": 33188,
      "new_path": "gdb/c-lang.c"
    },
    {
      "type": "modify",
      "old_id": "d9591997c876f508956223bd72527a4289d44659",
      "old_mode": 33188,
      "old_path": "gdb/d-lang.c",
      "new_id": "bb48af6d7c6891b12358db3b0251c940ea78ac61",
      "new_mode": 33188,
      "new_path": "gdb/d-lang.c"
    },
    {
      "type": "modify",
      "old_id": "871b00b3c94996ffc8a253943626c1da2333d81c",
      "old_mode": 33188,
      "old_path": "gdb/language.h",
      "new_id": "c1c735ad9ae2e4e236c99af733c249e3b492d3c4",
      "new_mode": 33188,
      "new_path": "gdb/language.h"
    },
    {
      "type": "modify",
      "old_id": "1a1d621547586aee7b0a264c640887667973201f",
      "old_mode": 33188,
      "old_path": "gdb/objc-lang.c",
      "new_id": "3c2cbf401f0bad4fa32e1389f27c274d131a41b2",
      "new_mode": 33188,
      "new_path": "gdb/objc-lang.c"
    },
    {
      "type": "modify",
      "old_id": "e41db3dcbbaa58fec38fbaf238feea6ecf5509f9",
      "old_mode": 33188,
      "old_path": "gdb/opencl-lang.c",
      "new_id": "f7cf00c6919606bc03a40073b07bcd4d37ef021e",
      "new_mode": 33188,
      "new_path": "gdb/opencl-lang.c"
    },
    {
      "type": "modify",
      "old_id": "f4c7b7fc1c8005be33becdfad3beb9cc7ffd0648",
      "old_mode": 33188,
      "old_path": "gdb/rust-lang.h",
      "new_id": "a1d10263feb3ffc355ad983de1600d7399d0c2c5",
      "new_mode": 33188,
      "new_path": "gdb/rust-lang.h"
    },
    {
      "type": "modify",
      "old_id": "eb41bafb3e6a96fed9bc79b43405a07641fc034f",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/ptype-offsets.exp",
      "new_id": "b42fa4dac436999767f12177477f444b1bc2e4a6",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/ptype-offsets.exp"
    },
    {
      "type": "modify",
      "old_id": "79043122b174d8d710351440bcfd8c1e6f919d28",
      "old_mode": 33188,
      "old_path": "gdb/typeprint.c",
      "new_id": "7a7ac6c314ecf824d6261d65b160414f3198947b",
      "new_mode": 33188,
      "new_path": "gdb/typeprint.c"
    }
  ]
}
