2003-01-07 Andrew Cagney <cagney@redhat.com>

* frame.c (deprecated_set_frame_next_hack): New function.
	(deprecated_set_frame_prev_hack): New function.
	* frame.h (deprecated_set_frame_next_hack): Declare.
	(deprecated_set_frame_prev_hack): Declare.
	* mcore-tdep.c (analyze_dummy_frame): Use
	deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
	* mn10300-tdep.c (analyze_dummy_frame): Ditto.
This commit is contained in:
Andrew Cagney 2003-01-07 19:19:00 +00:00
parent 14e91ac52e
commit 483d36b217
5 changed files with 36 additions and 4 deletions

View file

@ -693,4 +693,12 @@ extern struct frame_info *deprecated_frame_xmalloc (void);
extern struct frame_info *deprecated_frame_xmalloc_with_cleanup (long sizeof_saved_regs,
long sizeof_extra_info);
/* FIXME: cagney/2003-01-07: These are just nasty. Code shouldn't be
doing this. I suspect it dates back to the days when every field
of an allocated structure was explicitly initialized. */
extern void deprecated_set_frame_next_hack (struct frame_info *fi,
struct frame_info *next);
extern void deprecated_set_frame_prev_hack (struct frame_info *fi,
struct frame_info *prev);
#endif /* !defined (FRAME_H) */