projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for target specific command line switches to old-style simualtors.
[deliverable/binutils-gdb.git]
/
gdb
/
memattr.c
diff --git
a/gdb/memattr.c
b/gdb/memattr.c
index 8d7b0d8c558eb5a7ae91b9fc3ed4ed3e7608877f..8c46d7eb168ec78a07239c7a320b7793adc0d83d 100644
(file)
--- a/
gdb/memattr.c
+++ b/
gdb/memattr.c
@@
-1,5
+1,6
@@
/* Memory attributes support, for GDB.
/* Memory attributes support, for GDB.
- Copyright 2001 Free Software Foundation, Inc.
+
+ Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-31,9
+32,9
@@
const struct mem_attrib default_mem_attrib =
{
MEM_RW, /* mode */
MEM_WIDTH_UNSPECIFIED,
{
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;
};
static struct mem_region *mem_region_chain = NULL;
@@
-183,21
+184,21
@@
mem_command (char *args, int from_tty)
#if 0
else if (strcmp (tok, "hwbreak") == 0)
#if 0
else if (strcmp (tok, "hwbreak") == 0)
- attrib.hwbreak =
true
;
+ attrib.hwbreak =
1
;
else if (strcmp (tok, "swbreak") == 0)
else if (strcmp (tok, "swbreak") == 0)
- attrib.hwbreak =
false
;
+ attrib.hwbreak =
0
;
#endif
else if (strcmp (tok, "cache") == 0)
#endif
else if (strcmp (tok, "cache") == 0)
- attrib.cache =
true
;
+ attrib.cache =
1
;
else if (strcmp (tok, "nocache") == 0)
else if (strcmp (tok, "nocache") == 0)
- attrib.cache =
false
;
+ attrib.cache =
0
;
#if 0
else if (strcmp (tok, "verify") == 0)
#if 0
else if (strcmp (tok, "verify") == 0)
- attrib.verify =
true
;
+ attrib.verify =
1
;
else if (strcmp (tok, "noverify") == 0)
else if (strcmp (tok, "noverify") == 0)
- attrib.verify =
false
;
+ attrib.verify =
0
;
#endif
else
#endif
else
@@
-238,16
+239,16
@@
mem_info_command (char *args, int from_tty)
m->number,
m->enabled_p ? 'y' : 'n');
if (TARGET_ADDR_BIT <= 32)
m->number,
m->enabled_p ? 'y' : 'n');
if (TARGET_ADDR_BIT <= 32)
- tmp = lo
ngest_lo
cal_hex_string_custom ((unsigned long) m->lo, "08l");
+ tmp = local_hex_string_custom ((unsigned long) m->lo, "08l");
else
else
- tmp = lo
ngest_lo
cal_hex_string_custom ((unsigned long) m->lo, "016l");
+ tmp = local_hex_string_custom ((unsigned long) m->lo, "016l");
printf_filtered ("%s ", tmp);
if (TARGET_ADDR_BIT <= 32)
printf_filtered ("%s ", tmp);
if (TARGET_ADDR_BIT <= 32)
- tmp = lo
ngest_lo
cal_hex_string_custom ((unsigned long) m->hi, "08l");
+ tmp = local_hex_string_custom ((unsigned long) m->hi, "08l");
else
else
- tmp = lo
ngest_lo
cal_hex_string_custom ((unsigned long) m->hi, "016l");
+ tmp = local_hex_string_custom ((unsigned long) m->hi, "016l");
printf_filtered ("%s ", tmp);
printf_filtered ("%s ", tmp);
This page took
0.024218 seconds
and
4
git commands to generate.