aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-wince-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/arm-wince-tdep.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/arm-wince-tdep.c')
-rw-r--r--gdb/arm-wince-tdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/arm-wince-tdep.c b/gdb/arm-wince-tdep.c
index 24f0e5b..aff8d20 100644
--- a/gdb/arm-wince-tdep.c
+++ b/gdb/arm-wince-tdep.c
@@ -45,9 +45,12 @@ arm_pe_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
CORE_ADDR next_pc;
/* The format of an ARM DLL trampoline is:
+
ldr ip, [pc]
ldr pc, [ip]
- .dw __imp_<func> */
+ .dw __imp_<func>
+
+ */
if (pc == 0
|| read_memory_unsigned_integer (pc + 0, 4, byte_order) != 0xe59fc000