From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Regression for -gstabs+ [Re: FYI: fix spelling of "delete" in c-exp.y]
Date: Tue, 19 Jun 2012 10:49:00 -0000 [thread overview]
Message-ID: <20120619104843.GA22015@host2.jankratochvil.net> (raw)
In-Reply-To: <87k3z4pdzg.fsf@fleche.redhat.com>
Hi,
On Mon, 18 Jun 2012 22:22:11 +0200, Tom Tromey wrote:
> I'm checking this in.
this exactly reverts my change:
[WIP patch] Fix crash regressions after libiberty/ update
http://sourceware.org/ml/gdb-patches/2012-01/msg00261.html
I made there this change to match libiberty/cp-demangle.c
cplus_demangle_operators[].
> Running the test suite with a modified compiler (jason/comdat-debug in
> gcc git) shows a few regressions.
I do not say which version is right but there should be some more settlement
on why it is done.
> Debugging one of these showed that there were some extra spaces in
> c-exp.y, that caused problems in this test case. This patch removes the
> spaces.
"Extra" why? There seem to be missing spaces vs. the demanger now.
It has caused regression for -gstabs+ (tested only on Fedora Rawhide):
-PASS: gdb.cp/cplusfuncs.exp: print &foo::operator delete(void*)
-PASS: gdb.cp/cplusfuncs.exp: print &foo::operator delete(void*)
+FAIL: gdb.cp/cplusfuncs.exp: print &foo::operator delete(void*)
+FAIL: gdb.cp/cplusfuncs.exp: print &foo::operator delete(void*)
I do not say -gstabs+ is required but it may suggest something is wrong.
69a179f1518fae5168238f8775ff46013d0d155e is the first bad commit
commit 69a179f1518fae5168238f8775ff46013d0d155e
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jun 18 20:23:30 2012 +0000
* c-exp.y (operator): Remove trailing space after "delete" and
"delete[]".
Maybe the right fix is elsewhere in GDB?
Thanks,
Jan
next prev parent reply other threads:[~2012-06-19 10:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-18 20:22 FYI: fix spelling of "delete" in c-exp.y Tom Tromey
2012-06-19 10:49 ` Jan Kratochvil [this message]
2012-06-19 14:10 ` Regression for -gstabs+ [Re: FYI: fix spelling of "delete" in c-exp.y] Tom Tromey
2012-06-19 15:05 ` Jan Kratochvil
2012-06-19 17:24 ` Tom Tromey
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=20120619104843.GA22015@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@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