From eb9ea5de7419d471a66a17e3261200601d5f16f4 Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Fri, 12 Feb 1999 00:00:14 +0000 Subject: [PATCH] 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(-) diff --git a/gdb/ChangeLog-gdbtk b/gdb/ChangeLog-gdbtk index c3717be378e..514b2c7fbcb 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 09ff3609b90..f1e745568df 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)) -- 2.30.2