Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
student:stu:gdb [2022/09/14 17:27] – Add VS Code launch.json lam2mo | student:stu:gdb [2022/09/28 11:14] – [GDB + VS Code configuration] Add more details lam2mo | ||
---|---|---|---|
Line 5: | Line 5: | ||
Unfortunately, | Unfortunately, | ||
- | To gain access to a newer, fixed version of GDB (10.0) for your account, please run the following command verbatim while logged into stu: | + | To gain access to a newer, |
- | echo "source | + | echo "export PATH=/opt/gdb/bin:$PATH" >> |
| | ||
**PLEASE COPY AND PASTE THE COMMAND -- DO NOT ATTEMPT TO RE-TYPE IT!!** Every character must be exactly correct for it to work. You will need to log out and back in to get the correct version of GDB. You will know it is working by looking at the version number at the top of the text printed by GDB; it should start with " | **PLEASE COPY AND PASTE THE COMMAND -- DO NOT ATTEMPT TO RE-TYPE IT!!** Every character must be exactly correct for it to work. You will need to log out and back in to get the correct version of GDB. You will know it is working by looking at the version number at the top of the text printed by GDB; it should start with " | ||
+ | |||
+ | If you are in CS 261, you should use this command instead, because it will fix GDB and go ahead and set up a few other things we'll need later in the semester as well: | ||
+ | |||
+ | echo " | ||
===== GDB + VS Code configuration ===== | ===== GDB + VS Code configuration ===== | ||
- | Here is a sample '' | + | Here is a sample '' |
< | < |