From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6669 invoked by alias); 12 Feb 2009 15:18:52 -0000 Received: (qmail 6659 invoked by uid 22791); 12 Feb 2009 15:18:52 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Feb 2009 15:18:46 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n1CFIhih007282; Thu, 12 Feb 2009 10:18:43 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n1CFIhIo016439; Thu, 12 Feb 2009 10:18:43 -0500 Received: from warthog.cambridge.redhat.com (kibblesnbits.boston.devel.redhat.com [10.16.60.12]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n1CFIgrn011978; Thu, 12 Feb 2009 10:18:42 -0500 Received: from [127.0.0.1] (helo=redhat.com) by warthog.cambridge.redhat.com with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1LXdKr-0008Dw-0F; Thu, 12 Feb 2009 15:18:41 +0000 From: David Howells To: gdb@sourceware.org cc: dhowells@redhat.com, Roel Kluin Subject: GDB Remote protocol error codes Date: Thu, 12 Feb 2009 15:18:00 -0000 Message-ID: <31615.1234451921@redhat.com> 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 X-SW-Source: 2009-02/txt/msg00100.txt.bz2 Hi, Is there a general scheme for error reply codes ('Exx') in the GDB remote protocol? The documentation is unclear on this point. _Some_ of the commands mandate an errno return, but not all, and from whose set of errnos? And does this apply to all commands? Can the gdb.info file be updated to make this more clear please? I need to know this so that I can fix up the error returns made by the FRV arch gdbstub in the Linux kernel. Thanks, David