STL, GDB Tutorial

STL, GDB Tutorial

STL Tutorial
http://blog.daum.net/coolprogramming/77
http://blog.daum.net/_blog/ArticleCateList.do?blogid=0Nu8o&CATEGORYID=7&dispkind=B2202

GDB Tutorial
http://theeye.pe.kr/40
http://coffeenix.net/doc/develop/gdb.html

cpp 단위 테스트 사용한 예제
http://blog.daum.net/coolprogramming/42

GDB를 이용한 Linux 소프트웨어의 디버깅
http://www.ibm.com/developerworks/kr/library/l-gdb/

(gdb) bt
#0  0x80483ea in wib (no1=8, no2=8) at eg1.c:7
#1  0x8048435 in main (argc=1, argv=0xbffff9c4) at eg1.c:21

(gdb) frame 1
(gdb) info locals

(gdb) break 21
(gdb) next

(gdb) print no1
$5 = 8
(gdb) print diff
$2 = 0

(gdb) break 21 if value==div
Breakpoint 1 at 0x8048428: file eg1.c, line 21.

(gdb) condition 1 value==div

(gdb) continue

Q. arguments 는 어떻게 하나?

Leave a Reply

Your email address will not be published. Required fields are marked *