aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2006-07-31 17:33:30 +0000
committerFred Fish <fnf@specifix.com>2006-07-31 17:33:30 +0000
commit35d5d4ee3dee63dffe7bba8ae8b00f9d2679932b (patch)
treec86d3e301fe3a5e1aae94ce545c521eefb577586 /gdb/frame.c
parentd103cf611721c0e44394c3cb7dc6d7fe67c5c770 (diff)
downloadgdb-35d5d4ee3dee63dffe7bba8ae8b00f9d2679932b.zip
gdb-35d5d4ee3dee63dffe7bba8ae8b00f9d2679932b.tar.gz
gdb-35d5d4ee3dee63dffe7bba8ae8b00f9d2679932b.tar.bz2
Reviewed by Daniel Jacobowitz <drow@false.org>
2006-07-31 Fred Fish <fnf@specifix.com> * arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC instead of calling frame_obstack_zalloc directly. (arm_make_stub_cache): Ditto. * frame-unwind.h: Ditto. * frame.c (create_new_frame): Ditto.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index 64e1baf..19141ff 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -946,7 +946,7 @@ create_new_frame (CORE_ADDR addr, CORE_ADDR pc)
paddr_nz (addr), paddr_nz (pc));
}
- fi = frame_obstack_zalloc (sizeof (struct frame_info));
+ fi = FRAME_OBSTACK_ZALLOC (struct frame_info);
fi->next = create_sentinel_frame (current_regcache);