From 81a9a963a1d5374ada16859384e378b5561f4b2a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 27 Feb 2002 01:40:36 +0000 Subject: * memattr.c (mem_command): Eliminate ``true'' and ``false''. * osfsolib.c (solib_map_sections): Ditto. * irix5-nat.c (solib_map_sections): Ditto. * corelow.c (gdb_check_format): Ditto. * symfile.c (symfile_bfd_open): Ditto. * solib.c (solib_map_sections): Ditto. Partially fix PR gdb/354. --- gdb/memattr.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'gdb/memattr.c') diff --git a/gdb/memattr.c b/gdb/memattr.c index 8d7b0d8..7387e8d 100644 --- a/gdb/memattr.c +++ b/gdb/memattr.c @@ -31,9 +31,9 @@ const struct mem_attrib default_mem_attrib = { MEM_RW, /* mode */ MEM_WIDTH_UNSPECIFIED, - false, /* hwbreak */ - false, /* cache */ - false /* verify */ + 0, /* hwbreak */ + 0, /* cache */ + 0 /* verify */ }; static struct mem_region *mem_region_chain = NULL; @@ -183,21 +183,21 @@ mem_command (char *args, int from_tty) #if 0 else if (strcmp (tok, "hwbreak") == 0) - attrib.hwbreak = true; + attrib.hwbreak = 1; else if (strcmp (tok, "swbreak") == 0) - attrib.hwbreak = false; + attrib.hwbreak = 0; #endif else if (strcmp (tok, "cache") == 0) - attrib.cache = true; + attrib.cache = 1; else if (strcmp (tok, "nocache") == 0) - attrib.cache = false; + attrib.cache = 0; #if 0 else if (strcmp (tok, "verify") == 0) - attrib.verify = true; + attrib.verify = 1; else if (strcmp (tok, "noverify") == 0) - attrib.verify = false; + attrib.verify = 0; #endif else -- cgit v1.1