Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos-niculescu authored Mar 14, 2024
1 parent 0431f3b commit bf80b78
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions laborator/content/operatii-memorie-gdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,9 @@ set dereference-limit 1
"cwd": "/tmp/01-hello-world",
"program": "/tmp/01-hello-world/hello",
"miDebuggerPath": "gdb",
"args": ["<", "1.in"],
"args": ["<", "1.in"],

Check failure on line 598 in laborator/content/operatii-memorie-gdb/README.md

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: trailing whitespace
```
> - în exemplul de mai sus la debug vrem stdin dintr-un fișier `1.in`
> - în exemplul de mai sus la debug vrem stdin dintr-un fișier `1.in`

Check failure on line 600 in laborator/content/operatii-memorie-gdb/README.md

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: trailing whitespace

Check failure on line 600 in laborator/content/operatii-memorie-gdb/README.md

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: trailing whitespace
> - la comanda F5, debuggerul trebuie să pornească și să se oprească pe prima instrucțiune; cu Ctrl-Shift-D activăm fereastra de debug
> - dacă avem module C, în acele module la buton dreapta apare opțiunea 'Disasembly window'
Expand All @@ -607,7 +607,7 @@ set dereference-limit 1
> - Variables/Locals - apar variabilele din funcțiile C
> - Variables/Rergisters/CPU - registrele pe 32 biți
> - Watch/+ se adaugă `print $eflags` pentru a vedea flagurile actualizate
> - În modul debug, cu click dreapta în sursă, se poate deschide 'Open disassembly view'
> - În mod debug, cu click dreapta în sursă, se poate deschide 'Open disassembly view'

Check failure on line 610 in laborator/content/operatii-memorie-gdb/README.md

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: 'modul' may be misspelled - perhaps 'module'?
> - În disasembly mode se pot pune breakpointuri în coloana din stânga adreselor; F10, F11 și Shift-F11 merg
> - În fereastra Terminal apar stdout și stdin ale progamului
> - În fereastra Debug Console apare promptul gdb; toate comenzile trebuie precedate de backquote `` ` ``
Expand All @@ -619,7 +619,8 @@ set dereference-limit 1
> - F11 step into - intră în funcții
> - Shift-F11 step out - iese din apelul curent
#### Links
#### Links

Check failure on line 622 in laborator/content/operatii-memorie-gdb/README.md

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: trailing whitespace
- [Using C++ on Linux in VS Code](https://code.visualstudio.com/docs/cpp/config-linux)
- [Debug C++ in Visual Studio Code](https://code.visualstudio.com/docs/cpp/cpp-debug)
- [How to use GDB with VS Code](https://www.muchen.ca/documents/CPEN411/vscode-debug.html)

0 comments on commit bf80b78

Please sign in to comment.