* Re: HPPA files naming convention...
2002-11-25 16:56 HPPA files naming convention Joel Brobecker
@ 2002-11-25 16:59 ` Daniel Jacobowitz
2002-11-25 17:08 ` Jason R Thorpe
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2002-11-25 16:59 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
On Mon, Nov 25, 2002 at 04:56:31PM -0800, Joel Brobecker wrote:
> I find the naming convention for the hppa targets too short for my
> liking: - hppah -> hppa on hpux
> - hppao -> hppa on osf
> - hppab -> hppa on bsd
>
> I suggest we transition to a more verbose naming, which should be more
> consistent with the other ports I know. For instance, how about
> hppa-hpux instead of hppah. I hear a netbsd port will probably be done
> in the future, we can then use hppa-netbsd.
>
> We would use this convention for the files in the config/pa directory
> (tm-hppa-hpux.h, hppa-hpux.mt, etc), and also for for the files in gdb
> (hppa-hpux-tdep.c).
>
> The part that is indenpedent of the OS would still stay in hppa (eg
> tm-hppa, hppa-tdep.c, etc).
>
> Does this seam like a good idea?
Absolutely! My tab completion loves you!
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: HPPA files naming convention...
2002-11-25 16:56 HPPA files naming convention Joel Brobecker
2002-11-25 16:59 ` Daniel Jacobowitz
@ 2002-11-25 17:08 ` Jason R Thorpe
2002-11-25 22:19 ` Eli Zaretskii
2002-11-26 7:30 ` Andrew Cagney
3 siblings, 0 replies; 5+ messages in thread
From: Jason R Thorpe @ 2002-11-25 17:08 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
On Mon, Nov 25, 2002 at 04:56:31PM -0800, Joel Brobecker wrote:
> I find the naming convention for the hppa targets too short for my
> liking: - hppah -> hppa on hpux
> - hppao -> hppa on osf
> - hppab -> hppa on bsd
>
> I suggest we transition to a more verbose naming, which should be more
> consistent with the other ports I know. For instance, how about
> hppa-hpux instead of hppah. I hear a netbsd port will probably be done
> in the future, we can then use hppa-netbsd.
>
> We would use this convention for the files in the config/pa directory
> (tm-hppa-hpux.h, hppa-hpux.mt, etc), and also for for the files in gdb
> (hppa-hpux-tdep.c).
The convention sort of varies based on OS ... NetBSD platforms use e.g.
alphanbsd-tdep.c vs. the Linux alpha-linux-tdep.c. .mt and .mh files
for NetBSD in the processor-specific directory are usually just called
e.g. alpha/nbsd.mh.
So, for your configurations, select whatever convention suits you. But
be prepared for other OS config conventions to creep into the mix at
some point :-)
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: HPPA files naming convention...
2002-11-25 16:56 HPPA files naming convention Joel Brobecker
2002-11-25 16:59 ` Daniel Jacobowitz
2002-11-25 17:08 ` Jason R Thorpe
@ 2002-11-25 22:19 ` Eli Zaretskii
2002-11-26 7:30 ` Andrew Cagney
3 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2002-11-25 22:19 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
On Mon, 25 Nov 2002, Joel Brobecker wrote:
> I suggest we transition to a more verbose naming, which should be more
> consistent with the other ports I know. For instance, how about
> hppa-hpux instead of hppah. I hear a netbsd port will probably be done
> in the future, we can then use hppa-netbsd.
>
> We would use this convention for the files in the config/pa directory
> (tm-hppa-hpux.h, hppa-hpux.mt, etc), and also for for the files in gdb
> (hppa-hpux-tdep.c).
>
> The part that is indenpedent of the OS would still stay in hppa (eg
> tm-hppa, hppa-tdep.c, etc).
Just remember to update gdb/config/djgpp/fnchange.lst.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HPPA files naming convention...
2002-11-25 16:56 HPPA files naming convention Joel Brobecker
` (2 preceding siblings ...)
2002-11-25 22:19 ` Eli Zaretskii
@ 2002-11-26 7:30 ` Andrew Cagney
3 siblings, 0 replies; 5+ messages in thread
From: Andrew Cagney @ 2002-11-26 7:30 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
> I find the naming convention for the hppa targets too short for my
> liking: - hppah -> hppa on hpux
> - hppao -> hppa on osf
> - hppab -> hppa on bsd
What about the other way.
panbsd-tdep.c
pa-linux-tdep.c
pa-hpux-nat.c
for reasons unknown gdb ended up with config/pa instead of config/hppa.
> I suggest we transition to a more verbose naming, which should be more
> consistent with the other ports I know. For instance, how about
> hppa-hpux instead of hppah. I hear a netbsd port will probably be done
> in the future, we can then use hppa-netbsd.
>
> We would use this convention for the files in the config/pa directory
> (tm-hppa-hpux.h, hppa-hpux.mt, etc), and also for for the files in gdb
> (hppa-hpux-tdep.c).
>
> The part that is indenpedent of the OS would still stay in hppa (eg
> tm-hppa, hppa-tdep.c, etc).
>
> Does this seam like a good idea?
but which ever. (To follow up eli's comment, watch the ari for name
space problems).
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread