+2002-12-11 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-tdep.c: Include "dummy-frame.h".
+ (i386_frame_chain, i386_frame_saved_pc): Replace
+ DEPRECATED_PC_IN_CALL_DUMMY with call to pc_in_dummy_frame.
+ (i386_gdbarch_init): Don't set deprecated_pc_in_call_dummy.
+
2002-12-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_INIT_FRAME_PC): Rename INIT_FRAME_PC.
#include "value.h"
#include "gdb_assert.h"
#include "reggroups.h"
+#include "dummy-frame.h"
#include "i386-tdep.h"
#include "i387-tdep.h"
static CORE_ADDR
i386_frame_chain (struct frame_info *frame)
{
- if (DEPRECATED_PC_IN_CALL_DUMMY (frame->pc, 0, 0))
+ if (pc_in_dummy_frame (frame->pc))
return frame->frame;
if (get_frame_type (frame) == SIGTRAMP_FRAME
static CORE_ADDR
i386_frame_saved_pc (struct frame_info *frame)
{
- if (DEPRECATED_PC_IN_CALL_DUMMY (frame->pc, 0, 0))
+ if (pc_in_dummy_frame (frame->pc))
{
ULONGEST pc;
i386_register_convert_to_virtual);
set_gdbarch_register_convert_to_raw (gdbarch, i386_register_convert_to_raw);
- set_gdbarch_deprecated_pc_in_call_dummy (gdbarch, deprecated_pc_in_call_dummy_at_entry_point);
-
/* "An argument's size is increased, if necessary, to make it a
multiple of [32-bit] words. This may require tail padding,
depending on the size of the argument" -- from the x86 ABI. */