From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8329 invoked by alias); 3 Jan 2013 22:02:00 -0000 Received: (qmail 8289 invoked by uid 22791); 3 Jan 2013 22:01:52 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_DB X-Spam-Check-By: sourceware.org Received: from mail-vb0-f41.google.com (HELO mail-vb0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Jan 2013 22:01:44 +0000 Received: by mail-vb0-f41.google.com with SMTP id l22so16058725vbn.28 for ; Thu, 03 Jan 2013 14:01:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.29.175 with SMTP id l15mr65542447vdh.2.1357250503731; Thu, 03 Jan 2013 14:01:43 -0800 (PST) Received: by 10.220.23.197 with HTTP; Thu, 3 Jan 2013 14:01:43 -0800 (PST) In-Reply-To: <34BD6410-6DB6-4EB4-B06B-3656E3BE97CA@elis.ugent.be> References: <12972.1357230104__33958.3243280233$1357230256$gmane$org@usendtaylorx2l> <87hamy42ua.fsf@fleche.redhat.com> <34BD6410-6DB6-4EB4-B06B-3656E3BE97CA@elis.ugent.be> Date: Thu, 03 Jan 2013 22:02:00 -0000 Message-ID: Subject: Re: stabs support in binutils, gcc, and gdb From: David Edelsohn To: Jonas Maebe Cc: Tom Tromey , David Taylor , binutils@sourceware.org, gcc@gcc.gnu.org, gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2013-01/txt/msg00015.txt.bz2 On Thu, Jan 3, 2013 at 4:53 PM, Jonas Maebe wro= te: > > On 03 Jan 2013, at 21:53, David Edelsohn wrote: > >> AIX still uses STABS. GCC produces it and GDB consumes it. > > More precisely, AIX uses Stabx. It's similar to Stabs, but different in q= uite a few ways. To add to the confusion, GCC produces and GDB consumes a h= ybrid of Stabs and Stabx on AIX for some reason (xlc and the native dbx pro= duce/consume pure Stabx, which is not understood by GDB; conversely, dbx do= es not understand the GCC/GDB Stabx-Stabs hybrid). That description is not entirely correct. GDB understands XLC stabs debugging information and GCC can be instructed to emit the subset of stabs information that AIX dbx can consume. - David