From 6da01dbef2535e333e2b26547d61e4684b8e4da7 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 6 Jun 2014 15:41:09 -0700 Subject: * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.guile/scm-frame-args.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 327e648..ebce12f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-06-06 Doug Evans + + * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3. + 2014-06-06 Pedro Alves * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step) diff --git a/gdb/testsuite/gdb.guile/scm-frame-args.c b/gdb/testsuite/gdb.guile/scm-frame-args.c index c20b1e1..ca76c28 100644 --- a/gdb/testsuite/gdb.guile/scm-frame-args.c +++ b/gdb/testsuite/gdb.guile/scm-frame-args.c @@ -44,7 +44,7 @@ init_ss (struct ss *s, int a, int b) void foo (int x, struct ss ss) { - return; /* break-here */ + x = ss.a.m; /* break-here */ } int -- cgit v1.1