File tree 1 file changed +25
-3
lines changed
1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 1
- GDB -> https://ccrma.stanford.edu/~jos/stkintro/Useful_commands_gdb.html
2
- -> https://www.youtube.com/playlist?list=PLATr4Ip40Bjb-2TibVNN63H1CmOIAHsai
3
- Valgrind -> https://docs.google.com/a/ncsu.edu/document/d/157C0BLPCqf2Pvc1ifV5Iy1i0GarGjFZdERaFKCDkjuA/edit
1
+ http://ubuntuforums.org/showthread.php?t=828018
2
+
3
+ Setting breakpoint in gdb when variable reaches a specific value:
4
+ http://stackoverflow.com/questions/7285529/setting-a-breakpoint-when-variable-reaches-specific-value
5
+
6
+ http://stackoverflow.com/questions/2520632/how-do-i-jump-to-a-breakpoint-within-gdb
7
+
8
+
9
+ WHEN TO USE free in C:
10
+ http://stackoverflow.com/questions/13590812/c-freeing-structs
11
+
12
+
13
+
14
+ Complete Command:
15
+ valgrind --tool=memcheck --leak-check=full --track-origins=yes --show-reachable=yes ./final --basic input-large.nikhil.bin sort-large.nikhil.bin > SORT-large.txt
16
+
17
+
18
+ valgrind --tool=memcheck --leak-check=full --track-origins=yes --show-reachable=yes ./assn_4 index.bin 4 < input-01.txt > output-01.txt
19
+
20
+ ./assn_4 index.bin 4 < input-01.txt > output-01.txt
21
+
22
+
23
+
24
+
25
+
You can’t perform that action at this time.
0 commit comments