Skip to content

Commit

Permalink
fix bug in dwarf line number program
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Aug 27, 2011
1 parent 4eddacc commit 5340617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/dwarf.c
Expand Up @@ -892,7 +892,7 @@ void dwarf_termfile()

// Write DW_LNS_advance_pc to cover the function prologue
linebuf->writeByte(DW_LNS_advance_pc);
linebuf->writeByte(sd->SDbuf->size() - address);
linebuf->writeuLEB128((unsigned long)(sd->SDbuf->size() - address));

// Write DW_LNE_end_sequence
linebuf->writeByte(0);
Expand Down

0 comments on commit 5340617

Please sign in to comment.