aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-16 19:48:01 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-16 19:48:01 +0000
commit1622c8f76475cdcba35e690db46bf48fe0238617 (patch)
treea291b64f84a34dd4dab304a389d8535fc371b375
parent656db9b08746483c4ce8553f942faf663bf05e40 (diff)
downloadgdb-1622c8f76475cdcba35e690db46bf48fe0238617.zip
gdb-1622c8f76475cdcba35e690db46bf48fe0238617.tar.gz
gdb-1622c8f76475cdcba35e690db46bf48fe0238617.tar.bz2
regenerate gdbarch.c.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gdbarch.c16
2 files changed, 12 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cb2e21d..a5b11f7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-16 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
+
2001-06-15 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index b0a0203..fc23d3e 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -1053,14 +1053,14 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file)
#ifdef CANNOT_FETCH_REGISTER
fprintf_unfiltered (file,
"gdbarch_dump: %s # %s\n",
- "CANNOT_FETCH_REGISTER(reg_nr)",
- XSTRING (CANNOT_FETCH_REGISTER (reg_nr)));
+ "CANNOT_FETCH_REGISTER(regnum)",
+ XSTRING (CANNOT_FETCH_REGISTER (regnum)));
#endif
#ifdef CANNOT_STORE_REGISTER
fprintf_unfiltered (file,
"gdbarch_dump: %s # %s\n",
- "CANNOT_STORE_REGISTER(reg_nr)",
- XSTRING (CANNOT_STORE_REGISTER (reg_nr)));
+ "CANNOT_STORE_REGISTER(regnum)",
+ XSTRING (CANNOT_STORE_REGISTER (regnum)));
#endif
#ifdef USE_GENERIC_DUMMY_FRAMES
fprintf_unfiltered (file,
@@ -3089,14 +3089,14 @@ set_gdbarch_register_bytes_ok (struct gdbarch *gdbarch,
}
int
-gdbarch_cannot_fetch_register (struct gdbarch *gdbarch, int reg_nr)
+gdbarch_cannot_fetch_register (struct gdbarch *gdbarch, int regnum)
{
if (gdbarch->cannot_fetch_register == 0)
internal_error (__FILE__, __LINE__,
"gdbarch: gdbarch_cannot_fetch_register invalid");
if (gdbarch_debug >= 2)
fprintf_unfiltered (gdb_stdlog, "gdbarch_cannot_fetch_register called\n");
- return gdbarch->cannot_fetch_register (reg_nr);
+ return gdbarch->cannot_fetch_register (regnum);
}
void
@@ -3107,14 +3107,14 @@ set_gdbarch_cannot_fetch_register (struct gdbarch *gdbarch,
}
int
-gdbarch_cannot_store_register (struct gdbarch *gdbarch, int reg_nr)
+gdbarch_cannot_store_register (struct gdbarch *gdbarch, int regnum)
{
if (gdbarch->cannot_store_register == 0)
internal_error (__FILE__, __LINE__,
"gdbarch: gdbarch_cannot_store_register invalid");
if (gdbarch_debug >= 2)
fprintf_unfiltered (gdb_stdlog, "gdbarch_cannot_store_register called\n");
- return gdbarch->cannot_store_register (reg_nr);
+ return gdbarch->cannot_store_register (regnum);
}
void