* dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c')
This commit is contained in:
parent
23aa4c722c
commit
264d176389
2 changed files with 85 additions and 82 deletions
|
@ -5,6 +5,7 @@
|
|||
(update_context, cfi_read_fp, cfi_write_fp)
|
||||
(cfi_frame_chain, cfi_init_extra_frame_info)
|
||||
(cfi_virtual_frame_pointer): Use the above function.
|
||||
* dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c').
|
||||
|
||||
2002-06-11 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
|
|
|
@ -236,11 +236,12 @@ static void frame_state_for (struct context *context, struct frame_state *fs);
|
|||
static void get_reg (char *reg, struct context *context, int regnum);
|
||||
static CORE_ADDR execute_stack_op (struct objfile *objfile,
|
||||
char *op_ptr, char *op_end,
|
||||
struct context *context, CORE_ADDR initial);
|
||||
struct context *context,
|
||||
CORE_ADDR initial);
|
||||
static void update_context (struct context *context, struct frame_state *fs,
|
||||
int chain);
|
||||
|
||||
|
||||
|
||||
/* Memory allocation functions. */
|
||||
static struct fde_unit *
|
||||
fde_unit_alloc (void)
|
||||
|
@ -302,8 +303,8 @@ frame_state_alloc ()
|
|||
fs = (struct frame_state *) obstack_alloc (&unwind_tmp_obstack,
|
||||
sizeof (struct frame_state));
|
||||
memset (fs, 0, sizeof (struct frame_state));
|
||||
fs->regs.reg = (struct frame_state_reg *) obstack_alloc (&unwind_tmp_obstack,
|
||||
regs_size);
|
||||
fs->regs.reg =
|
||||
(struct frame_state_reg *) obstack_alloc (&unwind_tmp_obstack, regs_size);
|
||||
memset (fs->regs.reg, 0, regs_size);
|
||||
return fs;
|
||||
}
|
||||
|
@ -833,8 +834,7 @@ frame_state_for (struct context *context, struct frame_state *fs)
|
|||
}
|
||||
else
|
||||
internal_error (__FILE__, __LINE__,
|
||||
"%s(): Internal error: fde->cie_ptr==NULL !",
|
||||
__func__);
|
||||
"%s(): Internal error: fde->cie_ptr==NULL !", __func__);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -861,8 +861,7 @@ get_reg (char *reg, struct context *context, int regnum)
|
|||
REGISTER_RAW_SIZE (regnum));
|
||||
break;
|
||||
default:
|
||||
internal_error (__FILE__, __LINE__,
|
||||
"get_reg: unknown register rule");
|
||||
internal_error (__FILE__, __LINE__, "get_reg: unknown register rule");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1502,7 +1501,8 @@ dwarf2_build_frame_info (struct objfile *objfile)
|
|||
fde_chunks.array[fde_chunks.elems++] = fde;
|
||||
|
||||
fde->initial_location = read_pointer (abfd, &start)
|
||||
+ ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
|
||||
+ ANOFFSET (objfile->section_offsets,
|
||||
SECT_OFF_TEXT (objfile));
|
||||
fde->address_range = read_pointer (abfd, &start);
|
||||
|
||||
cie = cie_chunks;
|
||||
|
@ -1510,7 +1510,9 @@ dwarf2_build_frame_info (struct objfile *objfile)
|
|||
{
|
||||
if (cie->objfile == objfile)
|
||||
{
|
||||
if (from_eh && (cie->offset == (unit_offset + bytes_read - cie_id)))
|
||||
if (from_eh
|
||||
&& (cie->offset ==
|
||||
(unit_offset + bytes_read - cie_id)))
|
||||
break;
|
||||
if (!from_eh && (cie->offset == cie_id))
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue