libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.

* libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
        (throw_helper): Iterate over DWARF_FRAME_REGISTERS.

From-SVN: r31576
This commit is contained in:
Richard Henderson 2000-01-23 14:33:30 -08:00 committed by Richard Henderson
parent 837748497c
commit 7e259f255f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -3241,7 +3241,7 @@ __get_eh_info (void)
#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)
@ -3949,7 +3949,7 @@ throw_helper (struct eh_context *eh, void *pc, frame_state *my_udata,
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