+2001-06-07 Andrew Cagney <ac131313@redhat.com>
+
+ * gnu-v3-abi.c: Include "gdb_assert.h".
+ (build_gdb_vtable_type): Replace abort() with gdb_assert().
+
2001-06-06 Jim Blandy <jimb@redhat.com>
* cp-abi.h: Rearrange code to put documentation comments above the
#include "value.h"
#include "cp-abi.h"
#include "demangle.h"
+#include "gdb_assert.h"
static struct cp_abi_ops gnu_v3_abi_ops;
field++;
/* We assumed in the allocation above that there were four fields. */
- if (field != field_list + 4)
- abort ();
+ gdb_assert (field == (field_list + 4));
t = init_type (TYPE_CODE_STRUCT, offset, 0, 0, 0);
TYPE_NFIELDS (t) = field - field_list;