This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH-ppc 2/5] Add VSX support for core-files


On Thu, 2008-08-14 at 21:51 +0200, Ulrich Weigand wrote:

> > Index: gdb/corelow.c
> > ===================================================================
> > --- gdb.orig/corelow.c	2008-07-23 09:28:09.000000000 -0700
> > +++ gdb/corelow.c	2008-07-23 09:31:44.000000000 -0700
> > @@ -499,6 +499,8 @@
> >  			     ".reg-xfp", 3, "extended floating-point", 0);
> >    get_core_register_section (regcache,
> >    			     ".reg-ppc-vmx", 3, "ppc Altivec", 0);
> > +  get_core_register_section (regcache,
> > +			     ".reg-ppc-vsx", 4, "POWER7 VSX", 0);
> 
> It would be nice if we could convert this to a loop using the
> gdbarch_core_regset_sections list at some point ...

Agreed. I'll write a separate patch to cover this change.

Thanks,
Luis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]