mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
Remove tdesc stuff. Remove FRAME_CHAIN_COMBINE from all tm-*.h files,
since it was always defined exactly the same in all of them.
This commit is contained in:
33
gdb/infrun.c
33
gdb/infrun.c
@@ -25,7 +25,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
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.
|
||||
|
||||
@@ -169,12 +169,6 @@ extern struct target_ops child_ops; /* In inftarg.c */
|
||||
(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];
|
||||
@@ -774,9 +768,6 @@ wait_for_inferior ()
|
||||
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
|
||||
@@ -805,9 +796,6 @@ wait_for_inferior ()
|
||||
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));
|
||||
@@ -828,9 +816,6 @@ wait_for_inferior ()
|
||||
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);
|
||||
@@ -855,14 +840,6 @@ wait_for_inferior ()
|
||||
#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 ()));
|
||||
|
||||
@@ -1327,14 +1304,6 @@ wait_for_inferior ()
|
||||
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user