Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* ARI and DUP filenames
@ 2002-02-19  6:16 Richard Earnshaw
  2002-02-19  9:25 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Earnshaw @ 2002-02-19  6:16 UTC (permalink / raw)
  To: gdb; +Cc: Richard.Earnshaw

I've noticed that the ARI script is whingeing about armnbsd-tdep.c and 
armnbsd-nat.c having a common 8.3 filename representation.  OK, but why 
doesn't it spot the fact that arm-linux-nat.c and arm-linux-tdep.c also 
have a common 8.3 format?

R.


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

* Re: ARI and DUP filenames
  2002-02-19  6:16 ARI and DUP filenames Richard Earnshaw
@ 2002-02-19  9:25 ` Eli Zaretskii
  2002-02-19 10:16   ` Richard Earnshaw
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2002-02-19  9:25 UTC (permalink / raw)
  To: Richard.Earnshaw; +Cc: gdb, Richard.Earnshaw

> Date: Tue, 19 Feb 2002 14:16:04 +0000
> From: Richard Earnshaw <rearnsha@arm.com>
> 
> I've noticed that the ARI script is whingeing about armnbsd-tdep.c and 
> armnbsd-nat.c having a common 8.3 filename representation.  OK, but why 
> doesn't it spot the fact that arm-linux-nat.c and arm-linux-tdep.c also 
> have a common 8.3 format?

Because the latter two (and quite a few others) are automatically
renamed when GDB is unpacked on DOS filesystems; see
gdb/config/djgpp/fnchange.lst.  To stop ARI's whining, add suitable
lines to fnchange.lst.


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

* Re: ARI and DUP filenames
  2002-02-19  9:25 ` Eli Zaretskii
@ 2002-02-19 10:16   ` Richard Earnshaw
  2002-02-19 11:22     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Earnshaw @ 2002-02-19 10:16 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Richard.Earnshaw, gdb

> > Date: Tue, 19 Feb 2002 14:16:04 +0000
> > From: Richard Earnshaw <rearnsha@arm.com>
> > 
> > I've noticed that the ARI script is whingeing about armnbsd-tdep.c and 
> > armnbsd-nat.c having a common 8.3 filename representation.  OK, but why 
> > doesn't it spot the fact that arm-linux-nat.c and arm-linux-tdep.c also 
> > have a common 8.3 format?
> 
> Because the latter two (and quite a few others) are automatically
> renamed when GDB is unpacked on DOS filesystems; see
> gdb/config/djgpp/fnchange.lst.  To stop ARI's whining, add suitable
> lines to fnchange.lst.


Ah!  Thank-you.  Does this script go round fixing up all makefile etc 
references as well?  Or do I have to add other definitions elsewhere for 
that?

R.


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

* Re: ARI and DUP filenames
  2002-02-19 10:16   ` Richard Earnshaw
@ 2002-02-19 11:22     ` Eli Zaretskii
  2002-02-19 11:31       ` Richard Earnshaw
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2002-02-19 11:22 UTC (permalink / raw)
  To: Richard.Earnshaw; +Cc: gdb

> Date: Tue, 19 Feb 2002 17:45:15 +0000
> From: Richard Earnshaw <rearnsha@arm.com>
> 
> Does this script go round fixing up all makefile etc references as
> well?

No, it doesn't change the Makefile's, since the renamed files are not
used in the MS-DOS (a.k.a. DJGPP, a.k.a. go32) build of GDB.  They are
only renamed to allow the tarball to be unpacked without overwriting
files.  (The TAGS targets are screwed by this, but I doubt that many
DJGPP users use TAGS.  I have a plan to fix this as well some time.)

> Or do I have to add other definitions elsewhere for that?

You don't need to do anything beyond updating fnchange.lst.  One
request: when you invent the 8+3-clean names, please look how similar
names are dealt with on fnchange.lst, and do something along the same
lines.  TIA


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

* Re: ARI and DUP filenames
  2002-02-19 11:22     ` Eli Zaretskii
@ 2002-02-19 11:31       ` Richard Earnshaw
  2002-02-19 13:06         ` Andrew Cagney
  2002-02-19 23:27         ` Eli Zaretskii
  0 siblings, 2 replies; 7+ messages in thread
From: Richard Earnshaw @ 2002-02-19 11:31 UTC (permalink / raw)
  To: Eli Zaretskii, gdb-patches; +Cc: Richard.Earnshaw, gdb

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

> You don't need to do anything beyond updating fnchange.lst.  One
> request: when you invent the 8+3-clean names, please look how similar
> names are dealt with on fnchange.lst, and do something along the same
> lines.  TIA

Ok, committed the following:

2002-02-19  Richard Earnshaw  <rearnsha@arm.com>

	* config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
	armnbsd-nat.c.


[-- Attachment #2: gdb-fnlist.patch --]
[-- Type: text/x-patch , Size: 737 bytes --]

Index: fnchange.lst
===================================================================
RCS file: /cvs/src/src/gdb/config/djgpp/fnchange.lst,v
retrieving revision 1.23
diff -p -r1.23 fnchange.lst
*** fnchange.lst	2002/01/20 03:28:59	1.23
--- fnchange.lst	2002/02/19 19:24:35
***************
*** 53,58 ****
--- 53,60 ----
  @V@/gdb/ChangeLog-3.x @V@/gdb/ChangeLog.3-x
  @V@/gdb/arm-linux-nat.c @V@/gdb/armlin-nat.c
  @V@/gdb/arm-linux-tdep.c @V@/gdb/armlin-tdep.c
+ @V@/gdb/armnbsd-nat.c @V@/gdb/armnbd-nat.c
+ @V@/gdb/armnbsd-tdep.c @V@/gdb/armnbd-tdep.c
  @V@/gdb/c-exp.tab.c @V@/gdb/c-exp_tab.c
  @V@/gdb/config/alpha/alpha-osf1.mh @V@/gdb/config/alpha/alphosf1.mh
  @V@/gdb/config/alpha/alpha-osf2.mh @V@/gdb/config/alpha/alphosf2.mh

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

* Re: ARI and DUP filenames
  2002-02-19 11:31       ` Richard Earnshaw
@ 2002-02-19 13:06         ` Andrew Cagney
  2002-02-19 23:27         ` Eli Zaretskii
  1 sibling, 0 replies; 7+ messages in thread
From: Andrew Cagney @ 2002-02-19 13:06 UTC (permalink / raw)
  To: Richard.Earnshaw; +Cc: Eli Zaretskii, gdb-patches, gdb

I'll update the ARI error description so that it mentions fnchange.lst. 
  Thanks for fixing it.

Andrew

http://sources.redhat.com/gdb/onlinedocs/gdbint_13.html#SEC110


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

* Re: ARI and DUP filenames
  2002-02-19 11:31       ` Richard Earnshaw
  2002-02-19 13:06         ` Andrew Cagney
@ 2002-02-19 23:27         ` Eli Zaretskii
  1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2002-02-19 23:27 UTC (permalink / raw)
  To: Richard.Earnshaw; +Cc: gdb-patches, gdb


On Tue, 19 Feb 2002, Richard Earnshaw wrote:

> Ok, committed the following:
> 
> 2002-02-19  Richard Earnshaw  <rearnsha@arm.com>
> 
> 	* config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
> 	armnbsd-nat.c.

Thanks.


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

end of thread, other threads:[~2002-02-20  7:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-19  6:16 ARI and DUP filenames Richard Earnshaw
2002-02-19  9:25 ` Eli Zaretskii
2002-02-19 10:16   ` Richard Earnshaw
2002-02-19 11:22     ` Eli Zaretskii
2002-02-19 11:31       ` Richard Earnshaw
2002-02-19 13:06         ` Andrew Cagney
2002-02-19 23:27         ` Eli Zaretskii

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