Browse Source

Add debug info to the CPU units by default, to be able to print register contents with GDB.

git-svn-id: trunk@33064 -
Jeppe Johansen 9 years ago
parent
commit
328b6464ed
2 changed files with 2 additions and 2 deletions
  1. 1 1
      rtl/embedded/Makefile
  2. 1 1
      rtl/embedded/Makefile.fpc

+ 1 - 1
rtl/embedded/Makefile

@@ -2727,7 +2727,7 @@ $(1)$(PPUEXT): $(ARCH)/$(1).pp $(SYSTEMUNIT)$(PPUEXT)
 endef
 $(foreach unit,$(CPU_UNITS),$(eval $(call CPU_UNITS_RULE,$(unit))))
 $(addsuffix $(PPUEXT),$(CPU_UNITS)):
-	$(COMPILER) $<
+	$(COMPILER) -g $<
 errors$(PPUEXT) : $(UNIXINC)/errors.pp strings$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
 	$(COMPILER) $(UNIXINC)/errors.pp
 callspec$(PPUEXT) : $(INC)/callspec.pp $(SYSTEMUNIT)$(PPUEXT)

+ 1 - 1
rtl/embedded/Makefile.fpc

@@ -326,7 +326,7 @@ endef
 $(foreach unit,$(CPU_UNITS),$(eval $(call CPU_UNITS_RULE,$(unit))))
 
 $(addsuffix $(PPUEXT),$(CPU_UNITS)):
-	$(COMPILER) $<
+	$(COMPILER) -g $<
 
 #
 # Other $(SYSTEMUNIT)-dependent RTL Units