From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6497 invoked by alias); 25 Jan 2017 14:38:03 -0000 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 Received: (qmail 6484 invoked by uid 89); 25 Jan 2017 14:38:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy==e5=b0=a7, H*r:AES128-SHA?= X-HELO: mail-wj0-f193.google.com Received: from mail-wj0-f193.google.com (HELO mail-wj0-f193.google.com) (209.85.210.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 Jan 2017 14:37:52 +0000 Received: by mail-wj0-f193.google.com with SMTP id un2so3359981wjb.0 for ; Wed, 25 Jan 2017 06:37:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=XAEsPNzNY50AjoIGL8PNMYZGozZFepoUsLpNqHgDVQ0=; b=a9E74ljQAMDJJh1maMzZe9paUEM9cW6b5AuELkxZmxDcukb31mHCG3WG3WOsYXq15M Ii7Yr+PO4UlfCBHYRVhTX25Uq4huozxrqIKkDlnQboCJx6GDhHOBlQYl3WysfdYv8NJL d43/KHHXKIyvt+zBWbA9Xzjt6ce2fG9YqrWVEeaGqHFLuko2w/Nk8JCIE3j7YAP4mfrX kmRnlsjA/RX4KOX2JVptJ3YL4AYpe3qo2Rr7+kCHlGqpn+QMvSih1O3Za7BHxhgUKun0 aK9FzhTEKpUWLPRuGy0b3EdzDf6BrUEw/0KNQHaa3CJmuch+Sk6fHM1vsp8VXPlzN9yb e+Lw== X-Gm-Message-State: AIkVDXKQ16aFzbVJIvwyWLf5iq9dv1dkZ6Cvn6NmdO2JVGtR/DumURgnU44HZrFerYNGSg== X-Received: by 10.223.169.164 with SMTP id b33mr38148388wrd.132.1485355070563; Wed, 25 Jan 2017 06:37:50 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id l140sm31842117wmg.12.2017.01.25.06.37.48 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 25 Jan 2017 06:37:50 -0800 (PST) Date: Wed, 25 Jan 2017 14:38:00 -0000 From: Yao Qi To: Pedro Alves Cc: Nitish Kumar Mishra , gdb@sourceware.org Subject: Re: Issue with Latest GDB on AIX with GCC-6.12 Message-ID: <20170125143729.GU28060@E107787-LIN> References: <12a05075-3783-9d3f-1d3c-81931ea91f47@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <12a05075-3783-9d3f-1d3c-81931ea91f47@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00048.txt.bz2 On 17-01-25 13:52:49, Pedro Alves wrote: > > So I'm out of ideas. It looks like a toolchain/runtime bug > to me. > Hi Pedro, GDB on AIX (at least gcc119) is broken since Nov 2016 at least. https://sourceware.org/ml/gdb/2016-11/msg00023.html I tried to debug libgcc on exception unwinding (in assembly!). I have a vague memory that unwinder stops unwinding after one or two frames. I suspect either gcc generate wrong .eh_frame or libgcc is buggy. That is where I stopped. -- Yao (齐尧)