public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/17017] New: gdb.python/py-xmethods.exp fails against gdbserver
@ 2014-06-04 12:49 palves at redhat dot com
  2014-06-18 11:38 ` [Bug gdb/17017] " cvs-commit at gcc dot gnu.org
  2014-06-18 16:04 ` palves at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: palves at redhat dot com @ 2014-06-04 12:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17017

            Bug ID: 17017
           Summary: gdb.python/py-xmethods.exp fails against gdbserver
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: palves at redhat dot com

$ make check RUNTESTFLAGS="--target_board=native-gdbserver
gdb.python/py-xmethods.exp"
...
Running ../../../src/gdb/testsuite/gdb.python/py-xmethods.exp ...
FAIL: gdb.python/py-xmethods.exp: Before: a1 + a2
FAIL: gdb.python/py-xmethods.exp: Before: a1 - a2
FAIL: gdb.python/py-xmethods.exp: Before: b1 - a1
FAIL: gdb.python/py-xmethods.exp: Before: a1.geta()
FAIL: gdb.python/py-xmethods.exp: Before: a_ptr->geta()
FAIL: gdb.python/py-xmethods.exp: Before: e.geta()
FAIL: gdb.python/py-xmethods.exp: Before: g.size_diff<float>()
FAIL: gdb.python/py-xmethods.exp: Before: g.size_mul<2>()
FAIL: gdb.python/py-xmethods.exp: Before: g.mul<double>(2.0)
FAIL: gdb.python/py-xmethods.exp: After: a1 - a2
FAIL: gdb.python/py-xmethods.exp: After: b1 - a1
                === gdb Summary ===

# of expected passes            35
# of unexpected failures        11


It all passes cleanly against native.  This is on Fedora 20.

Examples from gdb.log:

(gdb) PASS: gdb.python/py-xmethods.exp: continue to breakpoint: Break here
p a1 + a2
>From CC <A_plus_A>:
$1 = 15
(gdb) FAIL: gdb.python/py-xmethods.exp: Before: a1 + a2
p a2 - a1
>From CC <A_minus_A>:
$2 = 5
(gdb) FAIL: gdb.python/py-xmethods.exp: Before: a1 - a2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/17017] gdb.python/py-xmethods.exp fails against gdbserver
  2014-06-04 12:49 [Bug gdb/17017] New: gdb.python/py-xmethods.exp fails against gdbserver palves at redhat dot com
@ 2014-06-18 11:38 ` cvs-commit at gcc dot gnu.org
  2014-06-18 16:04 ` palves at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-06-18 11:38 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17017

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  5d376983ca914e1cf36f4968cc87957f9033ebcd (commit)
      from  5171def394398d2a3cc6583747e2f19602f0e1da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5d376983ca914e1cf36f4968cc87957f9033ebcd

commit 5d376983ca914e1cf36f4968cc87957f9033ebcd
Author: Siva Chandra <sivachandra@chromium.org>
Date:   Thu Jun 5 07:03:56 2014 -0700

    Make xmethods tests not to depend on inferior IO.

    gdb/testsuite/

        PR gdb/17017
        * gdb.python/py-xmethods.cc: Add global function call counters and
        increment them in their respective functions.  Remove "cout"
        statements.
        * gdb.python/py-xmethods.exp: Make tests check the global function
        call counters instead of depending on inferior IO.

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/ChangeLog                  |    9 +++++
 gdb/testsuite/gdb.python/py-xmethods.cc  |   32 +++++++++++------
 gdb/testsuite/gdb.python/py-xmethods.exp |   54 ++++++++++++++++++++++--------
 3 files changed, 70 insertions(+), 25 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/17017] gdb.python/py-xmethods.exp fails against gdbserver
  2014-06-04 12:49 [Bug gdb/17017] New: gdb.python/py-xmethods.exp fails against gdbserver palves at redhat dot com
  2014-06-18 11:38 ` [Bug gdb/17017] " cvs-commit at gcc dot gnu.org
@ 2014-06-18 16:04 ` palves at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: palves at redhat dot com @ 2014-06-18 16:04 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17017

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.8

--- Comment #2 from Pedro Alves <palves at redhat dot com> ---
Fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-18 16:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-04 12:49 [Bug gdb/17017] New: gdb.python/py-xmethods.exp fails against gdbserver palves at redhat dot com
2014-06-18 11:38 ` [Bug gdb/17017] " cvs-commit at gcc dot gnu.org
2014-06-18 16:04 ` palves at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).