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: [PATCHv2 4/5] gdb: Introduce new language field la_is_string_type_p


>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:

>> It seems to me that a "char *" should be considered a string in C;
>> and probably a "wchar_t *" as well.  Maybe see c-lang.c:classify_type.

Andrew> Do you think that this applied on top of the previous would catch all
Andrew> of the pointer cases?

I think that should be fine, thanks.

Tom


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