* i386-tdep.c (i386_frameless_signal_p): Removed.
(i386_frame_chain): Removed.
(i386_sigtramp_saved_pc, i386_sigtramp_saved_sp): Removed.
(i386_frame_saved_pc): Removed.
(i386_saved_pc_after_call): Use frame_unwind_register to find the
saved PC.
(i386_frame_init_saved_regs): Removed.
(i386_do_pop_frame, i386_pop_frame): Removed.
(i386_frame_cache): New function.
(i386_frame_pop, i386_frame_pc_unwind, i386_frame_id_unwind,
i386_frame_register_unwind): New functions.
(i386_frame_unwind): New variable.
(i386_frame_p): New function.
(i386_unwind_dummy_id, i386_save_dummy_frame_tos): New functions.
(i386_gdbarch_init): Don't set deprecated_init_frame_pc,
pop_frame, deprecated_frame_init_saved_regs, frame_chain and
frame_saved_pc.  Set unwind_dummy_id and save_dummy_frame_tos.
Call frame_unwind_append_predicate.
* i386-tdep.c (i386_frameless_signal_p): Removed.
(i386_frame_chain): Removed.
(i386_sigtramp_saved_pc, i386_sigtramp_saved_sp): Removed.
(i386_frame_saved_pc): Removed.
(i386_saved_pc_after_call): Use frame_unwind_register to find the
saved PC.
(i386_frame_init_saved_regs): Removed.
(i386_do_pop_frame, i386_pop_frame): Removed.
(i386_frame_cache): New function.
(i386_frame_pop, i386_frame_pc_unwind, i386_frame_id_unwind,
i386_frame_register_unwind): New functions.
(i386_frame_unwind): New variable.
(i386_frame_p): New function.
(i386_unwind_dummy_id, i386_save_dummy_frame_tos): New functions.
(i386_gdbarch_init): Don't set deprecated_init_frame_pc,
pop_frame, deprecated_frame_init_saved_regs, frame_chain and
frame_saved_pc.  Set unwind_dummy_id and save_dummy_frame_tos.
Call frame_unwind_append_predicate.
2003-03-16  Mark Kettenis  <kettenis@gnu.org>

	Merge with mainline.  Tag is kettenis-i386newframe-20030316-mergepoint.
2003-03-16  Mark Kettenis  <kettenis@gnu.org>

	Merge with mainline.  Tag is kettenis-i386newframe-20030316-mergepoint.
2003-03-16  Mark Kettenis  <kettenis@gnu.org>

	Merge with mainline.  Tag is kettenis-i386newframe-20030316-mergepoint.
2003-03-16  Mark Kettenis  <kettenis@gnu.org>

	Merge with mainline.  Tag is kettenis-i386newframe-20030316-mergepoint.
2003-03-16  Mark Kettenis  <kettenis@gnu.org>

	Merge with mainline.  Tag is kettenis-i386newframe-20030316-mergepoint.
2003-03-16  Mark Kettenis  <kettenis@gnu.org>

	Merge with mainline.  Tag is kettenis-i386newframe-20030316-mergepoint.
2003-03-16  Mark Kettenis  <kettenis@gnu.org>

	Merge with mainline.  Tag is kettenis-i386newframe-20030316-mergepoint.
* i386-tdep.c (regcache_cooked_write_unsigned): Remove define.
(i386_frame_cache): Cache PC.
(i386_frame_pop, i386_frame_pc_unwind): Remove.
(i386_unwind_pc): New function.
(i386_frame_id_unwind): Initialize cache if necessary.  Remove
related assertion.
(i386_frame_register_unwind): Remove FIXME and related assertion.
Add code that fakes a saved processor state with the direction
flag cleared.  Fix unwinding the stack register.
(struct i386_frame_unwind): Remove i386_frame_pop and
i386_frame_pc_unwind.
(i386_gdbarch_init): Set unwind_pc.
* i386-tdep.c (regcache_cooked_write_unsigned): Remove define.
(i386_frame_cache): Cache PC.
(i386_frame_pop, i386_frame_pc_unwind): Remove.
(i386_unwind_pc): New function.
(i386_frame_id_unwind): Initialize cache if necessary.  Remove
related assertion.
(i386_frame_register_unwind): Remove FIXME and related assertion.
Add code that fakes a saved processor state with the direction
flag cleared.  Fix unwinding the stack register.
(struct i386_frame_unwind): Remove i386_frame_pop and
i386_frame_pc_unwind.
(i386_gdbarch_init): Set unwind_pc.
* i386-tdep.c (struct i386_frame_cache): Remove frameless.
(i386_frame_cache): Don't set CACHE->frameless.
(i386_frame_id_unwind): Simplify: Just unwind the frame pointer in
all cases.
* i386-tdep.c (struct i386_frame_cache): Remove frameless.
(i386_frame_cache): Don't set CACHE->frameless.
(i386_frame_id_unwind): Simplify: Just unwind the frame pointer in
all cases.