aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-11-18 23:52:12 +0000
committerJohn Gilmore <gnu@cygnus>1991-11-18 23:52:12 +0000
commite140f1dab1e9517aa3523e52a92f954dfbabaf4a (patch)
treea06e3112e68bec966ec031bc6ee19b6655b547cf /gdb/infrun.c
parentd08a5233d9e40a97789243cd563c5090b1736721 (diff)
downloadgdb-e140f1dab1e9517aa3523e52a92f954dfbabaf4a.zip
gdb-e140f1dab1e9517aa3523e52a92f954dfbabaf4a.tar.gz
gdb-e140f1dab1e9517aa3523e52a92f954dfbabaf4a.tar.bz2
Remove tdesc stuff. Remove FRAME_CHAIN_COMBINE from all tm-*.h files,
since it was always defined exactly the same in all of them.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c33
1 files changed, 1 insertions, 32 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index bb23c94..3ca563f 100644
--- a/gdb/infrun.c
+++ b/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)
{