From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8006 invoked by alias); 24 Oct 2018 14:08:41 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 7993 invoked by uid 89); 24 Oct 2018 14:08:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=symptom, online X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Oct 2018 14:08:39 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id w9OE8Woi023464 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 24 Oct 2018 10:08:37 -0400 Received: by simark.ca (Postfix, from userid 112) id 86D031EA6F; Wed, 24 Oct 2018 10:08:32 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id 9B1801E50C; Wed, 24 Oct 2018 10:08:30 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 24 Oct 2018 14:08:00 -0000 From: Simon Marchi To: Andreas Schwab Cc: Simon Marchi , Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH 3/3] Avoid GDB SIGTTOU on catch exec + set follow-exec-mode new (PR 23368) In-Reply-To: References: <20181016033835.17594-1-simon.marchi@polymtl.ca> <20181016033835.17594-3-simon.marchi@polymtl.ca> <37bde004-853a-3ccc-3777-03cc43b36147@redhat.com> <5375d6a4-8b4d-af3a-2b37-f0b88363d5d3@polymtl.ca> <9e8dd186-86bd-5a6a-16a1-5aab96725a7b@redhat.com> Message-ID: <6a60f121de8caebe75c76ff8a883cbc6@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.3.6 X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00547.txt.bz2 On 2018-10-24 05:41, Andreas Schwab wrote: > That's still broken: > > $ ./gdb gdb > GNU gdb (GDB) 8.2.50.20181024-git > Copyright (C) 2018 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > Type "show copying" and "show warranty" for details. > This GDB was configured as "ia64-unknown-linux-gnu". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > Find the GDB manual and other documentation resources online at: > . > > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from gdb... > Setting up the environment for debugging gdb. > During symbol reading: unsupported tag: 'DW_TAG_unspecified_type' > Breakpoint 1 at 0x400000000018fc00: file ../../gdb/common/errors.c, > line 51. > During symbol reading: Member function "~_Sp_counted_base" (offset > 0x517e90) is virtual but the vtable offset is not specified > During symbol reading: cannot get low and high bounds for subprogram > DIE at 0x5201ee > During symbol reading: missing name for subprogram DIE at 0x5246c8 > During symbol reading: Child DIE 0x52f12a and its abstract origin > 0x52cafc have different parents > During symbol reading: Multiple children of DIE 0x53138e refer to DIE > 0x52be3c as their abstract origin > During symbol reading: DW_AT_call_target target DIE has invalid low > pc, for referencing DIE 0x53a7e0 [in module > /usr/local/gcc/gdb/Build/gdb/gdb] > Breakpoint 2 at 0x4000000000150ac0: file ../../gdb/cli/cli-cmds.c, line > 197. > (top-gdb) r > Starting program: /usr/local/gcc/gdb/Build/gdb/gdb > During symbol reading: .debug_line section has line program sequence > without an end > > [1]+ Stopped ./gdb gdb > $ fg > ./gdb gdb > Failed to read a valid object file image from memory. > During symbol reading: .debug_line section has line program sequence > without an end > During symbol reading: .debug_line section has line program sequence > without an end > [Detaching after vfork from child process 11772] > GNU gdb (GDB) 8.2.50.20181024-git > Copyright (C) 2018 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > Type "show copying" and "show warranty" for details. > This GDB was configured as "ia64-unknown-linux-gnu". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > Find the GDB manual and other documentation resources online at: > . > > For help, type "help". > Type "apropos word" to search for commands related to "word". > > Andreas. That looks like a different case of SIGTTOU, same symptom but different root cause. I didn't claim I fixed all of them :) Simon