public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: [patch] more REGISTER_CONVERTIBLE
       [not found] <m365ncqo0b.fsf@papaya.bactrian.org>
@ 2003-06-11 21:57 ` Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2003-06-11 21:57 UTC (permalink / raw)
  To: David Carlton; +Cc: insight

Wow, thank you for thinking about us!

Keith

<aside>
Ugh. With all the deprecation in get_register, it's time for a
rewrite...
</aside>

On Wed, 2003-06-11 at 14:53, David Carlton wrote:
> This patch gets gdbtk to compile: it replaces some uses of
> REGISTER_CONVERTIBLE and REGISTER_CONVERT_TO_VIRTUAL with their
> deprecated counterparts.
> 
> Tested by compiling on i686-pc-linux-gnu, GCC 3.1, DWARF 2; committed
> as obvious.
> 
> David Carlton
> carlton@bactrian.org
> 
> 2003-06-11  David Carlton  <carlton@bactrian.org>
> 
> 	* generic/gdbtk-register.c (get_register): REGISTER_CONVERTIBLE
> 	and REGISTER_CONVERT_TO_VIRTUAL are deprecated.
> 
> Index: gdbtk-register.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-register.c,v
> retrieving revision 1.18
> diff -u -p -r1.18 gdbtk-register.c
> --- gdbtk-register.c	8 May 2003 23:30:51 -0000	1.18
> +++ gdbtk-register.c	11 Jun 2003 21:51:23 -0000
> @@ -301,9 +301,9 @@ get_register (int regnum, void *arg)
>      }
>  
>    /* Convert raw data to virtual format if necessary.  */
> -  if (REGISTER_CONVERTIBLE (regnum))
> +  if (DEPRECATED_REGISTER_CONVERTIBLE (regnum))
>      {
> -      REGISTER_CONVERT_TO_VIRTUAL (regnum, reg_vtype,
> +      DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL (regnum, reg_vtype,
>        				   raw_buffer, virtual_buffer);
>      }
>    else

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-11 21:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m365ncqo0b.fsf@papaya.bactrian.org>
2003-06-11 21:57 ` [patch] more REGISTER_CONVERTIBLE Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).