mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* remote-vx.c (vx_attach): Fix for PR 11356. Remove code added
by kung. It made no sense.
This commit is contained in:
parent
54626f1aa4
commit
e1a51cc222
@ -1,3 +1,8 @@
|
||||
Sat Feb 15 17:43:46 1997 Stu Grossman (grossman@critters.cygnus.com)
|
||||
|
||||
* remote-vx.c (vx_attach): Fix for PR 11356. Remove code added
|
||||
by kung. It made no sense.
|
||||
|
||||
Fri Feb 14 13:00:07 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* main.c (print_gdb_help): Make static to match declaration.
|
||||
|
@ -1252,38 +1252,15 @@ vx_attach (args, from_tty)
|
||||
}
|
||||
|
||||
/* It worked... */
|
||||
push_target (&vx_run_ops);
|
||||
/* The unsigned long pid will get turned into a signed int here,
|
||||
but it doesn't seem to matter. inferior_pid must be signed
|
||||
in order for other parts of GDB to work correctly. */
|
||||
|
||||
inferior_pid = pid;
|
||||
push_target (&vx_run_ops);
|
||||
|
||||
if (vx_running)
|
||||
free (vx_running);
|
||||
vx_running = 0;
|
||||
#if defined (START_INFERIOR_HOOK)
|
||||
START_INFERIOR_HOOK ();
|
||||
#endif
|
||||
|
||||
mark_breakpoints_out ();
|
||||
|
||||
/* Set up the "saved terminal modes" of the inferior
|
||||
based on what modes we are starting it with. */
|
||||
|
||||
target_terminal_init ();
|
||||
|
||||
/* Install inferior's terminal modes. */
|
||||
|
||||
target_terminal_inferior ();
|
||||
|
||||
/* We will get a task spawn event immediately. */
|
||||
|
||||
init_wait_for_inferior ();
|
||||
clear_proceed_status ();
|
||||
stop_soon_quietly = 1;
|
||||
wait_for_inferior ();
|
||||
stop_soon_quietly = 0;
|
||||
normal_stop ();
|
||||
}
|
||||
|
||||
|
||||
/* detach_command --
|
||||
takes a program previously attached to and detaches it.
|
||||
The program resumes execution and will no longer stop
|
||||
|
Loading…
Reference in New Issue
Block a user