AMD General Hi, The attached patch fixes GDB failing to parse expressions that use "decltype" when the program contains a type named "decltype(nullptr)", which is the name compilers use for std::nullptr_t in debug information. For example: (gdb) ptype decltype(global_var) A syntax error in expression, near `global_var)'. The commit message in the patch explains the cause and the fix. Tested on x86_64-linux, no regressions in gdb.cp and gdb.dwarf2. (The patch is attached rather than inline because my mail client changes whitespace in inline patches.) Thanks, Victoria