Fix comment in dwarf_decode_lines_1
authorYao Qi <yao@codesourcery.com>
Wed, 30 Jul 2014 08:50:49 +0000 (16:50 +0800)
committerYao Qi <yao@codesourcery.com>
Wed, 6 Aug 2014 01:33:28 +0000 (09:33 +0800)
When I read dwarf_decode_lines_1 comments today, it should be called
"special opcode" rather than "special operand", as said in DWARF spec.

It is obvious to me.  I'll push it in if no comments in three days.

gdb:

2014-08-06  Yao Qi  <yao@codesourcery.com>

* dwarf2read.c (dwarf_decode_lines_1): Replace "Special
operand" with "Special opcode" in comments.

gdb/ChangeLog
gdb/dwarf2read.c

index f61f92867c87621b23b55b2fe1aa7403f69968d3..b02a94f73353e2ed38b99e728c064b5957db0277 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-06  Yao Qi  <yao@codesourcery.com>
+
+       * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
+       operand" with "Special opcode" in comments.
+
 2014-08-05  Gary Benson  <gbenson@redhat.com>
 
        * interps.c (initialize_interps): Remove prototype.
index 276d2f1f672590f57a4cf4ed7c99490fe0009d6c..837b1c1a9fc629c417918a44961dfaaa96be2904 100644 (file)
@@ -17241,7 +17241,8 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir,
 
          if (op_code >= lh->opcode_base)
            {
-             /* Special operand.  */
+             /* Special opcode.  */
+
              adj_opcode = op_code - lh->opcode_base;
              address += (((op_index + (adj_opcode / lh->line_range))
                           / lh->maximum_ops_per_instruction)