Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@polymtl.ca>
To: Andreas Schwab <schwab@suse.de>
Cc: Simon Marchi <simon.marchi@ericsson.com>,
	Pedro Alves <palves@redhat.com>,
	       gdb-patches@sourceware.org
Subject: Re: [PATCH 3/3] Avoid GDB SIGTTOU on catch exec + set follow-exec-mode new (PR 23368)
Date: Wed, 24 Oct 2018 14:08:00 -0000	[thread overview]
Message-ID: <6a60f121de8caebe75c76ff8a883cbc6@polymtl.ca> (raw)
In-Reply-To: <mvmftwvr8ao.fsf@suse.de>

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 
> <http://gnu.org/licenses/gpl.html>
> 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:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
>     <http://www.gnu.org/software/gdb/documentation/>.
> 
> 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 
> <http://gnu.org/licenses/gpl.html>
> 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:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
>     <http://www.gnu.org/software/gdb/documentation/>.
> 
> 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


  parent reply	other threads:[~2018-10-24 14:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-16  3:38 [PATCH 1/3] Pass inferior to terminal_save_inferior Simon Marchi
2018-10-16  3:38 ` [PATCH 3/3] Avoid GDB SIGTTOU on catch exec + set follow-exec-mode new (PR 23368) Simon Marchi
     [not found]   ` <37bde004-853a-3ccc-3777-03cc43b36147@redhat.com>
2018-10-20 15:14     ` Simon Marchi
2018-10-20 15:38       ` Simon Marchi
2018-10-22 20:56         ` Pedro Alves
2018-10-23  9:49           ` Simon Marchi
2018-10-23 10:55             ` Pedro Alves
     [not found]             ` <mvmftwvr8ao.fsf@suse.de>
2018-10-24 14:08               ` Simon Marchi [this message]
2018-10-16  3:38 ` [PATCH 2/3] Pass inferior to terminal_inferior Simon Marchi
2018-10-22 20:54   ` Pedro Alves
2018-10-23  9:14     ` Simon Marchi
2018-10-22 20:54 ` [PATCH 1/3] Pass inferior to terminal_save_inferior Pedro Alves
2018-10-23  9:01   ` Simon Marchi
2018-10-23 11:11     ` Pedro Alves
2018-10-23 20:56       ` Simon Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a60f121de8caebe75c76ff8a883cbc6@polymtl.ca \
    --to=simon.marchi@polymtl.ca \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.com \
    --cc=schwab@suse.de \
    --cc=simon.marchi@ericsson.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox