Debug Hacks - 第4回つくらぐ勉強会
-
Upload
university-of-tsukuba-linux-user-group -
Category
Education
-
view
1.293 -
download
1
Transcript of Debug Hacks - 第4回つくらぐ勉強会
discassion_temp
Debug Hacks
#4
Hirotaka Kawata(techno, @hktechno)
(?)
techno, @hktechno, 1
http://techno-st.net/
& 2009 OS
()
(Debug)
()
...
...
w
IOCCC
w
...
...
printf()
printf
printf
...
printf ...
...
(ry
...
...
(Debugger) ...
gdb(GNU Debugger) VisualStudio
printf
...
gdb(GNU Debugger)with Emacs
Emacs
()
gdb - 1
gdb
gcc -g
gdb - 2
$ gdb a.out
gdba.out
Emacs
Emacs
M-x gdb...
gdb ...
...
run (r):
break (b):
continue (c):
print (p):
w
Debug Hacks
GDB
Debug Hacks
()
Click to edit the title text format
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline LevelNinth Outline Level