aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-04-28 05:21:23 +0000
committerMichael Snyder <msnyder@vmware.com>2000-04-28 05:21:23 +0000
commit06b8da7db5f3b4c6b5fcfd851f2c780571eaf4c2 (patch)
treea89657c5b8c1e3e41b4f87e2db9c8e33bcf5a2cc /gdb/gdbarch.c
parent2b5fe715f594881f50316f6622d9a5e37768f234 (diff)
downloadgdb-06b8da7db5f3b4c6b5fcfd851f2c780571eaf4c2.zip
gdb-06b8da7db5f3b4c6b5fcfd851f2c780571eaf4c2.tar.gz
gdb-06b8da7db5f3b4c6b5fcfd851f2c780571eaf4c2.tar.bz2
2000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>
* gdbarch.sh (d10v_daddr_p, d10v_iaddr_p, d10v_convert_daddr_to_raw, d10v_convert_iaddr_to_raw): make these multi-arch functions optional. * gdbarch.c, gdbarch.h: regenerate
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index b14cee8..a1c14d6 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -553,18 +553,10 @@ verify_gdbarch (struct gdbarch *gdbarch)
internal_error ("gdbarch: verify_gdbarch: pop_frame invalid");
/* Skip verify of d10v_make_daddr, invalid_p == 0 */
/* Skip verify of d10v_make_iaddr, invalid_p == 0 */
- if ((GDB_MULTI_ARCH >= 2)
- && (gdbarch->d10v_daddr_p == 0))
- internal_error ("gdbarch: verify_gdbarch: d10v_daddr_p invalid");
- if ((GDB_MULTI_ARCH >= 2)
- && (gdbarch->d10v_iaddr_p == 0))
- internal_error ("gdbarch: verify_gdbarch: d10v_iaddr_p invalid");
- if ((GDB_MULTI_ARCH >= 2)
- && (gdbarch->d10v_convert_daddr_to_raw == 0))
- internal_error ("gdbarch: verify_gdbarch: d10v_convert_daddr_to_raw invalid");
- if ((GDB_MULTI_ARCH >= 2)
- && (gdbarch->d10v_convert_iaddr_to_raw == 0))
- internal_error ("gdbarch: verify_gdbarch: d10v_convert_iaddr_to_raw invalid");
+ /* Skip verify of d10v_daddr_p, invalid_p == 0 */
+ /* Skip verify of d10v_iaddr_p, invalid_p == 0 */
+ /* Skip verify of d10v_convert_daddr_to_raw, invalid_p == 0 */
+ /* Skip verify of d10v_convert_iaddr_to_raw, invalid_p == 0 */
if ((GDB_MULTI_ARCH >= 2)
&& (gdbarch->store_struct_return == 0))
internal_error ("gdbarch: verify_gdbarch: store_struct_return invalid");