This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug mi/13393] There is no way to access runtime type of C++variable via MI (using RTTI)


http://sourceware.org/bugzilla/show_bug.cgi?id=13393

--- Comment #9 from Anton <xgsa at yandex dot ru> 2011-11-10 09:12:01 UTC ---
Here are a few MI commands to reproduce the problem on example posted above:
-interpreter-exec console "set print object on"
-break-insert test_case.cpp:19
-exec-run
-var-create v * *aPtr

Actual behavior: type of varobj v is Base.
Expected: type of varobj v is Derived.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]