《操作系统》的实验代码。
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

44 líneas
1.5 KiB

  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/lab7_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. }