gdb:
authorTom Tromey <tromey@redhat.com>
Sun, 27 Jul 2008 02:00:04 +0000 (02:00 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 27 Jul 2008 02:00:04 +0000 (02:00 +0000)
commitfa8de41e93025afa77b80acac961c517920f7158
treecb7b2225f8e0ed6f86f5e7419bb55fd633f07b85
parentccb3ac8a121682a5fc5fd767f80872ef3e5c7b47
gdb:
PR gdb/1158:
* valops.c (value_struct_elt): Treat function-valued field as a
static method.
gdb/testsuite:
* gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
(function_struct, function_struct_ptr): New globals.
* gdb.base/callfuncs.exp (do_function_calls): Test calling via a
function pointer in a struct.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/callfuncs.c
gdb/testsuite/gdb.base/callfuncs.exp
gdb/valops.c