This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] fix exp/12117
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Doug> a) it seems like it's not just c/v, e.g., it's also the address space
Doug> [and perhaps here's a case where there are more bugs in this area :-)]
Tom> Yeah. Actually, this one seems like it could cause real problems
Tom> somewhere.
Jan> I may see it too naively but isn't the attached patch OK? I see no
Jan> instance flags or objfile ownership problem there.
Sorry, all I meant here is that stripping the address space qualifiers
in check_typedef is likely to be a source of bugs, because gdb calls
check_typedef all over the place, and presumably these bits translate
into some important target-specific difference in how memory is
accessed.
Tom