From b8d86de35c406ba03d59205339e9f83f0fff814f Mon Sep 17 00:00:00 2001 From: Fernando Nasser Date: Thu, 17 Feb 2000 20:08:48 +0000 Subject: [PATCH] 2000-02-17 Fernando Nasser From Rodney Brown * ui-out.c (ui_out_set_flags): Fix typo, removing warning and potentially harming mistake. --- gdb/ChangeLog | 4 ++++ gdb/ui-out.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 92c624d4626..3d78a2804d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2000-02-17 Fernando Nasser + From Rodney Brown + * ui-out.c (ui_out_set_flags): Fix typo, removing warning and + potentially harming mistake. + * arm-tdep.c: Use header file instead of extern declarations for the {get,set}_arm_regname* functions. diff --git a/gdb/ui-out.c b/gdb/ui-out.c index 9e400111443..80dee5305f4 100644 --- a/gdb/ui-out.c +++ b/gdb/ui-out.c @@ -492,7 +492,7 @@ ui_out_set_flags (uiout, mask) { int oldflags; - uiout->flags != mask; + uiout->flags |= mask; return oldflags; } -- 2.30.2