diff options
author | Sterling Augustine <saugustine@google.com> | 2013-10-22 19:01:26 +0000 |
---|---|---|
committer | Sterling Augustine <sterling@gcc.gnu.org> | 2013-10-22 19:01:26 +0000 |
commit | 7a1dd0fab3c8bf87e3c40bc5f281968010b5465f (patch) | |
tree | ceef264b6494cfe1fff48bbe4839ccf4a9d0693c /gcc/doc | |
parent | 9ae93484ede1edb8ade7d16d8ac95fda8944aae4 (diff) | |
download | gcc-7a1dd0fab3c8bf87e3c40bc5f281968010b5465f.zip gcc-7a1dd0fab3c8bf87e3c40bc5f281968010b5465f.tar.gz gcc-7a1dd0fab3c8bf87e3c40bc5f281968010b5465f.tar.bz2 |
Add new option -ggnu-pubnames.
2013-10-22 Sterling Augustine <saugustine@google.com>
* doc/invoke.texi: Document -ggnu-pubnames.
* common.opt: Add new option -ggnu-pubnames and modify -gpubnames
logic.
* dwarf2out.c: Include gdb/gdb-index.h.
(DEBUG_PUBNAMES_SECTION, DEBUG_PUBTYPES_SECTION): Handle
debug_generate_pub_sections.
(is_java, output_pubtables, output_pubname): New functions.
(include_pubname_in_output): Handle debug_generate_pub_sections at
level 2.
(size_of_pubnames): Use new local space_for_flags based on
debug_generate_pub_sections.
(output_pubnames): Unify pubnames and pubtypes output logic.
Genericize comments. Call output_pubname.
(dwarf2out_finish): Move logic to output_pubnames and call it.
From-SVN: r203936
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index adbc45b..46a2b18 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -5087,6 +5087,12 @@ possible. @opindex gpubnames Generate dwarf .debug_pubnames and .debug_pubtypes sections. +@item -ggnu-pubnames +@opindex ggnu-pubnames +Generate .debug_pubnames and .debug_pubtypes sections in a format +suitable for conversion into a GDB@ index. This option is only useful +with a linker that can produce GDB@ index version 7. + @item -gstabs @opindex gstabs Produce debugging information in stabs format (if that is supported), |