This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 06 Jun 2014 15:43:42 -0700
- Subject: [commit] gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
- Authentication-results: sourceware.org; auth=none
Hi.
I was testing gdb with a gcc 4.6.3 variant and got a failure.
This tweaks the test to pass.
2014-06-06 Doug Evans <dje@google.com>
* gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
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