mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
PR mi/12531 * varobj.c (install_default_visualizer): Do not install a visualizer if the varobj is CPLUS_FAKE_CHILD. (construct_visualizer): Likewise. 2011-04-29 Phil Muldoon <pmuldoon@redhat.com> PR mi/12531 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++ compile target. * gdb.python/py-prettyprint.exp: Add C++ object for CPLUS_FAKE_CHILD test.
This commit is contained in:
@ -94,6 +94,16 @@ class Derived : public Vbase1, public Vbase2, public Vbase3
|
||||
}
|
||||
};
|
||||
|
||||
class Fake
|
||||
{
|
||||
int sname;
|
||||
|
||||
public:
|
||||
Fake (const int name = 0):
|
||||
sname (name)
|
||||
{
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
struct substruct {
|
||||
@ -267,6 +277,7 @@ main ()
|
||||
|
||||
Derived derived;
|
||||
|
||||
Fake fake (42);
|
||||
#endif
|
||||
|
||||
add_item (&c, 23); /* MI breakpoint here */
|
||||
|
Reference in New Issue
Block a user