mardi 10 mars 2015

Which versions of gdb and gcc allow watching rvalue references?

I am using GDB 7.8.0.20140729-cvs and GCC 4.8.2. Whenever I try to print the value of a variable referenced by an rvalue reference, I get an error from the debugger complaining about an unknown type, forcing me to manually cast the T && to a T *.


Are there newer versions of these where this bug is fixed? Ideally I'd prefer not to upgrade GCC if I don't have to?


Aucun commentaire:

Enregistrer un commentaire