SNU-ARC / 2024_spring_sysprog_Lab3

7 stars 0 forks source link

debug 모드 사용 방법 질문 #12

Open kimhaneal11 opened 5 months ago

kimhaneal11 commented 5 months ago

안녕하세요. debug 관련해서 질문이 있습니다.

mm_test.c를 실행할 때 detaseg.c가 DEBUG일 때만 LOG가 출력되는 것 같은데, 혹시 그 설정을 어디서 할 수 있는지 질문드리고 싶습니다.

감사합니다.

kwonsw055 commented 5 months ago

Makefile의 55번째 줄 CFLAGS=-Wall -Wno-stringop-truncation -O2 -g의 뒤에 -DDEBUG를 붙이면 DEBUG가 define 됩니다.