This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Query regarding new dwarf type support in gdb
Hi Tom,
Thanks for your reply. I have some further comment below -
> I think gdb should issue a complaint (try "set complaints 1000") and
> then make a new TYPE_CODE_ERROR type.
>
> IIRC, g++ already emis rvalue references, but gdb doesn't handle them
> yet.
> You can see this in action by digging around in libstdc++, or maybe
> using gdb with complaints enabled and "file -readnow ...".
Ok, I could check the behavior. In general, is there any place where I can check for current debug support of FSF gdb for C++11 features ?
> We try to avoid calling 'error' during DWARF reading (not with complete
> success) since it tends to discard the whole file's debuginfo -- much
> too big a hammer. This area could use some fixes.
Yes, I agree. It would be good if we could continue reading the rest of the debug information from the file even if we face an unknown type.
Regards,
Sujoy
> Tom