aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-08-20 11:36:42 +0800
committerYao Qi <yao@codesourcery.com>2014-08-20 17:40:37 +0800
commit5f52445bfb1421c301d95e508c5dc52c4bf86abd (patch)
tree2f82849d99ecd13f944a419c4c72853e2fab89c2 /gdb/dwarf2read.c
parent985743c7fb71a8639186d4f016788d3dc9b9d0da (diff)
downloadgdb-5f52445bfb1421c301d95e508c5dc52c4bf86abd.zip
gdb-5f52445bfb1421c301d95e508c5dc52c4bf86abd.tar.gz
gdb-5f52445bfb1421c301d95e508c5dc52c4bf86abd.tar.bz2
Adjust comments with example in it
We would like to wrap examples, output or code snippet in comments with blank lines, and move */ to a new line if the comment is ended with the example. gdb: 2014-08-20 Yao Qi <yao@codesourcery.com> * amd64-tdep.c (amd64_classify): Add a blank line after the example. Move "*/" to a new line. * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise. * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise. * dwarf2read.c (psymtab_include_file_name): Likewise.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 11580cc..157d7fb 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -17125,7 +17125,9 @@ psymtab_include_file_name (const struct line_header *lh, int file_index,
include_name = "hello.c"
dir_name = "."
DW_AT_comp_dir = comp_dir = "/tmp"
- DW_AT_name = "./hello.c" */
+ DW_AT_name = "./hello.c"
+
+ */
if (dir_name != NULL)
{