From: Pierre Muller <muller@ics.u-strasbg.fr>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Fix an error in value_change_enclosing_type
Date: Tue, 05 Nov 2002 00:26:00 -0000 [thread overview]
Message-ID: <5.0.2.1.2.20021104155200.021581c0@ics.u-strasbg.fr> (raw)
In-Reply-To: <15813.47549.125741.380864@localhost.redhat.com>
At 01:05 04/11/2002, Elena Zannoni wrote:
>Pierre Muller writes:
> > A 22:39 22/10/2002, Elena Zannoni a écrit :
> > >muller@cerbere.u-strasbg.fr writes:
> > > > At 17:05 18/10/2002 -0400, Elena Zannoni wrote:
> > > > >Pierre Muller writes:
> > > > > >
> > > > > >
> > > > > >
> > > > > > the function value_change_enclosing_type
> > > > > > does not set the enlclosing_type field correctly if
> > > > > > the new_encl_type has a bigger length that the value type.
> > > > > >
> > > > > > Its seems quite astonishing that this has not been noticed before,
> > > > > > but I discovered it when trying to get
> > > > > > the fpc-abi.c code to work correctly.
> > > > > >
> > > > >
> > > > >The fix seems OK. However, do you have a small testcase? It would be
> > > > >good to add it to the testsuite.
> > > > Sorry, but I don't have any, because I really don't even know
> > > > if this code is ever executed for C code. It is for
> > > > Free Pascal generated code, that is how I discovered that bug.
> > > > But I can't add tests with Free Pascal anyhow.
> > > >
> > >
> > >Oh, ok.
> > >
> > > > >Does this fix changes the results for the already existing tests?
> > > >
> > > > Sorry, but I never worked with the testsuite,
> > > > so I can't answer this question.
> > > >
> > >
> > >Could you run make check in your gdb/testsuite directory in the build
> > >tree? All I meant is, whether or not the test results are different
> > >before and after your change.
> > >
> > >thanks
> > >Elena
> >
> >
> > I tried to create a test program
> > using C++ code, but it does never seem to
> > use the code that I modified...
> >
> > Thus, as I expected, the testsuite is unchanged:
> >
> > Tested on a i386 linux box:
> > (note that pthreads libs is not installed on that machine,
> > which creates several failures)
> > cvs tree from 29/10/2002:
> >
>
>There is on more pass with your patch, looks like. Which test passed?
>It could be a transient failure.
As explained below:
> But the only difference is between gdbcvs.sum and modgdb.sum
> > is
> > 5166c5166
> > < FAIL: gdb.c++/annota2.exp: annotate-quit
> > ---
> > > PASS: gdb.c++/annota2.exp: annotate-quit
> >
> > which, when you look into gdb.c++/annota2.exp
> > is said to be a tests that fails sometimes, but unreproducably.
> >
> > So I think that we can consider that the
> > testsuite result is unchanged.
>Otherwise, ok.
>
>Elena
Thanks,
I commited the patch today, I just change the date in the ChangeLog...
prev parent reply other threads:[~2002-11-05 8:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-07 4:37 Pierre Muller
2002-10-18 14:08 ` Elena Zannoni
2002-10-20 14:55 ` muller
2002-10-22 14:42 ` Elena Zannoni
2002-10-29 1:07 ` Pierre Muller
2002-11-03 16:09 ` Elena Zannoni
2002-11-05 0:26 ` Pierre Muller [this message]
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=5.0.2.1.2.20021104155200.021581c0@ics.u-strasbg.fr \
--to=muller@ics.u-strasbg.fr \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@sources.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