2000-01-23 Richard Henderson <rth@cygnus.com>
+ * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
+ (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
+
+2000-01-23 Richard Henderson <rth@cygnus.com>
+
* i386.c (dbx_register_map, svr4_dbx_register_map): New.
* i386.h (DBX_REGISTER_NUMBER): Use them.
* i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
\f
#ifdef DWARF2_UNWIND_INFO
static int dwarf_reg_size_table_initialized = 0;
-static char dwarf_reg_size_table[FIRST_PSEUDO_REGISTER];
+static char dwarf_reg_size_table[DWARF_FRAME_REGISTERS];
static void
init_reg_size_table (void)
udata = next_stack_level (pc, udata, sub_udata);
sub_udata = p;
- for (i = 0; i < FIRST_PSEUDO_REGISTER; ++i)
+ for (i = 0; i < DWARF_FRAME_REGISTERS; ++i)
if (i != udata->retaddr_column && udata->saved[i])
{
/* If you modify the saved value of the return address