This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] alpha_register_reggroup_p


Daniel Jacobowitz wrote:
> 
> On Sun, Jun 01, 2003 at 09:00:03PM -0700, Richard Henderson wrote:
> > On Sun, Jun 01, 2003 at 11:54:31PM -0400, Andrew Cagney wrote:
> > > >+  /* Force the FPCR to be considered part of the floating point state.  */
> > > >+  if (regnum == ALPHA_FPCR_REGNUM)
> > > >+    return group == float_reggroup;
> > >
> > > Good.  Finally a useful "info float".
> >
> > Incidentally, is there a good way to get "info r fpcr" to
> > decode the bits in this register?
> 
> Not really.  Michal Ludvig proposed a set type for this some time ago
> but I don't remember what happened to it.  You could probably use the
> Pascal-style power set type which GDB supports to acheive the same
> thing.

I think the standard thing is to intercept the "info reg" command
(there is a standard vector for doing so), and make it print
anything you want.


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