From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107662 invoked by alias); 20 Oct 2016 18:09:20 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 107642 invoked by uid 89); 20 Oct 2016 18:09:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Wow, Hx-languages-length:1585, Hx-spam-relays-external:209.85.214.42, H*RU:209.85.214.42 X-HELO: mail-it0-f42.google.com Received: from mail-it0-f42.google.com (HELO mail-it0-f42.google.com) (209.85.214.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Oct 2016 18:09:18 +0000 Received: by mail-it0-f42.google.com with SMTP id 4so186838701itv.0 for ; Thu, 20 Oct 2016 11:09:17 -0700 (PDT) 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:content-transfer-encoding; bh=Picri/UbhU2tN8tA7le8J5JbN5oKtghW3pAUDqOPTVc=; b=UwcndBNOL8wOxZrDGk7w0f/yLnmprl82UHUtr0p++3fo2Uh9k3Dt+QFZwosO5kxTgA zKfqm1n2uOlbfTwKl8mRj/JkrflcmVmYrpjQc+vAzy77imFEnetHVp1/pD9T31pVQTjn Gk0V6iPtkGFKhBTtxn8fTozk8jtiAX+ASu0eOZzNA9mCfmtZxAC8l4Ta6YIp9hzLecBL 6L4akB740y14HPVtN7PG9tG390fMtvGKiBM11DmyaM9P2A3LrQESldtQ2+BaGoI7MpVB aVXoCm530LZn2UQeZre548wQJZD8AdRywGJfKwpYPKdjn1Om9lceWABvwmNEc6k2HuAh ymGw== X-Gm-Message-State: AA6/9RlpcHEMsthssMzkIsVxCLIxqHEiGXkp/EfaiXHqVmng3VXS/yXHg8xtyVtoKPUaSdM04TrsIFDKI23CCQ== X-Received: by 10.36.50.81 with SMTP id j78mr9418331ita.58.1476986956385; Thu, 20 Oct 2016 11:09:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.244.137 with HTTP; Thu, 20 Oct 2016 11:08:55 -0700 (PDT) In-Reply-To: References: From: Stephen Pape Date: Thu, 20 Oct 2016 18:09:00 -0000 Message-ID: Subject: Re: VxWorks Target To: Yao Qi Cc: GDB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00034.txt.bz2 Okay, thanks. That clears things up a little. I have another question, if you (or anyone else) can help. Is there any concept of a "bare" target? For example, just a "powerpc" target that isn't OS specific. The targets I've seen seem like they're OS specific ("-linux"). I was thinking of writing a stub that speaks the GDB serial protocol. I can implement the "add breakpoint", "remove breakpoint", "read memory", "write memory" type functionality myself, but I'm trying to figure out how that would work with GDB. Sorry if this doesn't make sense, I'm just beginning to learn about GDB internals. Thanks again, -Stephen On Wed, Oct 19, 2016 at 11:45 AM, Yao Qi wrote: > On Wed, Oct 19, 2016 at 3:36 PM, Stephen Pape wrote: >> Wow, so it's ancient history. If that's the case, there is some >> leftover VxWork code hanging around. I was even able to compile gdb >> with "--target=3Dpowerpc-vxworks", and there are a few files with the >> name still in the source: >> >> ./include/elf/vxworks.h >> ./bfd/elf-vxworks.c >> ./bfd/elf-vxworks.h >> >> The configure script has some VxWorks leftovers as well: >> >> case "${target}" in >> *-*-vxworks*) >> # VxWorks uses the Dinkumware C++ library. >> noconfigdirs=3D"$noconfigdirs target-libstdc++-v3" >> ;; >> > > VxWorks support in GDB was removed, but its support in other > components, like linker, are still there. They are not leftover. > > However, configure should be adjusted so that gdb shouldn't > be configured at all if target is *-*-vxworks*. > > -- > Yao (=E9=BD=90=E5=B0=A7)