From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100479 invoked by alias); 10 May 2018 15:05:37 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 100457 invoked by uid 89); 10 May 2018 15:05:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=submitting, straightforward X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 10 May 2018 15:05:35 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CB91E117805 for ; Thu, 10 May 2018 11:05:33 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tMXFMw4xiS7k for ; Thu, 10 May 2018 11:05:33 -0400 (EDT) Received: from tron.gnat.com (tron.gnat.com [205.232.38.10]) by rock.gnat.com (Postfix) with ESMTP id BBE931177E5 for ; Thu, 10 May 2018 11:05:33 -0400 (EDT) Received: by tron.gnat.com (Postfix, from userid 4233) id B84EE50B; Thu, 10 May 2018 11:05:33 -0400 (EDT) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: GDBserver patch for x86 LynxOS-178 Date: Thu, 10 May 2018 15:16:00 -0000 Message-Id: <1525964730-8822-1-git-send-email-brobecker@adacore.com> X-SW-Source: 2018-05/txt/msg00237.txt.bz2 Hello, As I hinted before, I have not been able to build GDBserver since we switched over to C++, because I don't have a C++ compiler for that target (I am not giving up yet, though). So, if you are wondering why I am still submitting a GDBserver patch for that target, it's because I have been working on x86 LynxOS-178 with GDBserver 7.10, and I think this one is a straightforward cherry-pick, and will be useful if we manage to port G++ and the libstdc++ to this target. In the meantime, the patch was tested on x86-lynx18elf, with a baseline based on GDB 7.10. One element I did not explore was the idea of perhaps having a specific target description xml for this platform, so as to not show the registers that are not available on LynxOS-178. In my opinion, it's only a nice-to-have, so I left it for some other time. I'd like to finish the work on GDBserver for Windows, for instance. Thanks, -- Joel