]> sourceware.org Git - binutils-gdb.git/commit
gdb: update gdb-gdb.py.in for latest changes to struct field
authorAndrew Burgess <aburgess@redhat.com>
Mon, 6 Dec 2021 11:25:04 +0000 (11:25 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 13 Dec 2021 11:37:02 +0000 (11:37 +0000)
commit7eb1526a8096133aae3164aea6388d186608ae74
tree1c42c2cacf81f387608d7cab321d049fa68969e1
parent20ac1cdb8c76397a314c248c3db733d7db1f8339
gdb: update gdb-gdb.py.in for latest changes to struct field

This commit updates uses of 'loc' and 'loc_kind' to 'm_loc' and
'm_loc_kind' respectively, in gdb-gdb.py.in, which is required after
this commit:

  commit cd3f655cc7a55437a05aa8e7b1fcc9051b5fe404
  Date:   Thu Sep 30 22:38:29 2021 -0400

      gdb: add accessors for field (and call site) location

I have also incorporated this change:

  https://sourceware.org/pipermail/gdb-patches/2021-September/182171.html

Which means we print 'm_name' instead of 'name' when displaying the
'm_name' member variable.

Finally, I have also added support for the new TYPE_SPECIFIC_INT
fields, which were added with this commit:

  commit 20a5fcbd5b28cca88511ac5a9ad5e54251e8fa6d
  Date:   Wed Sep 23 09:39:24 2020 -0600

      Handle bit offset and bit size in base types

I updated the gdb.gdb/python-helper.exp test to cover all of these
changes.
gdb/gdb-gdb.py.in
gdb/testsuite/gdb.gdb/python-helper.cc [new file with mode: 0644]
gdb/testsuite/gdb.gdb/python-helper.exp
This page took 0.040135 seconds and 5 git commands to generate.