* 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.
+2002-02-26 Andrew Cagney <ac131313@redhat.com>
+
+ * 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.
+ Fix PR gdb/354.
+
2002-02-26 Andrew Cagney <ac131313@redhat.com>
* remote.c (_initialize_remote): By default, disable ``e'' and
{
if (cf->check_format (abfd))
{
- return (true);
+ return (1);
}
}
- return (false);
+ return (0);
}
/* Discard all vestiges of any previous core file and mark data and stack
}
/* Leave bfd open, core_xfer_memory and "info files" need it. */
so->abfd = abfd;
- abfd->cacheable = true;
+ abfd->cacheable = 1;
if (!bfd_check_format (abfd, bfd_object))
{
{
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;
#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
}
/* Leave bfd open, core_xfer_memory and "info files" need it. */
so->abfd = abfd;
- abfd->cacheable = true;
+ abfd->cacheable = 1;
if (!bfd_check_format (abfd, bfd_object))
{
/* Leave bfd open, core_xfer_memory and "info files" need it. */
so->abfd = abfd;
- abfd->cacheable = true;
+ abfd->cacheable = 1;
/* copy full path name into so_name, so that later symbol_file_add
can find it */
error ("\"%s\": can't open to read symbols: %s.", name,
bfd_errmsg (bfd_get_error ()));
}
- sym_bfd->cacheable = true;
+ sym_bfd->cacheable = 1;
if (!bfd_check_format (sym_bfd, bfd_object))
{