From b65d2e3ca31014223bc2b9f65035459763a57bee Mon Sep 17 00:00:00 2001 From: zack Date: Thu, 10 Feb 2000 05:32:04 +0000 Subject: [PATCH] * configure.in: Correct --help text for --with-dwarf2. Put tm-dwarf2.h after other tm files, if it's requested. * configure: Regenerate. * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before defining it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31883 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 8 ++++++++ gcc/config/tm-dwarf2.h | 2 +- gcc/configure | 4 ++-- gcc/configure.in | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b6602c..cca6d23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ 2000-02-09 Zack Weinberg + * configure.in: Correct --help text for --with-dwarf2. + Put tm-dwarf2.h after other tm files, if it's requested. + * configure: Regenerate. + * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before + defining it. + +2000-02-09 Zack Weinberg + * cpplib.h: Provide HASHNODE typedef and forward decl of struct hashnode only. Kill cpp_hashnode typedef. MACRODEF, DEFINITION, struct hashnode, struct macrodef, struct diff --git a/gcc/config/tm-dwarf2.h b/gcc/config/tm-dwarf2.h index a580964..d08646e 100644 --- a/gcc/config/tm-dwarf2.h +++ b/gcc/config/tm-dwarf2.h @@ -1,4 +1,4 @@ /* Enable Dwarf2 debugging and make it the default */ #define DWARF2_DEBUGGING_INFO 1 +#undef PREFERRED_DEBUGGING_TYPE #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG - diff --git a/gcc/configure b/gcc/configure index 50094d0..2065a7f 100755 --- a/gcc/configure +++ b/gcc/configure @@ -58,7 +58,7 @@ ac_help="$ac_help --enable-objc-gc enable the use of Boehm's garbage collector with the GNU Objective-C runtime." ac_help="$ac_help - --enable-dwarf2 enable DWARF2 debugging as default." + --with-dwarf2 force the default debug format to be DWARF2." ac_help="$ac_help --enable-nls use Native Language Support (disabled by default)" ac_help="$ac_help @@ -6447,7 +6447,7 @@ then tmake_file=$cpu_type/t-$cpu_type fi if test x"$dwarf2" = xyes -then tm_file="tm-dwarf2.h $tm_file" +then tm_file="$tm_file tm-dwarf2.h" fi if test x$float_format = x diff --git a/gcc/configure.in b/gcc/configure.in index e2b9535..415fff3 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -295,7 +295,7 @@ fi, objc_boehm_gc='') AC_ARG_WITH(dwarf2, -[ --enable-dwarf2 enable DWARF2 debugging as default.], +[ --with-dwarf2 force the default debug format to be DWARF2.], dwarf2="$with_dwarf2", dwarf2=no) @@ -3844,7 +3844,7 @@ then tmake_file=$cpu_type/t-$cpu_type fi if test x"$dwarf2" = xyes -then tm_file="tm-dwarf2.h $tm_file" +then tm_file="$tm_file tm-dwarf2.h" fi if test x$float_format = x -- 2.7.4