From eb9ea5de7419d471a66a17e3261200601d5f16f4 Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Fri, 12 Feb 1999 00:00:14 +0000 Subject: 1999-02-11 Martin Hunt * gdbtk-variable.c (variable_format): Enable binary format. --- gdb/ChangeLog-gdbtk | 4 ++++ gdb/gdbtk-variable.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/ChangeLog-gdbtk b/gdb/ChangeLog-gdbtk index c3717be..514b2c7 100644 --- a/gdb/ChangeLog-gdbtk +++ b/gdb/ChangeLog-gdbtk @@ -1,5 +1,9 @@ 1999-02-11 Martin Hunt + * gdbtk-variable.c (variable_format): Enable binary format. + +1999-02-11 Martin Hunt + * gdbtk-hooks.c: Change ALL Tcl_Eval calls in hooks to call report_error() if there are errors. diff --git a/gdb/gdbtk-variable.c b/gdb/gdbtk-variable.c index 09ff360..f1e7455 100644 --- a/gdb/gdbtk-variable.c +++ b/gdb/gdbtk-variable.c @@ -1185,7 +1185,7 @@ variable_format (interp, objc, objv, var) if (STREQN (fmt, "natural", len)) var->format = FORMAT_NATURAL; else if (STREQN (fmt, "binary", len)) - var->format = FORMAT_NATURAL; + var->format = FORMAT_BINARY; else if (STREQN (fmt, "decimal", len)) var->format = FORMAT_DECIMAL; else if (STREQN (fmt, "hexadecimal", len)) -- cgit v1.1