The following patch enhances the frame id support to allow an architecture to set a special address for the frame. This enables architectures such as the ia64 (which has a 2nd stack) to properly mark distinct frames. I added a new routine that builds frame ids that has a special address parameter. The current frame_id_build() has been changed to call the new routine with a default special address of 0. This means that existing calls to frame_id_build() require no changes. Ok to commit to mainline? -- Jeff J. 2003-10-06 Jeff Johnston * frame.h (struct frame_id): Add new field: special_addr. (frame_id_build_special): New prototype. * frame.c (frame_id_build_special): New function. (frame_id_build): Change to call frame_id_build_special(). (frame_id_eq): Change to also test special_addr field.