Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: "'Pedro Alves'" <pedro@codesourcery.com>, <gdb-patches@sourceware.org>
Subject: RE: [RFA] testsuite avoid tcl error in gdb.threads/gcore-thread.exp
Date: Wed, 23 Jun 2010 15:31:00 -0000	[thread overview]
Message-ID: <000c01cb12e9$26edf500$74c9df00$@muller@ics-cnrs.unistra.fr> (raw)
In-Reply-To: <201006231542.12328.pedro@codesourcery.com>



> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Pedro Alves
> Envoyé : Wednesday, June 23, 2010 4:42 PM
> À : gdb-patches@sourceware.org
> Cc : Pierre Muller
> Objet : Re: [RFA] testsuite avoid tcl error in gdb.threads/gcore-
> thread.exp
> 
> On Wednesday 23 June 2010 14:59:09, Pierre Muller wrote:
> 
> >   Tested on gcc16 (it works again, hurrah!)
> > no changes.
> 
> I, and more importantly I guess anyone reading the archives in a
> few years, don't know what gcc16 is.  I guess it to be a machine in
> the gcc compile farm, and I guess it to be running linux, but I don't
> know for sure.  I don't know if it is x86, x86-64 or something else.
> Can
> you please state x86_64-linux, or something like that instead of
> assuming everyone else is using the gcc compile farm?

  Sorry, 
yes indeed gcc16 is just one of the machine of the gcc compile farm,
and it is a linux box base on a x86_64 CPU.
 
> >   OK to commit?
> 
> Yes, thanks. 

Thanks for the approval, patch committed.

> I was going to suggest fixing gcore.exp too, but
> it was already fixed similarly at some point:
> 
> 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
> 
>         * gdb.base/gcore.exp: Initialize variable core_supported.
> 
> >  set escapedfilename [string_to_regexp
> ${objdir}/${subdir}/gcore.test]
> >  # Drop corefile
> > +global core_supported
> > +set core_supported 0
> > +
> 
> Pedantically, you don't need that "global" statement anymore.

  I still didn't really understand this:
  when I run a testsuite with
'make check'.
All individual tests are run from runtest script
which itself uses runtest procedure to execute
each .exp file using the source command.
  Thus I was thinking that the code 
inside each .exp  file was not at global level,
but only at 'runtest procedure level', and I am not even sure
which level that procedure runs.
  Could someone explain to me why we are for sure
at global level when a .exp file is sourced?

Pierre


  reply	other threads:[~2010-06-23 15:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 13:59 Pierre Muller
2010-06-23 14:42 ` Pedro Alves
2010-06-23 15:31   ` Pierre Muller [this message]
     [not found]   ` <5627205469024062490@unknownmsgid>
2010-06-26 17:16     ` 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='000c01cb12e9$26edf500$74c9df00$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.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