• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修订版c63bcc5d2dcbbe5415bfcc9514781fdb52da9a02 (tree)
时间2015-01-22 09:01:18
作者Cary Coutant <ccoutant@goog...>
CommiterCary Coutant

Log Message

Track discriminator when processing line number table.

2015-01-21 Cary Coutant <ccoutant@google.com>

binutils/
* dwarf.c (process_extended_line_op): Track discriminator.

更改概述

差异

--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -523,8 +523,14 @@ process_extended_line_op (unsigned char * data,
523523 break;
524524
525525 case DW_LNE_set_discriminator:
526- printf (_("set Discriminator to %s\n"),
527- dwarf_vmatoa ("u", read_uleb128 (data, & bytes_read, end)));
526+ {
527+ unsigned int discrim;
528+
529+ discrim = read_uleb128 (data, & bytes_read, end);
530+ data += bytes_read;
531+ printf (_("set Discriminator to %u\n"), discrim);
532+ state_machine_regs.discriminator = discrim;
533+ }
528534 break;
529535
530536 /* HP extensions. */