get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/954053/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 954053,
    "url": "http://patchwork.ozlabs.org/api/patches/954053/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1533574847-19294-61-git-send-email-aleksandar.markovic@rt-rk.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1533574847-19294-61-git-send-email-aleksandar.markovic@rt-rk.com>",
    "list_archive_url": null,
    "date": "2018-08-06T17:00:27",
    "name": "[v7,60/80] gdbstub: Add XML support for GDB for nanoMIPS",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f31561919a768edfde69c4604404f7b2773646cb",
    "submitter": {
        "id": 68635,
        "url": "http://patchwork.ozlabs.org/api/people/68635/?format=api",
        "name": "Aleksandar Markovic",
        "email": "aleksandar.markovic@rt-rk.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1533574847-19294-61-git-send-email-aleksandar.markovic@rt-rk.com/mbox/",
    "series": [
        {
            "id": 59520,
            "url": "http://patchwork.ozlabs.org/api/series/59520/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=59520",
            "date": "2018-08-06T16:59:27",
            "name": "Add nanoMIPS support to QEMU",
            "version": 7,
            "mbox": "http://patchwork.ozlabs.org/series/59520/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/954053/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/954053/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=rt-rk.com"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 41klQ742P6z9rvt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  7 Aug 2018 03:44:15 +1000 (AEST)",
            "from localhost ([::1]:35402 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1fmjYD-0006Nb-3p\n\tfor incoming@patchwork.ozlabs.org; Mon, 06 Aug 2018 13:44:13 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:41623)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <aleksandar.markovic@rt-rk.com>) id 1fmjGb-0007k3-Lf\n\tfor qemu-devel@nongnu.org; Mon, 06 Aug 2018 13:26:03 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <aleksandar.markovic@rt-rk.com>) id 1fmjGa-0002F1-2F\n\tfor qemu-devel@nongnu.org; Mon, 06 Aug 2018 13:26:01 -0400",
            "from mx2.rt-rk.com ([89.216.37.149]:45853 helo=mail.rt-rk.com)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <aleksandar.markovic@rt-rk.com>)\n\tid 1fmjGZ-0002Db-M1\n\tfor qemu-devel@nongnu.org; Mon, 06 Aug 2018 13:25:59 -0400",
            "from localhost (localhost [127.0.0.1])\n\tby mail.rt-rk.com (Postfix) with ESMTP id 5CC081A2137;\n\tMon,  6 Aug 2018 19:25:58 +0200 (CEST)",
            "from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local\n\t[10.10.13.43])\n\tby mail.rt-rk.com (Postfix) with ESMTPSA id 3692F1A2036;\n\tMon,  6 Aug 2018 19:25:58 +0200 (CEST)"
        ],
        "X-Virus-Scanned": "amavisd-new at rt-rk.com",
        "From": "Aleksandar Markovic <aleksandar.markovic@rt-rk.com>",
        "To": "qemu-devel@nongnu.org",
        "Date": "Mon,  6 Aug 2018 19:00:27 +0200",
        "Message-Id": "<1533574847-19294-61-git-send-email-aleksandar.markovic@rt-rk.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1533574847-19294-1-git-send-email-aleksandar.markovic@rt-rk.com>",
        "References": "<1533574847-19294-1-git-send-email-aleksandar.markovic@rt-rk.com>",
        "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 3.x [fuzzy]",
        "X-Received-From": "89.216.37.149",
        "Subject": "[Qemu-devel] [PATCH v7 60/80] gdbstub: Add XML support for GDB for\n\tnanoMIPS",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Cc": "peter.maydell@linaro.org, thuth@redhat.com, pburton@wavecomp.com,\n\tsmarkovic@wavecomp.com, riku.voipio@iki.fi,\n\trichard.henderson@linaro.org, laurent@vivier.eu,\n\tarmbru@redhat.com, arikalo@wavecomp.com,\n\tphilippe.mathieu.daude@gmail.com, amarkovic@wavecomp.com,\n\tpjovanovic@wavecomp.com, aurelien@aurel32.net",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "From: Stefan Markovic <smarkovic@wavecomp.com>\n\nAdd XML support files for GDB for nanoMIPS.\n\nSigned-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>\nSigned-off-by: Stefan Markovic <smarkovic@wavecomp.com>\n---\n MAINTAINERS                |  3 ++-\n gdb-xml/nanomips-cp0.xml   | 13 +++++++++++++\n gdb-xml/nanomips-cpu.xml   | 44 ++++++++++++++++++++++++++++++++++++++++++++\n gdb-xml/nanomips-dsp.xml   | 20 ++++++++++++++++++++\n gdb-xml/nanomips-fpu.xml   | 45 +++++++++++++++++++++++++++++++++++++++++++++\n gdb-xml/nanomips-linux.xml | 20 ++++++++++++++++++++\n 6 files changed, 144 insertions(+), 1 deletion(-)\n create mode 100644 gdb-xml/nanomips-cp0.xml\n create mode 100644 gdb-xml/nanomips-cpu.xml\n create mode 100644 gdb-xml/nanomips-dsp.xml\n create mode 100644 gdb-xml/nanomips-fpu.xml\n create mode 100644 gdb-xml/nanomips-linux.xml",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex 7130807..a4907d0 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -190,6 +190,8 @@ M: Aurelien Jarno <aurelien@aurel32.net>\n M: Aleksandar Markovic <amarkovic@wavecomp.com>\n S: Maintained\n F: target/mips/\n+F: disas/mips.c\n+F: gdb-xml/*ips*.xml\n F: hw/mips/\n F: hw/misc/mips_*\n F: hw/intc/mips_gic.c\n@@ -199,7 +201,6 @@ F: include/hw/misc/mips_*\n F: include/hw/intc/mips_gic.h\n F: include/hw/timer/mips_gictimer.h\n F: tests/tcg/mips/\n-F: disas/mips.c\n \n Moxie\n M: Anthony Green <green@moxielogic.com>\ndiff --git a/gdb-xml/nanomips-cp0.xml b/gdb-xml/nanomips-cp0.xml\nnew file mode 100644\nindex 0000000..8095dc6\n--- /dev/null\n+++ b/gdb-xml/nanomips-cp0.xml\n@@ -0,0 +1,13 @@\n+<?xml version=\"1.0\"?>\n+<!-- Copyright (C) 2007-2015 Free Software Foundation, Inc.\n+\n+     Copying and distribution of this file, with or without modification,\n+     are permitted in any medium without royalty provided the copyright\n+     notice and this notice are preserved.  -->\n+\n+<!DOCTYPE feature SYSTEM \"gdb-target.dtd\">\n+<feature name=\"org.gnu.gdb.nanomips.cp0\">\n+  <reg name=\"status\" bitsize=\"32\"/>\n+  <reg name=\"badvaddr\" bitsize=\"32\"/>\n+  <reg name=\"cause\" bitsize=\"32\"/>\n+</feature>\ndiff --git a/gdb-xml/nanomips-cpu.xml b/gdb-xml/nanomips-cpu.xml\nnew file mode 100644\nindex 0000000..6bba224\n--- /dev/null\n+++ b/gdb-xml/nanomips-cpu.xml\n@@ -0,0 +1,44 @@\n+<?xml version=\"1.0\"?>\n+<!-- Copyright (C) 2007-2015 Free Software Foundation, Inc.\n+\n+     Copying and distribution of this file, with or without modification,\n+     are permitted in any medium without royalty provided the copyright\n+     notice and this notice are preserved.  -->\n+\n+<!DOCTYPE feature SYSTEM \"gdb-target.dtd\">\n+<feature name=\"org.gnu.gdb.nanomips.cpu\">\n+  <reg name=\"r0\" bitsize=\"32\" regnum=\"0\"/>\n+  <reg name=\"r1\" bitsize=\"32\"/>\n+  <reg name=\"r2\" bitsize=\"32\"/>\n+  <reg name=\"r3\" bitsize=\"32\"/>\n+  <reg name=\"r4\" bitsize=\"32\"/>\n+  <reg name=\"r5\" bitsize=\"32\"/>\n+  <reg name=\"r6\" bitsize=\"32\"/>\n+  <reg name=\"r7\" bitsize=\"32\"/>\n+  <reg name=\"r8\" bitsize=\"32\"/>\n+  <reg name=\"r9\" bitsize=\"32\"/>\n+  <reg name=\"r10\" bitsize=\"32\"/>\n+  <reg name=\"r11\" bitsize=\"32\"/>\n+  <reg name=\"r12\" bitsize=\"32\"/>\n+  <reg name=\"r13\" bitsize=\"32\"/>\n+  <reg name=\"r14\" bitsize=\"32\"/>\n+  <reg name=\"r15\" bitsize=\"32\"/>\n+  <reg name=\"r16\" bitsize=\"32\"/>\n+  <reg name=\"r17\" bitsize=\"32\"/>\n+  <reg name=\"r18\" bitsize=\"32\"/>\n+  <reg name=\"r19\" bitsize=\"32\"/>\n+  <reg name=\"r20\" bitsize=\"32\"/>\n+  <reg name=\"r21\" bitsize=\"32\"/>\n+  <reg name=\"r22\" bitsize=\"32\"/>\n+  <reg name=\"r23\" bitsize=\"32\"/>\n+  <reg name=\"r24\" bitsize=\"32\"/>\n+  <reg name=\"r25\" bitsize=\"32\"/>\n+  <reg name=\"r26\" bitsize=\"32\"/>\n+  <reg name=\"r27\" bitsize=\"32\"/>\n+  <reg name=\"r28\" bitsize=\"32\"/>\n+  <reg name=\"r29\" bitsize=\"32\"/>\n+  <reg name=\"r30\" bitsize=\"32\"/>\n+  <reg name=\"r31\" bitsize=\"32\"/>\n+\n+  <reg name=\"pc\" bitsize=\"32\"/>\n+</feature>\ndiff --git a/gdb-xml/nanomips-dsp.xml b/gdb-xml/nanomips-dsp.xml\nnew file mode 100644\nindex 0000000..950910f\n--- /dev/null\n+++ b/gdb-xml/nanomips-dsp.xml\n@@ -0,0 +1,20 @@\n+<?xml version=\"1.0\"?>\n+<!-- Copyright (C) 2012-2015 Free Software Foundation, Inc.\n+\n+     Copying and distribution of this file, with or without modification,\n+     are permitted in any medium without royalty provided the copyright\n+     notice and this notice are preserved.  -->\n+\n+<!DOCTYPE feature SYSTEM \"gdb-target.dtd\">\n+<feature name=\"org.gnu.gdb.nanomips.dsp\">\n+  <reg name=\"hi0\" bitsize=\"32\"/>\n+  <reg name=\"lo0\" bitsize=\"32\"/>\n+  <reg name=\"hi1\" bitsize=\"32\"/>\n+  <reg name=\"lo1\" bitsize=\"32\"/>\n+  <reg name=\"hi2\" bitsize=\"32\"/>\n+  <reg name=\"lo2\" bitsize=\"32\"/>\n+  <reg name=\"hi3\" bitsize=\"32\"/>\n+  <reg name=\"lo3\" bitsize=\"32\"/>\n+\n+  <reg name=\"dspctl\" bitsize=\"32\"/>\n+</feature>\ndiff --git a/gdb-xml/nanomips-fpu.xml b/gdb-xml/nanomips-fpu.xml\nnew file mode 100644\nindex 0000000..fd225a5\n--- /dev/null\n+++ b/gdb-xml/nanomips-fpu.xml\n@@ -0,0 +1,45 @@\n+<?xml version=\"1.0\"?>\n+<!-- Copyright (C) 2007-2015 Free Software Foundation, Inc.\n+\n+     Copying and distribution of this file, with or without modification,\n+     are permitted in any medium without royalty provided the copyright\n+     notice and this notice are preserved.  -->\n+\n+<!DOCTYPE feature SYSTEM \"gdb-target.dtd\">\n+<feature name=\"org.gnu.gdb.nanomips.fpu\">\n+  <reg name=\"f0\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f1\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f2\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f3\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f4\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f5\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f6\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f7\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f8\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f9\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f10\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f11\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f12\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f13\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f14\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f15\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f16\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f17\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f18\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f19\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f20\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f21\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f22\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f23\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f24\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f25\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f26\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f27\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f28\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f29\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f30\" bitsize=\"64\" type=\"ieee_double\"/>\n+  <reg name=\"f31\" bitsize=\"64\" type=\"ieee_double\"/>\n+\n+  <reg name=\"fcsr\" bitsize=\"32\" group=\"float\"/>\n+  <reg name=\"fir\" bitsize=\"32\" group=\"float\"/>\n+</feature>\ndiff --git a/gdb-xml/nanomips-linux.xml b/gdb-xml/nanomips-linux.xml\nnew file mode 100644\nindex 0000000..8a04634\n--- /dev/null\n+++ b/gdb-xml/nanomips-linux.xml\n@@ -0,0 +1,20 @@\n+<?xml version=\"1.0\"?>\n+<!-- Copyright (C) 2007-2015 Free Software Foundation, Inc.\n+\n+     Copying and distribution of this file, with or without modification,\n+     are permitted in any medium without royalty provided the copyright\n+     notice and this notice are preserved.  -->\n+\n+<!DOCTYPE target SYSTEM \"gdb-target.dtd\">\n+<target>\n+  <architecture>nanomips</architecture>\n+  <osabi>GNU/Linux</osabi>\n+  <xi:include href=\"nanomips-cpu.xml\"/>\n+  <xi:include href=\"nanomips-cp0.xml\"/>\n+  <xi:include href=\"nanomips-fpu.xml\"/>\n+  <xi:include href=\"nanomips-dsp.xml\"/>\n+\n+  <feature name=\"org.gnu.gdb.nanomips.linux\">\n+    <reg name=\"restart\" bitsize=\"32\" group=\"system\"/>\n+  </feature>\n+</target>\n",
    "prefixes": [
        "v7",
        "60/80"
    ]
}