Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: [rfa] Fix DOS clash with mi0-var-*.exp
       [not found] <3B3B8433.7020300@cygnus.com>
@ 2001-06-29  0:31 ` Eli Zaretskii
  2001-06-29  8:31   ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2001-06-29  0:31 UTC (permalink / raw)
  To: ac131313; +Cc: gdb-patches

> Date: Thu, 28 Jun 2001 15:23:31 -0400
> From: Andrew Cagney <ac131313@cygnus.com>
> 
> The attatched patch addresses a DOS file name clash caused by all the 
> mi0-var-*.exp files I recently created.
> 
> Is this the correct way to do this?  The files aren't used in a DOS build.

Yes, this is the way.  However:

> + @V@/gdb/testsuite/gdb.mi/mi0-var-cmd.exp @V@/gdb/testsuite/gdb.mi/mi0-varcmd.exp
> + @V@/gdb/testsuite/gdb.mi/mi0-var-child.exp @V@/gdb/testsuite/gdb.mi/mi0-varchild.exp

These two still clash: truncation to 8+3 yields "mi0-varc.exp" for
both of them.

Actually, I wonder why do we have to keep those mi0- prefixes.  This
is all in gdb.mi subdirectory, so there should be no need to stress
the fact we are talking about mi.  If the zero is significant, we can
keep it, but "mi" can go, I think.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [rfa] Fix DOS clash with mi0-var-*.exp
  2001-06-29  0:31 ` [rfa] Fix DOS clash with mi0-var-*.exp Eli Zaretskii
@ 2001-06-29  8:31   ` Andrew Cagney
  2001-06-29  8:57     ` Eli Zaretskii
  2001-07-09 13:52     ` Fernando Nasser
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Cagney @ 2001-06-29  8:31 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches

> Date: Thu, 28 Jun 2001 15:23:31 -0400
>> From: Andrew Cagney <ac131313@cygnus.com>
>> 
>> The attatched patch addresses a DOS file name clash caused by all the 
>> mi0-var-*.exp files I recently created.
>> 
>> Is this the correct way to do this?  The files aren't used in a DOS build.
> 
> 
> Yes, this is the way.  However:
> 
> 
>> + @V@/gdb/testsuite/gdb.mi/mi0-var-cmd.exp @V@/gdb/testsuite/gdb.mi/mi0-varcmd.exp
>> + @V@/gdb/testsuite/gdb.mi/mi0-var-child.exp @V@/gdb/testsuite/gdb.mi/mi0-varchild.exp
> 
> 
> These two still clash: truncation to 8+3 yields "mi0-varc.exp" for
> both of them.


Will fix.

Hmm, that would mean that mi-var-cmd.exp and mi-var-child.exp also 
clash.  Ah, yes found them hidden in fnchange.lst, would you object to 
me (separatly) sorting that file?


> Actually, I wonder why do we have to keep those mi0- prefixes.  This
> is all in gdb.mi subdirectory, so there should be no need to stress
> the fact we are talking about mi.  If the zero is significant, we can
> keep it, but "mi" can go, I think.


If my memory is correct, it is a namespace proof things.  While it looks 
like a two level structure dejagnu ignores this and just worries about 
the basename.  If I tell dejagnu to run the test ``var-cmd.exp'' I get 
all of them.

	Andrew


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [rfa] Fix DOS clash with mi0-var-*.exp
  2001-06-29  8:31   ` Andrew Cagney
@ 2001-06-29  8:57     ` Eli Zaretskii
  2001-06-29  9:18       ` Andrew Cagney
  2001-07-09 13:52     ` Fernando Nasser
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2001-06-29  8:57 UTC (permalink / raw)
  To: ac131313; +Cc: gdb-patches

> Date: Fri, 29 Jun 2001 10:45:37 -0400
> From: Andrew Cagney <ac131313@cygnus.com>
> 
> would you object to me (separatly) sorting that file?

No, please go ahead.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [rfa] Fix DOS clash with mi0-var-*.exp
  2001-06-29  8:57     ` Eli Zaretskii
@ 2001-06-29  9:18       ` Andrew Cagney
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Cagney @ 2001-06-29  9:18 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches

> Date: Fri, 29 Jun 2001 10:45:37 -0400
>> From: Andrew Cagney <ac131313@cygnus.com>
>> 
>> would you object to me (separatly) sorting that file?
> 
> 
> No, please go ahead.


Done. I'll omit the details of the file change.

	Andrew



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [rfa] Fix DOS clash with mi0-var-*.exp
  2001-06-29  8:31   ` Andrew Cagney
  2001-06-29  8:57     ` Eli Zaretskii
@ 2001-07-09 13:52     ` Fernando Nasser
  1 sibling, 0 replies; 5+ messages in thread
From: Fernando Nasser @ 2001-07-09 13:52 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Eli Zaretskii, gdb-patches

Andrew Cagney wrote:
> 
> > Actually, I wonder why do we have to keep those mi0- prefixes.  This
> > is all in gdb.mi subdirectory, so there should be no need to stress
> > the fact we are talking about mi.  If the zero is significant, we can
> > keep it, but "mi" can go, I think.
> 
> If my memory is correct, it is a namespace proof things.  While it looks
> like a two level structure dejagnu ignores this and just worries about
> the basename.  If I tell dejagnu to run the test ``var-cmd.exp'' I get
> all of them.
> 

That is correct.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-09 13:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3B3B8433.7020300@cygnus.com>
2001-06-29  0:31 ` [rfa] Fix DOS clash with mi0-var-*.exp Eli Zaretskii
2001-06-29  8:31   ` Andrew Cagney
2001-06-29  8:57     ` Eli Zaretskii
2001-06-29  9:18       ` Andrew Cagney
2001-07-09 13:52     ` Fernando Nasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox