Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: David Edelsohn <dje.gcc@gmail.com>
Cc: Yao Qi <qiyaoltc@gmail.com>, GDB <gdb@sourceware.org>,
	       Sergio Durigan Junior <sergiodj@redhat.com>
Subject: Re: GDB on AIX
Date: Mon, 14 Nov 2016 17:44:00 -0000	[thread overview]
Message-ID: <28130f5d-a424-20dd-4b33-b31b989c8d97@redhat.com> (raw)
In-Reply-To: <CAGWvnyn+J0Wx86XZcTSbhPtsQ8cBG6QGcdEDSmswdRZWd8xZKw@mail.gmail.com>

On 11/14/2016 05:35 PM, David Edelsohn wrote:
> On Mon, Nov 14, 2016 at 12:18 PM, Pedro Alves <palves@redhat.com> wrote:
>> On 11/14/2016 03:51 PM, Yao Qi wrote:
>>> Hi David and Sergio,
>>>
>>> GDB mainline is broken on aix (gcc119.fsffrance.org),
>>
>>> (gdb) kill
>>> terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
>>> IOT/Abort trap (core dumped)
>>
>> If you debug gdb and put a breakpoint on throw_it, what does the
>> backtrace look like?  Would be exception be crossing
>> some C library that doesn't understand C++ exceptions,
>> other than readline?
> 
> Does the code assume that it can through an exception through a system library?

It shouldn't of course, but since we used to implement our own
home grown exception scheme using setjmp/longjmp, there may be
places that do throw across system libraries that happen to work
on x86-64 (and thus go unnoticed) because these system libraries are
built with -fexceptions.  The url Yao pointed at before was a series
fixing one such case.  I had confirmed at the time that that fixed
AIX, though (the older machine), so it's a bit puzzling.

Thanks,
Pedro Alves


  reply	other threads:[~2016-11-14 17:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-14 15:51 Yao Qi
2016-11-14 16:17 ` David Edelsohn
2016-11-14 17:18 ` Pedro Alves
2016-11-14 17:35   ` David Edelsohn
2016-11-14 17:44     ` Pedro Alves [this message]
2016-11-14 22:16   ` Yao Qi
  -- strict thread matches above, loose matches on Subject: below --
2005-12-19  9:57 gdb " Petchesi Gabriel Horatiu
2005-12-19 11:19 ` Joel Brobecker
2005-12-20  9:11   ` Petchesi Gabriel Horatiu
2005-12-20 10:45     ` Joel Brobecker

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=28130f5d-a424-20dd-4b33-b31b989c8d97@redhat.com \
    --to=palves@redhat.com \
    --cc=dje.gcc@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=qiyaoltc@gmail.com \
    --cc=sergiodj@redhat.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