Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
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, 29 Oct 2002 01:07:00 -0000	[thread overview]
Message-ID: <5.0.2.1.2.20021028150203.02ffe2c8@ics.u-strasbg.fr> (raw)
In-Reply-To: <15797.50576.457181.289982@localhost.redhat.com>

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:

                === gdb Summary ===

# of expected passes            8235
# of unexpected failures        52
# of unexpected successes       10
# of expected failures          168
# of unresolved testcases       3
# of untested testcases         9
# of unsupported tests          4
/home/pierre/gdb/build/origdb/testsuite/../../gdb/gdb version  2002-10-29-cvs -nx

same cvs tree + my patch :


                === gdb Summary ===

# of expected passes            8236
# of unexpected failures        51
# of unexpected successes       10
# of expected failures          168
# of unresolved testcases       3
# of untested testcases         9
# of unsupported tests          4
/home/pierre/gdb/build/origdb/testsuite/../../gdb/gdb version  2002-10-29-cvs -nx


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.

Can I commit the patch?


  reply	other threads:[~2002-10-29  9:07 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 [this message]
2002-11-03 16:09         ` Elena Zannoni
2002-11-05  0:26           ` Pierre Muller

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.20021028150203.02ffe2c8@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