From: Andrew Cagney <ac131313@redhat.com>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa/testsuite] gdb1250.exp, new test script
Date: Tue, 15 Jul 2003 16:20:00 -0000 [thread overview]
Message-ID: <3F1429BE.3040904@redhat.com> (raw)
In-Reply-To: <200307151613.h6FGDvnQ011927@duracef.shout.net>
> Rats, I said I would do this yesterday. Here it is: a new test script
> for PR gdb/1250.
>
> http://sources.redhat.com/gdb/bugs/1250
>
> This is the bug where gdb loses its marbles when backtracing through a
> function which calls a noreturn function such as 'abort'. The calling
> function has no epilog after the call to 'abort', so when gdb looks at
> the frame for that function, gdb sees the first instruction of the
> *next* function and uses information for that function instead.
>
> This happens in gdb.base/corefile.exp but I think it is nice to have a
> specific test for it.
>
> I tested this on native i686-pc-linux-gnu with gdb HEAD, gcc 2.95.3 and
> v3, dwarf-2 and stabs+.
>
> It PASSed with gcc 2.95.3 because gcc 2.95.3 does not optimize away the
> epilog. I think that this is okay. The gdb user really just wants to
> put breakpoints on things like 'abort' and 'exit' and have it work, and
> if it works because the compiler is simple, that is okay.
>
> It KFAILed with all the gcc 3.3's that I used.
>
> I would like to commit this to HEAD, wait a few days or a week, and then
> commit it to gdb_6_0-branch.
>
> OK to commit?
Definitly, and thanks.
Andrew
next prev parent reply other threads:[~2003-07-15 16:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-15 16:14 Michael Elizabeth Chastain
2003-07-15 16:19 ` Daniel Jacobowitz
2003-07-16 19:33 ` Andrew Cagney
2003-07-15 16:20 ` Andrew Cagney [this message]
2003-07-15 16:31 Michael Elizabeth Chastain
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=3F1429BE.3040904@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=mec@shout.net \
/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