Skip to main content
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEugene Tarassov2012-04-11 20:27:40 -0400
committerEugene Tarassov2012-04-11 20:27:40 -0400
commit48b5ab28918ffbd5392a6e74236a843a3ac9a521 (patch)
tree62235c59bd9579c673505da7185fd81c7c149d3b /tests
parentfea845226db982a8c0474e368d5c4dfdd9d1c0a7 (diff)
downloadorg.eclipse.tcf.agent-48b5ab28918ffbd5392a6e74236a843a3ac9a521.tar.gz
org.eclipse.tcf.agent-48b5ab28918ffbd5392a6e74236a843a3ac9a521.tar.xz
org.eclipse.tcf.agent-48b5ab28918ffbd5392a6e74236a843a3ac9a521.zip
TCF Agent: added workaround for malformed line number information
Diffstat (limited to 'tests')
-rw-r--r--tests/test-dwarf/tcf/backend/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-dwarf/tcf/backend/backend.c b/tests/test-dwarf/tcf/backend/backend.c
index 10eaae6e..7b8b385e 100644
--- a/tests/test-dwarf/tcf/backend/backend.c
+++ b/tests/test-dwarf/tcf/backend/backend.c
@@ -961,7 +961,7 @@ static void next_pc(void) {
}
next_pc = area.end_address;
if (next_pc > 0) next_pc += test_cnt % 6;
- else next_pc = pc + 16;
+ else next_pc = pc + 8;
if (area.start_line > 0) {
char * elf_file_name = tmp_strdup(area.file);
if (area.start_address > pc || area.end_address <= pc) {

Back to the top