aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 13154e1..54418ef 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -2222,10 +2222,7 @@ quit_command (args, from_tty)
char *args;
int from_tty;
{
- /* kung: inferior_pid may not exist in cross mode debugging,
- I commented it out temporarily, if it does not cause other problem,
- we should take it out permenantly. */
- if (/*inferior_pid != 0 &&*/ target_has_execution)
+ if (inferior_pid != 0 && target_has_execution)
{
if (attach_flag)
{