From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16683 invoked by alias); 18 Apr 2002 15:11:40 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 16634 invoked from network); 18 Apr 2002 15:11:37 -0000 Received: from unknown (HELO mailhub.lss.emc.com) (168.159.1.79) by sources.redhat.com with SMTP; 18 Apr 2002 15:11:37 -0000 Received: from popimap.lss.emc.com (caduseus-ge.lss.emc.com [10.254.140.132]) by mailhub.lss.emc.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g3IFBYN23525 for ; Thu, 18 Apr 2002 11:11:35 -0400 (EDT) Received: from ezra11984a (lul1173.lss.emc.com [168.159.33.173]) by popimap.lss.emc.com (Switch-2.2.0/Switch-2.2.0) with SMTP id g3IFBYD09168 for ; Thu, 18 Apr 2002 11:11:34 -0400 (EDT) Message-ID: <02ea01c1e6eb$65f850c0$ad219fa8@lss.emc.com> From: "josef ezra" To: Subject: should gdb require '.text' and '.data' sections? Date: Thu, 18 Apr 2002 08:11:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-SW-Source: 2002-04/txt/msg00590.txt.bz2 Hello I'm trying to debug a symbol file that has no '.text' section. Unlike 5.0 version, the new SECT_OFF_TEXT(objfile) macro calls (no-return) internal error and prevent the read. Should gdb work that way (requiring '.text' and '.data' sections)? If not, can we consider the first sections flagged 'SEC_CODE'/'SEC_DATA' as substitutes? Or maybe better have a default 0/1 values (like 5.0)? Both should work in my case. - Jezra