This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
PING : [PING] [RFC-v2] Use untested for macscp.exp if no macro information generated
- From: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- To: <tromey at redhat dot com>
- Cc: "'Daniel Jacobowitz'" <drow at false dot org>, <gdb-patches at sourceware dot org>
- Date: Mon, 11 May 2009 13:28:21 +0200
- Subject: PING : [PING] [RFC-v2] Use untested for macscp.exp if no macro information generated
- References: <011801c92a03$4b71afa0$e2550ee0$@u-strasbg.fr> <m38wsxvin8.fsf@fleche.redhat.com> <001401c92af1$cf8821e0$6e9865a0$@u-strasbg.fr> <004a01c97f96$637bced0$2a736c70$@u-strasbg.fr> <000001c9814b$919b63a0$b4d22ae0$@u-strasbg.fr> <20090201182834.GE4597@caradoc.them.org> <000801c9860c$d5dc8ba0$8195a2e0$@u-strasbg.fr> <000001c9921b$cf82d500$6e887f00$@u-strasbg.fr> <m3d4dfz1ep.fsf@fleche.redhat.com> <000001c99335$837a4d30$8a6ee790$@u-strasbg.fr>
I would still like to have this accepted
even if it is not optimal...
In the sense that you still get one failure for
gcc-3 using stabs as default debugging info format
instead of about 500.
See history, starting here:
http://sourceware.org/ml/gdb-patches/2008-10/msg00282.html
First RFC
http://sourceware.org/ml/gdb-patches/2008-10/msg00323.html
and second version
http://sourceware.org/ml/gdb-patches/2009-02/msg00388.html
Pierre Muller
Pascal language support maintainer for GDB
> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Pierre Muller
> Envoyé?: Friday, February 20, 2009 9:31 AM
> À?: tromey@redhat.com
> Cc?: 'Daniel Jacobowitz'; gdb-patches@sourceware.org
> Objet?: RE: [PING] [RFC-v2] Use untested for macscp.exp if no macro
> information generated
>
>
>
> > -----Message d'origine-----
> > De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> > owner@sourceware.org] De la part de Tom Tromey
> > Envoyé?: Thursday, February 19, 2009 2:00 AM
> > À?: Pierre Muller
> > Cc?: 'Daniel Jacobowitz'; gdb-patches@sourceware.org
> > Objet?: Re: [PING] [RFC-v2] Use untested for macscp.exp if no macro
> > information generated
> >
> > >>>>> "Pierre" == Pierre Muller <muller@ics.u-strasbg.fr> writes:
> >
> > Pierre> I didn't get any feedback on this one.
> >
> > Sorry about that.
> >
> > Pierre> Should I resend it as a RFA?
> >
> > No need :)
> >
> > >> FAIL: gdb.base/macscp.exp: info macro WHERE after `list main'
> > >> (undefined)
> >
> > It seems to me that it should be possible to check some macro
> > expansion without running a "test", and thus not having any FAILs
> show
> > up in the log.
> >
> > Is this too hard?
>
> The problem is that this does not work
> unless you already started the program,
> loading it into memory with file is not enough...
>
> And I didn't want to change the order of the tests
> inside macscp.exp (there are a few tests
> prior to starting, which I didn't want to touch).
>
> One solution would be to start the debuggee,
> check 'macro expand FIFTY_SEVEN' at that point,
> flag as UNTESTED if this fails,
> or restart gdb if the macro expand succeeds.
>
> I thought about that when I first tried to
> handle this, but was afraid that restarting
> gdb once more for every tests done on all machines
> just to avoid failures on machines that do
> not support macros was not acceptable.
>
> If you tell me it is OK,
> I can try to resubmit a patch
> doing so.
>
>
> Pierre Muller
> Pascal language support maintainer for GDB
>
>
>