summaryrefslogtreecommitdiff
path: root/gdb/memattr.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-27 01:40:36 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-27 01:40:36 +0000
commit0353c1f28af6cdf2c0fcbf2ce61aa0376f685eed (patch)
tree9fcf915e6c802da8dde03c740d88805ac8b54221 /gdb/memattr.c
parentf992b3e05722865e276c14a17ce0021f02c77179 (diff)
downloadgdb-0353c1f28af6cdf2c0fcbf2ce61aa0376f685eed.tar.gz
* 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.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/memattr.c b/gdb/memattr.c
index 8d7b0d8c558..7387e8d830d 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