Commit 9e62412d authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

winedbg: Add support for printing c++ bool values.

parent ff30321e
...@@ -359,6 +359,10 @@ static void print_typed_basic(const struct dbg_lvalue* lvalue) ...@@ -359,6 +359,10 @@ static void print_typed_basic(const struct dbg_lvalue* lvalue)
else else
dbg_printf("'%c'", (char)val_int); dbg_printf("'%c'", (char)val_int);
break; break;
case btBool:
if (!be_cpu->fetch_integer(lvalue, size, TRUE, &val_int)) return;
dbg_printf("%s", val_int ? "true" : "false");
break;
default: default:
WINE_FIXME("Unsupported basetype %u\n", bt); WINE_FIXME("Unsupported basetype %u\n", bt);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment