aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c b/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c
index ef9b71a..c5f4280 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c
+++ b/gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c
@@ -30,14 +30,14 @@ static void
func ()
{ /* func prologue */
global_num = 42;
- int num= 42;
+ int num = 42;
if (num > 2)
{
asm ("scope_label1: .globl scope_label1");
global_value = num;
int value = num;
asm ("breakpoint_label: .globl breakpoint_label");
- value += 10;
+ global_value += value;
asm ("scope_label2: .globl scope_label2");
}
} /* func end */