diff options
author | Doug Evans <dje@google.com> | 2014-06-06 15:41:09 -0700 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2014-06-06 15:41:09 -0700 |
commit | 6da01dbef2535e333e2b26547d61e4684b8e4da7 (patch) | |
tree | a23296054e2370d8b0fe57703c3cc3e256e93b05 | |
parent | 829155c9adb5f3750c9c612702fdbf26fa7c558e (diff) | |
download | gdb-6da01dbef2535e333e2b26547d61e4684b8e4da7.zip gdb-6da01dbef2535e333e2b26547d61e4684b8e4da7.tar.gz gdb-6da01dbef2535e333e2b26547d61e4684b8e4da7.tar.bz2 |
* gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.guile/scm-frame-args.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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) 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 |