public inbox for gdb-testers@sourceware.org help / color / mirror / Atom feed
From: sergiodj+buildbot@redhat.com To: gdb-testers@sourceware.org Subject: [binutils-gdb] Fix accessing a function's fields (parameters) from Python (PR 18073) Date: Wed, 21 Oct 2015 20:12:00 -0000 [thread overview] Message-ID: <bed91f4da252b5f30d3cb4fd9f9febd61ad9560d@gdb-build> (raw) *** TEST RESULTS FOR COMMIT bed91f4da252b5f30d3cb4fd9f9febd61ad9560d *** Author: Simon Marchi <simon.marchi@ericsson.com> Branch: master Commit: bed91f4da252b5f30d3cb4fd9f9febd61ad9560d Fix accessing a function's fields (parameters) from Python (PR 18073) Since 7.4, gdb doesn't allow calling .fields() on a function type, even though the documentation states it should return a list corresponding to the function's parameters. This patch restores the intended behaviour and adds a test for it. Reg-tested on Arch Linux x86-64. gdb/ChangeLog: PR python/18073 * python/py-type.c (typy_get_composite): Allow returning a function type. gdb/testsuite/ChangeLog: PR python/18073 * gdb.python/py-type.c (C::a_method): New. (C::a_const_method): New. (C::a_static_method): New. (a_function): New. * gdb.python/py-type.exp (test_fields): Test getting fields from function and method.
next reply other threads:[~2015-10-21 20:12 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-10-21 20:12 sergiodj+buildbot [this message] 2015-10-21 20:13 ` Failures on Debian-s390x-native-gdbserver-m64, branch master sergiodj+buildbot 2015-10-21 20:22 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot 2015-10-21 20:27 ` Failures on AIX-POWER7-plain, " sergiodj+buildbot 2015-10-21 20:30 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot 2015-10-21 20:30 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot 2015-10-21 20:33 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot 2015-10-21 20:37 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot 2015-10-21 22:07 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot 2015-10-22 3:05 ` Failures on Debian-i686, " sergiodj+buildbot 2015-10-22 3:10 ` Failures on Debian-i686-native-gdbserver, " sergiodj+buildbot 2015-10-22 3:36 ` Failures on Fedora-ppc64be-cc-with-index, " sergiodj+buildbot 2015-10-22 3:59 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot 2015-10-22 4:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot 2015-10-22 4:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot 2015-10-22 5:46 ` Failures on Debian-x86_64-native-gdbserver-m64, " sergiodj+buildbot 2015-10-22 7:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot 2015-10-22 8:26 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bed91f4da252b5f30d3cb4fd9f9febd61ad9560d@gdb-build \ --to=sergiodj+buildbot@redhat.com \ --cc=gdb-testers@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).