From: Daniel Berlin <dberlin@redhat.com>
To: Jimmy Guo <guo@cup.hp.com>
Cc: gdb@sourceware.cygnus.com
Subject: Re: gdb linux testing regressions (compared to 7/24)
Date: Thu, 10 Aug 2000 18:42:00 -0000 [thread overview]
Message-ID: <m3wvhoshdg.fsf@dan2.cygnus.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10008101748040.25781-100000@hpcll168.cup.hp.com>
Jimmy Guo <guo@cup.hp.com> writes:
> FYI:
>
> Latest gdb source has a test regression of 200+ as compared to the 7/24
> tree, on i686-pc-linux-gnu. For example, gdb.base/break.exp:
> ...
> print marker2(99)
>
> read_register_bytes: Couldn't update register 16.
>
> (gdb) FAIL: gdb.base/break.exp: hit breakpoint on called function
> ...
>
> Regression info is provided below ...
>
...
> gdb.c++/classes.exp
> | F |: base class param->a
> | F |: base class param->x
> | F |: inherited class param->a
> | F |: inherited class param->x
> | F |: base class param.a
> | F |: base class param.x
> | F |: inherited class param.a
> | F |: inherited class param.x
>
Known.
But it's actually
FAIL: base class (¶m)->a
FAIL: base class (¶m)->x
FAIL: inherited class (¶m)->a
FAIL: inherited class (¶m)->x
FAIL: continue to enums2
now.
> gdb.c++/demangle.exp
> | F |: gnu:
>__thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator
I claim this can't be unambiguously demangled, as it has more than one
legal demangling.
This will have to be marked XFAIL.
I'll add more tests that break the demangler before i fixed it, to
show this is worth it (I know it's worth it. Before, customers
complained about things not being able to be demangled. Now, they
don't).
>
> gdb.c++/namespace.exp
> | F |: print 'AAA::xyzq'('x')
> | F |: print 'BBB::CCC::xyzq'('x')
>
Unreproducable.
I get "FAIL: info func xyzq" instead, but it's clearly not failing.
info func xyzq^M
All functions matching regular expression "xyzq":^M
^M
File ./gdb.c++/namespace.cc:^M
int AAA::A_xyzq(int);^M
char AAA::xyzq(char);^M
int BBB::B_xyzq(int);^M
char BBB::CCC::xyzq(char);^M
char BBB::Class::xyzq(char);^M
char BBB::xyzq(char);^M
All of these properly match xyzq.
> gdb.c++/templates.exp
> | F |: print t5i.value()
I can only reproduce under stabs
It looks like a name gets demangled properly the firsttime, when we
print it the second, it's garbage.
This tells me it's a method stub problem, and i'm on it.
Under dwarf2 i get no failures at all.
--Dan
next prev parent reply other threads:[~2000-08-10 18:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-10 17:56 Jimmy Guo
2000-08-10 18:42 ` Daniel Berlin [this message]
2000-08-10 22:02 ` Mark Kettenis
[not found] <Pine.LNX.4.10.10008111010260.30697-100000@hpcll168.cup.hp.com>
2000-08-11 11:04 ` Mark Kettenis
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=m3wvhoshdg.fsf@dan2.cygnus.com \
--to=dberlin@redhat.com \
--cc=gdb@sourceware.cygnus.com \
--cc=guo@cup.hp.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