* 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 327e648cc9b905c817b57bcbd53dfb940bce914b..ebce12f9913f6d3d97a6636ef35f33183759675a 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 c20b1e135522583223b8a59e4ecaff03140ef30d..ca76c2879d8908e51880f2766974aa2560fc1c22 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