From: Andreas Schwab <schwab@linux-m68k.org>
To: dje@google.com (Doug Evans)
Cc: gdb-patches@sourceware.org
Subject: Re: [commit] Fix rereading of DWO DIEs
Date: Thu, 19 Jul 2012 08:12:00 -0000 [thread overview]
Message-ID: <m2wr20jhkt.fsf@igel.home> (raw)
In-Reply-To: <20120701021809.14F031E124A@ruffy2.mtv.corp.google.com> (Doug Evans's message of "Sat, 30 Jun 2012 19:18:09 -0700 (PDT)")
dje@google.com (Doug Evans) writes:
> Index: testsuite/gdb.dwarf2/fission-reread.S
> ===================================================================
> RCS file: testsuite/gdb.dwarf2/fission-reread.S
> diff -N testsuite/gdb.dwarf2/fission-reread.S
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ testsuite/gdb.dwarf2/fission-reread.S 1 Jul 2012 01:52:47 -0000
> @@ -0,0 +1,459 @@
> +/* Copyright 2012 Free Software Foundation, Inc.
> +
> + This program is free software; you can redistribute it and/or modify
> + it under the terms of the GNU General Public License as published by
> + the Free Software Foundation; either version 3 of the License, or
> + (at your option) any later version.
> +
> + This program is distributed in the hope that it will be useful,
> + but WITHOUT ANY WARRANTY; without even the implied warranty of
> + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + GNU General Public License for more details.
> +
> + You should have received a copy of the GNU General Public License
> + along with this program. If not, see <http://www.gnu.org/licenses/>. */
> +
> +/* Testcase to exercise the code path in bug 13961 for Fission.
> + http://gcc.gnu.org/wiki/DebugFission
> +
> + Compiled from:
> +
> + class foo
> + {
> + public:
> + int bar;
> + };
> +
> + foo baz;
> +
> + int
> + main ()
> + {
> + return 0;
> + }
> +
> + And then manually edited to insert the necessary DW_AT_specification
> + entries to trigger the desired code path.
> + There's no real need to make this architecture-specific, so it has been
> + further hand-edited to support that.
> +*/
> +
> + .file "fission-reread.cc"
> +
> + .globl baz
> + .bss
Executing on host: gcc -c -o /home/abuild/rpmbuild/BUILD/gdb-7.4.91/gdb/testsuite/gdb.dwarf2/fission-reread0.o ./gdb.dwarf2/fission-reread.S (timeout = 300)
spawn gcc -c -o /home/abuild/rpmbuild/BUILD/gdb-7.4.91/gdb/testsuite/gdb.dwarf2/fission-reread0.o ./gdb.dwarf2/fission-reread.S
fission-reread.cc: Assembler messages:
fission-reread.cc:44: Error: unknown pseudo-op: `.bss'
compiler exited with status 1
output is:
fission-reread.cc: Assembler messages:
fission-reread.cc:44: Error: unknown pseudo-op: `.bss'
gdb compile failed, fission-reread.cc: Assembler messages:
fission-reread.cc:44: Error: unknown pseudo-op: `.bss'
UNTESTED: gdb.dwarf2/fission-reread.exp: fission-reread.exp
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2012-07-19 8:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-01 2:18 Doug Evans
2012-07-02 8:34 ` [patch 1/2] testcase: Make it -m32 compatible [Re: [commit] Fix rereading of DWO DIEs] Jan Kratochvil
2012-07-02 8:38 ` Jan Kratochvil
2012-07-02 20:10 ` [commit] " Jan Kratochvil
2012-07-02 8:35 ` [patch 2/2] testcase: Make it cross-arch " Jan Kratochvil
2012-07-02 20:11 ` [commit] " Jan Kratochvil
2012-07-19 8:12 ` Andreas Schwab [this message]
2012-07-19 16:17 ` [commit] Fix rereading of DWO DIEs dje
2012-07-19 16:41 ` Andreas Schwab
2012-07-19 17:24 ` Doug Evans
2012-07-30 16:58 ` Doug Evans
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=m2wr20jhkt.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
/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