This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]