diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2015-12-17 09:23:08 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2015-12-17 09:23:08 +0000 |
commit | 01704e5ad985b1f79c2d02dc59ccf94d5af2c5da (patch) | |
tree | 386a71d903e0a9b7ad0c6b9afeabe836fa999010 /gcc/doc/sourcebuild.texi | |
parent | 761f6ae919c2ae800acd23a8a99b50a71889e71d (diff) | |
download | gcc-01704e5ad985b1f79c2d02dc59ccf94d5af2c5da.zip gcc-01704e5ad985b1f79c2d02dc59ccf94d5af2c5da.tar.gz gcc-01704e5ad985b1f79c2d02dc59ccf94d5af2c5da.tar.bz2 |
Only support -gstabs on Mac OS X if assember supports it (PR target/67973)
gcc:
PR target/67973
* configure.ac (gcc_cv_as_stabs_directive): New test.
* configure: Regenerate.
* config.in: Regenerate.
* config/darwin.h (DBX_DEBUGGING_INFO): Wrap in
HAVE_AS_STABS_DIRECTIVE.
(PREFERRED_DEBUGGING_TYPE): Likewise.
* config/i386/darwin.h (PREFERRED_DEBUGGING_TYPE): Only include
DBX_DEBUG if HAVE_AS_STABS_DIRECTIVE.
* doc/sourcebuild.texi (Effective-Target Keywords, Environment
attributes): Document stabs.
gcc/testsuite:
PR target/67973
* lib/target-supports.exp (check_effective_target_stabs): New
proc.
* g++.dg/cpp0x/alias-decl-debug-0.C: Restrict to stabs targets.
* g++.dg/other/PR23205.C: Likewise.
* g++.dg/other/pr23205-2.C: Likewise.
* gcc.dg/20040813-1.c: Likewise.
* gcc.dg/darwin-20040809-2.c: Likewise.
* objc.dg/stabs-1.m: Likewise.
From-SVN: r231747
Diffstat (limited to 'gcc/doc/sourcebuild.texi')
-rw-r--r-- | gcc/doc/sourcebuild.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index cd49e6d8..a0debc8 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -1833,6 +1833,9 @@ time) should be run on this target. This can be enabled by setting the Test system runs executables on a simulator (i.e. slowly) rather than hardware (i.e. fast). +@item stabs +Target supports the stabs debugging format. + @item stdint_types Target has the basic signed and unsigned C types in @code{stdint.h}. This will be obsolete when GCC ensures a working @code{stdint.h} for |