From owner-freebsd-arch@freebsd.org Wed Jul 20 21:47:56 2016 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75DD9B9F417 for ; Wed, 20 Jul 2016 21:47:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 405AF1D1F; Wed, 20 Jul 2016 21:47:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id m101so59691358ioi.2; Wed, 20 Jul 2016 14:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=G0kFlX7Sz78hD5zjDua+X/qG23IN3y1jXzIlz5e1J+M=; b=NdkRkHUiCd/sgN/5oM7EtlUxoAbHp8yyEYZrPyODInDPCdJUVseHmkTwKLRcAPg4Af a4xrVLfQB3p9BYpqUVtMGU0UK85lYcAE3g/5FnHx7O/67anLTo4Dc3IZrqbWqzOfuwsl 2eeKNcoXkob5ZMAvyVqN77L4Ucwr2iw5kUuSOPedUQ1dh9OyMaJtRnUsG1z6zFGlrtZS qYOuBBTKmECqR5+l1bfX22GOykExHLjxSBucJX/D4T0ui87jyZW+Y/1cLGnAqmkCPUZl mDUYcr6dDrl85Q7fsmhtg51Dg7ZngM13mmgfH2fViPrtszs2yT6RY61oigPQoNcVvxp2 oHZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=G0kFlX7Sz78hD5zjDua+X/qG23IN3y1jXzIlz5e1J+M=; b=asdszqwbL2EMm4WH+oUOYoWA/91ObTTjZraAYc8GaJYn/Bk00KKwF6FOFx1ulMI/Gp lvM0gFp3yz9gnD7irBgcdttv6VQL4yRzE2usASr4rlYH+ajrTi0Py7MWpnBw2zrB++p3 By+Kkqmu+Gljl2WMU7iHzQl/0DMqdsUXd8ittS4tT2J1HCqlBK7ozo2X+rGxKUO2Wh7Q i24wJUmwNYQEAGxM9DzKi8U+/MWcpOIXmdaGTfKBltKythrQtshoYLrvbDCBYodL55Y+ T+85dNawljOLEQtvXhfMWMLwS0hTnUbIA0WhnUy1/8iV7hV4YFA8p+Ja1eE90b1cLBXG d/Nw== X-Gm-Message-State: ALyK8tJHgtR93HyXAADQmCRqUpB1XQo7L8yAZadFPqb0tal/6qFedyfg4PL9i2v2t+zFL+/19rJszLTNpV3AHw== X-Received: by 10.107.144.10 with SMTP id s10mr45048053iod.165.1469051275650; Wed, 20 Jul 2016 14:47:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Wed, 20 Jul 2016 14:47:54 -0700 (PDT) In-Reply-To: <2386413.0UUCRd2KC2@ralph.baldwin.cx> References: <2678091.es0AGJQ0Ou@ralph.baldwin.cx> <3871457.xzmrTRH8AM@ralph.baldwin.cx> <2386413.0UUCRd2KC2@ralph.baldwin.cx> From: Adrian Chadd Date: Wed, 20 Jul 2016 14:47:54 -0700 Message-ID: Subject: Re: Retiring in-tree GDB To: John Baldwin Cc: Warner Losh , Sean Bruno , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 21:47:56 -0000 Hi, We're missing a bunch of mips trapframe/etc handling code in the upstream gdb for freebsd/mips. There's freebsd/alpha upstream, but not mips. i use the gdb in a qemu VM to diagnose freebsd/mips related issues. I'm mainly afraid of having no sensible replacement - we can't (yet) cross compile gdb easily for mips, we can't (yet) easily cross compile a gdb /stub/ to remote debug mips, and upstream gdb / our port doesn't support freebsd/mips. If someone gdb cluey could pull out the freebsd/mips specific gdb code and at least get it into the port as a set of patches, that'd be a great start. I'm happy to try and work with others to get that patchset upstreamed into gdb (once I finally sign the FSF documentation, sigh.) Thanks, -adrian