)]}'
{
  "commit": "0ad7d8d1a3a36c6e04e3b6d37d8825f18d595723",
  "tree": "8264c5240b5d9a78908266425117ebee8123b511",
  "parents": [
    "4c60f96807d8559a56412d846b96b9cccedfa8e7"
  ],
  "author": {
    "name": "Bernhard Heckel",
    "email": "bernhard.heckel@intel.com",
    "time": "Tue Jul 12 08:19:34 2016 +0200"
  },
  "committer": {
    "name": "Bernhard Heckel",
    "email": "bernhard.heckel@intel.com",
    "time": "Wed Sep 07 12:19:36 2016 +0200"
  },
  "message": "fort_dyn_array: Fortran dynamic string support\n\nThis patch changes the semantic of the Dwarf string length\nattribute to reflect the standard as well as enables\ncorrect string length calculation of dynamic strings. Add\ntests for varous dynamic string evaluations.\n\nOld:\n(gdb) p my_dyn_string\nCannot access memory at address 0x605fc0\n\nNew:\n(gdb) p *my_dyn_string\n$1 \u003d \u0027foo\u0027\n\ngdb/Changlog:\n\t* dwarf2read.c (read_tag_string_type): changed\n\tsemantic of DW_AT_string_length to be able to\n\thandle Dwarf blocks as well. Support for\n\tDW_AT_byte_length added to get correct length\n\tif specified in combination with\n\tDW_AT_string_length.\n\t(attr_to_dynamic_prop): added\n\tfunctionality to add Dwarf operators to baton\n\tdata attribute. Added post values to baton\n\tas required by the string evaluation case.\n\t(read_subrange_type): Adapt caller.\n\t(set_die_type): Adapt caller.\n\t(add_post_values_to_baton): New function.\n    \t* gdbtypes.c (resolve_dynamic_type): Add\n    \tconditions to support string types.\n    \t(resolve_dynamic_array): Add conditions for dynamic\n    \tstrings and create a new string type.\n    \t(is_dynamic_type): Follow pointer if a string type\n    \twas detected, as Fortran strings are represented\n    \tas pointers to strings internally.\n\ngdb/testsuite/Changelog:\n\t* vla-strings.f90: New file.\n\t* vla-strings.exp: New file.\n\nChange-Id: I7d7f47c7a4900a7fdb51102032455b53d60e60d7\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6658a386ec9a20851308d14545f1077714668ffa",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2read.c",
      "new_id": "678da8ff24507236ddce49319f7fe7dcad05a707",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2read.c"
    },
    {
      "type": "modify",
      "old_id": "b53e6494436400769ce6712ff908f2637d2859fe",
      "old_mode": 33188,
      "old_path": "gdb/gdbtypes.c",
      "new_id": "0aa9113cb8133074ffe16888ba894753327d88c5",
      "new_mode": 33188,
      "new_path": "gdb/gdbtypes.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "484fdcb652adce4ef4ee511cb29fec7ea29976f7",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.fortran/vla-strings.exp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3c22735fdbed8b8c84e22bddc9b2bdeec0bd7de6",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.fortran/vla-strings.f90"
    }
  ]
}
