summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-31 11:08:07 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-31 11:08:07 +0000
commit5bc93ec743565000c677b9452118f019fd60f262 (patch)
tree97b3ec258821f0dd6a5b34de9860f1985c25dc09 /addr2line.c
parentdc8a744d6ece3626893888e15c4fdabb8d9e8aa3 (diff)
downloadbundler-5bc93ec743565000c677b9452118f019fd60f262.tar.gz
Use C90 comments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/addr2line.c b/addr2line.c
index 30e7509f4e..893ab583f2 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -1519,10 +1519,10 @@ debug_info_read(DebugInfoReader *reader, int num_traces, void **traces,
/* enumerate abbrev */
for (;;) {
DebugInfoValue v = {{}};
- //ptrdiff_t pos = reader->p - reader->p0;
+ /* ptrdiff_t pos = reader->p - reader->p0; */
if (!di_read_record(reader, &v)) break;
- //fprintf(stderr,"\n%d:%tx: AT:%lx FORM:%lx\n",__LINE__,pos,v.at,v.form);
- //div_inspect(&v);
+ /* fprintf(stderr,"\n%d:%tx: AT:%lx FORM:%lx\n",__LINE__,pos,v.at,v.form); */
+ /* div_inspect(&v); */
switch (v.at) {
case DW_AT_name:
line.sname = get_cstr_value(&v);
@@ -1542,10 +1542,10 @@ debug_info_read(DebugInfoReader *reader, int num_traces, void **traces,
goto skip_die;
case DW_AT_inline:
/* 1 or 3 */
- break; // goto skip_die;
+ break; /* goto skip_die; */
case DW_AT_abstract_origin:
read_abstract_origin(reader, v.as.uint64, &line);
- break; //goto skip_die;
+ break; /* goto skip_die; */
}
}
/* ranges_inspect(reader, &ranges); */