RetroArch
Debug Build(mame2003-plus-libretro)
--- old_Makefile 2019-08-02 05:37:00.001226188 -0400 +++ new_Makefile 2019-08-02 05:37:22.497071201 -0400 @@ -592,11 +592,12 @@ # Disable optimization when debugging ##################### -ifeq ($(DEBUG), 1) - CFLAGS += -O0 -g3 -else - CFLAGS += -O2 -DNDEBUG -endif +#ifeq ($(DEBUG), 1) +# CFLAGS += -O0 -g3 +#else +# CFLAGS += -O2 -DNDEBUG +#endif +CFLAGS+= -ggdb # include the various .mak files include Makefile.common