[前][次][番号順一覧][スレッド一覧]

ruby-changes:52992

From: naruse <ko1@a...>
Date: Sat, 20 Oct 2018 15:56:56 +0900 (JST)
Subject: [ruby-changes:52992] naruse:r65206 (trunk): fix header_length's type to unsigned long

naruse	2018-10-20 15:56:51 +0900 (Sat, 20 Oct 2018)

  New Revision: 65206

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65206

  Log:
    fix header_length's type to unsigned long

  Modified files:
    trunk/addr2line.c
Index: addr2line.c
===================================================================
--- addr2line.c	(revision 65205)
+++ addr2line.c	(revision 65206)
@@ -280,12 +280,11 @@ parse_debug_line_cu(int num_traces, void https://github.com/ruby/ruby/blob/trunk/addr2line.c#L280
 		obj_info_t *obj, line_info_t *lines, int offset)
 {
     char *p, *cu_end, *cu_start, *include_directories, *filenames;
-    unsigned long unit_length;
+    unsigned long unit_length, header_length;
     unsigned short dwarf_version;
     ptrdiff_t dwarf_word = 4;
     int default_is_stmt, line_base;
-    unsigned int header_length, minimum_instruction_length, line_range,
-		 opcode_base;
+    unsigned int minimum_instruction_length, line_range, opcode_base;
     /* unsigned char *standard_opcode_lengths; */
 
     /* The registers. */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]