diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-02-27 01:40:36 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-02-27 01:40:36 +0000 |
commit | 81a9a963a1d5374ada16859384e378b5561f4b2a (patch) | |
tree | b100194c8f6fe3321ed3f1a882561b80b4e6d624 /gdb/memattr.c | |
parent | 0f017ab98fb70697cbb2b1d58b35932456fd9489 (diff) | |
download | gdb-81a9a963a1d5374ada16859384e378b5561f4b2a.zip gdb-81a9a963a1d5374ada16859384e378b5561f4b2a.tar.gz gdb-81a9a963a1d5374ada16859384e378b5561f4b2a.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r-- | gdb/memattr.c | 18 |
1 files changed, 9 insertions, 9 deletions
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 |