aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-tdep.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/amd64-tdep.c
parent985743c7fb71a8639186d4f016788d3dc9b9d0da (diff)
downloadfsf-binutils-gdb-5f52445bfb1421c301d95e508c5dc52c4bf86abd.zip
fsf-binutils-gdb-5f52445bfb1421c301d95e508c5dc52c4bf86abd.tar.gz
fsf-binutils-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/amd64-tdep.c')
-rw-r--r--gdb/amd64-tdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index 173451f..abd9c48 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -670,7 +670,9 @@ amd64_classify (struct type *type, enum amd64_reg_class class[2])
struct complexT {
T real;
T imag;
- }; */
+ };
+
+ */
else if (code == TYPE_CODE_COMPLEX && len == 8)
class[0] = AMD64_SSE;
else if (code == TYPE_CODE_COMPLEX && len == 16)