diff --git a/ChangeLog b/ChangeLog
index 370dfbaa8c83812b73794ec36db18632d01bc099..961be44bc37e18f43fe96709fc6226779cb40593 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-11-15  Kevin P. Fleming  <kpfleming@limerick.digium.com>
 
+	* Makefile: use -g3 for compiler to include macro information for debugger
+
 	* astmm.c (__ast_vasprintf): don't re-use the ap list without copying it; that's not safe on some platforms (issue #5035)
 
 	* doc/README.backtrace: add note about properly building Asterisk to be able to produce backtraces; wrap text and remove DOS line endings
diff --git a/Makefile b/Makefile
index e5dab8a32ebb4715acfc6c770d4b32a89873a165..1d4b7c222c8ce94a70ec188e5aafaa6befafaa05 100755
--- a/Makefile
+++ b/Makefile
@@ -50,8 +50,8 @@ endif
 #Overwite config files on "make samples"
 OVERWRITE=y
 
-#Include debug symbols in the executables (-g) and profiling info (-pg)
-DEBUG=-g #-pg
+#Include debug and macro symbols in the executables (-g) and profiling info (-pg)
+DEBUG=-g3 #-pg
 
 #Set NOCRYPTO to yes if you do not want to have crypto support or 
 #dependencies