From commits-return-9176-archive-asf-public=cust-asf.ponee.io@nuttx.apache.org Thu May 7 14:22:50 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 867BC18062B for ; Thu, 7 May 2020 16:22:50 +0200 (CEST) Received: (qmail 24301 invoked by uid 500); 7 May 2020 14:22:50 -0000 Mailing-List: contact commits-help@nuttx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nuttx.apache.org Delivered-To: mailing list commits@nuttx.apache.org Received: (qmail 24292 invoked by uid 99); 7 May 2020 14:22:50 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2020 14:22:49 +0000 From: =?utf-8?q?GitBox?= To: commits@nuttx.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bincubator-nuttx=5D_patacongo_edited_a_comment_on_i?= =?utf-8?q?ssue_=23986=3A_Userspace_errno?= Message-ID: <158886136964.26397.3744180754678277463.asfpy@gitbox.apache.org> Date: Thu, 07 May 2020 14:22:49 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit References: In-Reply-To: patacongo edited a comment on issue #986: URL: https://github.com/apache/incubator-nuttx/issues/986#issuecomment-625278735 > > > > Linux (actual GDB) does not provide a good mechanism; it relies on a storage class that is specific to ELF binaries. That is not useful in an embedded system. > > This thing did bite me when I was trying to get Linux ELF running on Nuttx. > That's a horrible implementation, relaying perfect cooperation of the toolchain and kernel, IMHO. [Of course, I meant GLIBC not GDB] It is an easy trap to fall into in doing system software to exploit the tool environment that you work in as part of the implementation of the software. That is usually disastrous because it ties the implementation to the tools and that tool environment. This is one of the reasons that in NuttX we forbid any tool-specific dependencies in the common OS code. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org