* dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf.
Don't call get_current_frame().
This commit is contained in:
parent
4bd5a3935b
commit
2404952e63
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-07-04 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf.
|
||||
Don't call get_current_frame().
|
||||
|
||||
2002-07-04 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* i386-nat.c (child_post_startup_inferior): New function
|
||||
|
|
|
@ -1757,11 +1757,9 @@ cfi_write_fp (CORE_ADDR val)
|
|||
void
|
||||
cfi_pop_frame (struct frame_info *fi)
|
||||
{
|
||||
char regbuf[MAX_REGISTER_RAW_SIZE];
|
||||
char *regbuf = alloca (MAX_REGISTER_RAW_SIZE);
|
||||
int regnum;
|
||||
|
||||
fi = get_current_frame ();
|
||||
|
||||
for (regnum = 0; regnum < NUM_REGS; regnum++)
|
||||
{
|
||||
get_reg (regbuf, UNWIND_CONTEXT (fi), regnum);
|
||||
|
|
Loading…
Reference in a new issue