• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修订版4aea54ac94a2b105ff6d48208636ab4c47403ce2 (tree)
时间2006-09-14 11:27:02
作者Nick Roberts <nickrob@snap...>
CommiterNick Roberts

Log Message

(i386_linux_resume): Move async stuff for
i386_linux_resume into linux_nat_resume in linux-nat.c. This
file is now the same as for mainline.

更改概述

差异

--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -26,8 +26,6 @@
2626 #include "regcache.h"
2727 #include "target.h"
2828 #include "linux-nat.h"
29-#include "inf-loop.h"
30-#include "async-nat-inferior.h"
3129
3230 #include "gdb_assert.h"
3331 #include "gdb_string.h"
@@ -765,8 +763,6 @@ i386_linux_resume (ptid_t ptid, int step, enum target_signal signal)
765763
766764 int request = PTRACE_CONT;
767765
768- struct target_waitstatus status;
769-
770766 if (pid == -1)
771767 /* Resume all threads. */
772768 /* I think this only gets used in the non-threaded case, where "resume
@@ -817,23 +813,6 @@ i386_linux_resume (ptid_t ptid, int step, enum target_signal signal)
817813
818814 if (ptrace (request, pid, 0, target_signal_to_host (signal)) == -1)
819815 perror_with_name (("ptrace"));
820-
821- status.kind = TARGET_WAITKIND_SPURIOUS;
822- gdb_process_events (gdb_status, &status, 0, 0);
823-
824- if (gdb_post_pending_event ())
825- {
826- /* QUESTION: Do I need to lie about target_executing here? */
827- if (target_is_async_p ())
828- target_executing = 1;
829- return;
830- }
831-
832- if (target_can_async_p ())
833- target_async (inferior_event_handler, 0);
834-
835- if (target_is_async_p ())
836- target_executing = 1;
837816 }
838817
839818 static void (*super_post_startup_inferior) (ptid_t ptid);