Current and previous sp.
Current and previous start of current function.
- If the start's of the functions don't match, then
+ If the starts of the functions don't match, then
a) We did a subroutine call.
(name && !strcmp ("_sigtramp", name))
#endif
-#ifdef TDESC
-#include "tdesc.h"
-int safe_to_init_tdesc_context = 0;
-extern dc_dcontext_t current_context;
-#endif
-
/* Tables of how to react to signals; the user sets them. */
static char signal_stop[NSIG];
int stop_step_resume_break;
struct symtab_and_line sal;
int remove_breakpoints_on_following_step = 0;
-#ifdef TDESC
- extern dc_handle_t tdesc_handle;
-#endif
int current_line;
#if 0
if (WIFEXITED (w))
{
target_terminal_ours (); /* Must do this before mourn anyway */
-#ifdef TDESC
- safe_to_init_tdesc_context = 0;
-#endif
if (WEXITSTATUS (w))
printf ("\nProgram exited with code 0%o.\n",
(unsigned int)WEXITSTATUS (w));
stop_signal = WTERMSIG (w);
target_terminal_ours (); /* Must do this before mourn anyway */
target_kill ((char *)0, 0); /* kill mourns as well */
-#ifdef TDESC
- safe_to_init_tdesc_context = 0;
-#endif
#ifdef PRINT_RANDOM_SIGNAL
printf ("\nProgram terminated: ");
PRINT_RANDOM_SIGNAL (stop_signal);
#endif /* NO_SINGLE_STEP */
stop_pc = read_pc ();
-#ifdef TDESC
- if (safe_to_init_tdesc_context)
- {
- current_context = init_dcontext();
- set_current_frame ( create_new_frame (get_frame_base (read_pc()),read_pc()));
- }
- else
-#endif /* TDESC */
set_current_frame ( create_new_frame (read_register (FP_REGNUM),
read_pc ()));
to one-proceed past a breakpoint. */
/* If we've just finished a special step resume and we don't
want to hit a breakpoint, pull em out. */
-#ifdef TDESC
- if (!tdesc_handle)
- {
- init_tdesc();
- safe_to_init_tdesc_context = 1;
- }
-#endif
-
if (!step_resume_break_address &&
remove_breakpoints_on_following_step)
{