《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.5 KiB

пре 8 месеци
пре 8 месеци
пре 8 месеци
  1. {
  2. // 使 IntelliSense
  3. //
  4. // 访: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "(gdb) 启动",
  9. "type": "cppdbg",
  10. "request": "launch",
  11. "program": "bin/kernel",
  12. "args": [],
  13. "stopAtEntry": false,
  14. "cwd": "${workspaceFolder}/labcodes_answer/lab6_result",
  15. "environment": [],
  16. "externalConsole": false,
  17. "MIMode": "gdb",
  18. "preLaunchTask": "make gdb",
  19. "postDebugTask": "shutdown gdb",
  20. "miDebuggerServerAddress": "localhost:1234",
  21. "setupCommands": [
  22. {
  23. "description": "为 gdb 启用整齐打印",
  24. "text": "-enable-pretty-printing",
  25. "ignoreFailures": true
  26. },
  27. {
  28. "description": "将反汇编风格设置为 Intel",
  29. "text": "-gdb-set disassembly-flavor intel",
  30. "ignoreFailures": true
  31. }
  32. ]
  33. },
  34. {
  35. "name": "Replay",
  36. "type": "lldb",
  37. "request": "custom",
  38. "targetCreateCommands": [],
  39. "processCreateCommands": ["gdb-remote 127.0.0.1:1234"],
  40. "reverseDebugging": true
  41. },
  42. ]
  43. }