This is the mail archive of the gdb-patches@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]

Re: RFA: fix PR python/11792


>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

>> The current language is a gdb setting.  It is independent of objects in
>> the inferior.

Eli> That's a misunderstanding, then: I didn't mean (and didn't say)
Eli> "current language".

Ok.

Eli> So I understand now that this feature will work only while debugging a
Eli> C++ program that includes RTTI for the object in question.  Otherwise,
Eli> it will just return the type of the value as in "ptype foo", is that
Eli> right?

That is reasonably accurate.

Eli> If so, maybe just mention this fact, since someone who debugs
Eli> a non-C++ program will not necessarily understand what is meant by
Eli> "the static type".

I still think the text is reasonably clear, but if you want to change
it, that is fine by me.

Tom


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