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 #15 from Anton <xgsa at yandex dot ru> 2011-11-28 17:56:34 UTC ---
(In reply to comment #14)
> The dropping of "const" and "&" in the display in Qt Creator is intentional.
> Showing it (which had been possible in the past) is considered unhelpful noise
> with negligible benefit in fringe cases only. The "real" type is accessible
> through the main editor/F2 anyway. So if you can trigger a display of
> (toplevel) "const" or "&" for any output gdb (with or without your
> improvements) produces, please file a bug.

Thanks for clarification. I did not check Qt Creator with gdb patched by me
(because I cannot force it to use custom gdb), I have just made a few
assumptions based on how it looks from inside. Maybe I am wrong.

However, I don't think that "const" and "&" is unhelpful noise I can remove
these changes from my patch.

P.S. I have just checked Microsoft Visual Studio 2008 and find out that it
shows "const" and "&" too.

-- 
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]