Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* PowerPC UISA registers and altivec
@ 2002-05-31  7:40 Stephen Holford
  2002-05-31  8:20 ` Elena Zannoni
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Holford @ 2002-05-31  7:40 UTC (permalink / raw)
  To: gdb

Hi

In GDB release 5.2 the powerpc altivec registers have appeared as part of
the register set used by the default architecture powerpc:common. These
registers now appear in "info reg" commands, or in the register list from
the insight GUI. Does it make sense to require the altivec registers to be
part of powerpc:common? Most powerpc's don't have these registers (my
viewpoint is from the embedded 8xx, 82xx world).

Steve
----------------------------------------------------------------
Stephen F. Holford, P.Eng.
Wescam
(905) 633-4000 x2119


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

* Re: PowerPC UISA registers and altivec
  2002-05-31  7:40 PowerPC UISA registers and altivec Stephen Holford
@ 2002-05-31  8:20 ` Elena Zannoni
  0 siblings, 0 replies; 2+ messages in thread
From: Elena Zannoni @ 2002-05-31  8:20 UTC (permalink / raw)
  To: Stephen Holford; +Cc: gdb

Stephen Holford writes:
 > Hi
 > 
 > In GDB release 5.2 the powerpc altivec registers have appeared as part of
 > the register set used by the default architecture powerpc:common. These
 > registers now appear in "info reg" commands, or in the register list from
 > the insight GUI. Does it make sense to require the altivec registers to be
 > part of powerpc:common? Most powerpc's don't have these registers (my
 > viewpoint is from the embedded 8xx, 82xx world).
 > 
 > Steve
 > ----------------------------------------------------------------
 > Stephen F. Holford, P.Eng.
 > Wescam
 > (905) 633-4000 x2119

I agree with you that this is a quite unfortunate situation. It would
be nice if the bfd contained some indication of the particular
architecture in use, so that gdb could automatically switch to 7400
and only then display these registers. 

For your case, could you do a 'set architecture powerpc:8xx' in gdb?
That will give you the exact register set for your platform.


See the (long) thread at:
http://sources.redhat.com/ml/gdb-patches/2001-11/msg00548.html


Elena


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

end of thread, other threads:[~2002-05-31 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-31  7:40 PowerPC UISA registers and altivec Stephen Holford
2002-05-31  8:20 ` Elena Zannoni

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