public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug remote/17230] New: bug in remote-mips.c
@ 2014-08-05 19:10 tromey at redhat dot com
  2014-08-06  7:44 ` [Bug remote/17230] " qiyao at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2014-08-05 19:10 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 17230
           Summary: bug in remote-mips.c
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: remote
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at redhat dot com

remote-mips.c has this:

static enum target_xfer_status
mips_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
          ULONGEST memaddr, ULONGEST len, ULONGEST *xfered_len)
{
...
  return len;
}

It should probably just return TARGET_XFER_OK here instead.

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


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

* [Bug remote/17230] bug in remote-mips.c
  2014-08-05 19:10 [Bug remote/17230] New: bug in remote-mips.c tromey at redhat dot com
@ 2014-08-06  7:44 ` qiyao at gcc dot gnu.org
  2014-08-07  9:49 ` cvs-commit at gcc dot gnu.org
  2014-08-07 10:53 ` qiyao at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: qiyao at gcc dot gnu.org @ 2014-08-06  7:44 UTC (permalink / raw)
  To: gdb-prs

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

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qiyao at gcc dot gnu.org
           Assignee|unassigned at sourceware dot org   |qiyao at gcc dot gnu.org

--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> ---
Patch is posted https://sourceware.org/ml/gdb-patches/2014-08/msg00064.html .

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


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

* [Bug remote/17230] bug in remote-mips.c
  2014-08-05 19:10 [Bug remote/17230] New: bug in remote-mips.c tromey at redhat dot com
  2014-08-06  7:44 ` [Bug remote/17230] " qiyao at gcc dot gnu.org
@ 2014-08-07  9:49 ` cvs-commit at gcc dot gnu.org
  2014-08-07 10:53 ` qiyao at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-08-07  9:49 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 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  5ee8a82c47856b204ad76407780e454f8cfd9a72 (commit)
      from  bb974a2493495923903631bab3de9f340526d353 (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=5ee8a82c47856b204ad76407780e454f8cfd9a72

commit 5ee8a82c47856b204ad76407780e454f8cfd9a72
Author: Yao Qi <yao@codesourcery.com>
Date:   Wed Aug 6 13:27:57 2014 +0800

    Fix remote/17230

    This patch is to fix PR remote/17230, which is a leftover of the
    to_xfer_partial interface change.  I tried splint and it reprots this
    problem like this,

    ../../../git/gdb/remote-mips.c:2236: Return value type unsigned long long
does not match declared type enum target_xfer_status: len

    and this problem only exists in remote-mips.c.

    gdb:

    2014-08-07  Yao Qi  <yao@codesourcery.com>

        PR remote/17230
        * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
        TARGET_XFER_OK instead of 0.

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

Summary of changes:
 gdb/ChangeLog     |    6 ++++++
 gdb/remote-mips.c |    3 ++-
 2 files changed, 8 insertions(+), 1 deletions(-)

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


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

* [Bug remote/17230] bug in remote-mips.c
  2014-08-05 19:10 [Bug remote/17230] New: bug in remote-mips.c tromey at redhat dot com
  2014-08-06  7:44 ` [Bug remote/17230] " qiyao at gcc dot gnu.org
  2014-08-07  9:49 ` cvs-commit at gcc dot gnu.org
@ 2014-08-07 10:53 ` qiyao at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: qiyao at gcc dot gnu.org @ 2014-08-07 10:53 UTC (permalink / raw)
  To: gdb-prs

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

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Yao Qi <qiyao at gcc dot gnu.org> ---
Patch is pushed in.

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


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

end of thread, other threads:[~2014-08-07 10:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 19:10 [Bug remote/17230] New: bug in remote-mips.c tromey at redhat dot com
2014-08-06  7:44 ` [Bug remote/17230] " qiyao at gcc dot gnu.org
2014-08-07  9:49 ` cvs-commit at gcc dot gnu.org
2014-08-07 10:53 ` qiyao at gcc dot gnu.org

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).