]> gcc.gnu.org Git - gcc.git/commit - gcc/dbxout.c
re PR debug/12066 (g++ generates stabs for "char *" that gdb cannot read)
authorMark Mitchell <mark@codesourcery.com>
Wed, 17 Sep 2003 20:52:41 +0000 (20:52 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 17 Sep 2003 20:52:41 +0000 (20:52 +0000)
commit47aa0df47504bd7a24c0e5e3110e927233e4a96d
treeb548787b45299cc7b303a1196b1877191302b679
parent43892f8cea65404797f538f37a500ca62bf672c0
re PR debug/12066 (g++ generates stabs for "char *" that gdb cannot read)

PR debug/12066
* dbxout.c (dbxout_init): Use a langhook to find builtin types.
* langhooks-def.h (lhd_return_null_tree_v): New function.
(LANG_HOOKS_BUILTIN_TYPE_DECLS): New macro.
(LANG_HOOKS_DECLS): Add it to the intializer.
* langhooks.c (lhd_return_null_tree_v): New function.
* langhooks.h (lang_hooks_for_decls): Add builtin_type_decls.

PR debug/12066
* cp-lang.c (LANG_HOOKS_BUILTIN_TYPE_DECLS): Define.
* cp-tree.h (cxx_builtin_type_decls): Declare.
* decl.c (builtin_type_decls): New variables.
(cxx_builtin_type_decls): New function.
(record_builtin_type): Add to builtin_type_decls.

From-SVN: r71478
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/dbxout.c
gcc/langhooks-def.h
gcc/langhooks.c
gcc/langhooks.h
This page took 0.062667 seconds and 5 git commands to generate.