X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.base%2Fadvance.c;h=ab86b0e56962853bdbc9012e8f6c7a445f72ddf7;hb=003ea5a89ab7e9eaa65cb158a953d63dac2612c6;hp=8066deec421d0a1253eba604b1c7d7c1d9d1575b;hpb=a0eaec95753c0f093f5cb80080ef423030d35edd;p=platform%2Fupstream%2Fgdb.git diff --git a/gdb/testsuite/gdb.base/advance.c b/gdb/testsuite/gdb.base/advance.c index 8066dee..ab86b0e 100644 --- a/gdb/testsuite/gdb.base/advance.c +++ b/gdb/testsuite/gdb.base/advance.c @@ -13,15 +13,15 @@ int bar (int y) return z; } -void func() +int func2 () { - x = x + 5; - func2 (); + x = 6; } -int func2 () +void func() { - x = 6; + x = x + 5; + func2 (); } int func3 ()