aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2000-02-17 20:08:48 +0000
committerFernando Nasser <fnasser@redhat.com>2000-02-17 20:08:48 +0000
commitb8d86de35c406ba03d59205339e9f83f0fff814f (patch)
tree26977dedbce5a89c2e53fd559aed2eb490c0f188 /gdb
parente8b09175c1a5d4520f7bf2bb62cf980fb5c8070c (diff)
downloadgdb-b8d86de35c406ba03d59205339e9f83f0fff814f.zip
gdb-b8d86de35c406ba03d59205339e9f83f0fff814f.tar.gz
gdb-b8d86de35c406ba03d59205339e9f83f0fff814f.tar.bz2
2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
From Rodney Brown <RodneyBrown@pmsc.com> * ui-out.c (ui_out_set_flags): Fix typo, removing warning and potentially harming mistake.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ui-out.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 92c624d..3d78a28 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
+ From Rodney Brown <RodneyBrown@pmsc.com>
+ * 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 9e40011..80dee53 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;
}