Author: Armin Rigo <[email protected]>
Branch:
Changeset: r78011:a10c97822d2a
Date: 2015-06-10 12:29 +0200
http://bitbucket.org/pypy/pypy/changeset/a10c97822d2a/
Log: Resolved the confusion with another confusion (but less so)
diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py
--- a/rpython/translator/c/genc.py
+++ b/rpython/translator/c/genc.py
@@ -444,10 +444,9 @@
mk.definition('OBJECTS', '$(OBJECTS1) gcmaptable.s')
# the CFLAGS passed to gcc when invoked to assembler the .s file
- # must not contain -g. This confuses gcc 5.1. (arigo) I failed
- # to get any debugging symbols with gcc 5.1 and an older gdb
- # 7.4.1-debian; I don't understand why at all because it works
- # fine in manual examples.
+ # must not contain -g. This confuses gcc 5.1. (Note that it
+ # would seem that gcc 5.1 with "-g" does not produce debugging
+ # info in a format that gdb 4.7.1 can read.)
mk.definition('CFLAGS_AS', '$(patsubst -g,,$(CFLAGS))')
# the rule that transforms %.c into %.o, by compiling it to
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit