]> sourceware.org Git - systemtap.git/commit
PR20423: improve 'struct {...} being accessed instead of member' message
authorFrank Ch. Eigler <fche@redhat.com>
Sun, 31 Jul 2016 17:57:32 +0000 (13:57 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Sun, 31 Jul 2016 17:57:32 +0000 (13:57 -0400)
commit9cc6246c9793c3758dfaecf97a0fbfd9b563222a
treee7c325dfdbf8daffb0ad4b3320ae72ae43563b54
parent10a7ba129f164cf935c9fd669c83afed537f2e57
PR20423: improve 'struct {...} being accessed instead of member' message

Esp. for anonymous structures, this message was not very helpful.
The new message is much more complete:

semantic error: 'struct {...}' (include/linux/types.h:175) is being accessed instead of a member such as '->counter': operator '->' at <input>:1:81
        source: probe kernel.function("dput") { println( @cast($dentry->d_inode, "struct inode")->i_count) }
                                                                                                ^
dwflpp.cxx
This page took 0.025363 seconds and 5 git commands to generate.