Index: arc-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/arc-tdep.c,v retrieving revision 1.8 diff -p -r1.8 arc-tdep.c *** arc-tdep.c 2002/02/05 04:37:21 1.8 --- arc-tdep.c 2002/02/19 10:35:26 *************** arc_software_single_step (enum target_si *** 571,577 **** } } ! #ifdef GET_LONGJMP_TARGET /* Figure out where the longjmp will land. Slurp the args out of the stack. We expect the first arg to be a pointer to the jmp_buf structure from which we extract the pc (JB_PC) that we will land at. The pc is copied into PC. --- 571,579 ---- } } ! /* Because of Multi-arch, GET_LONGJMP_TARGET is always defined. So test ! for a definition of JB_PC. */ ! #ifdef JB_PC /* Figure out where the longjmp will land. Slurp the args out of the stack. We expect the first arg to be a pointer to the jmp_buf structure from which we extract the pc (JB_PC) that we will land at. The pc is copied into PC. Index: sparc-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc-tdep.c,v retrieving revision 1.22 diff -p -r1.22 sparc-tdep.c *** sparc-tdep.c 2002/01/20 19:26:48 1.22 --- sparc-tdep.c 2002/02/19 10:35:26 *************** fill_fpregset (gdb_fpregset_t *fpregsetp *** 1686,1693 **** #endif /* USE_PROC_FS */ ! ! #ifdef GET_LONGJMP_TARGET /* Figure out where the longjmp will land. We expect that we have just entered longjmp and haven't yet setup the stack frame, so the args are still in the --- 1686,1694 ---- #endif /* USE_PROC_FS */ ! /* Because of Multi-arch, GET_LONGJMP_TARGET is always defined. So test ! for a definition of JB_PC. */ ! #ifdef JB_PC /* Figure out where the longjmp will land. We expect that we have just entered longjmp and haven't yet setup the stack frame, so the args are still in the