* gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
authorDoug Evans <dje@google.com>
Fri, 6 Jun 2014 22:41:09 +0000 (15:41 -0700)
committerDoug Evans <dje@google.com>
Fri, 6 Jun 2014 22:41:09 +0000 (15:41 -0700)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.guile/scm-frame-args.c

index 327e648..ebce12f 100644 (file)
@@ -1,3 +1,7 @@
+2014-06-06  Doug Evans  <dje@google.com>
+
+       * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
+
 2014-06-06  Pedro Alves  <palves@redhat.com>
 
        * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
index c20b1e1..ca76c28 100644 (file)
@@ -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