public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [rfa] Move ``typedef value_ptr'' to gdbtk-wrapper.h
@ 2002-01-04 11:13 Andrew Cagney
  2002-01-04 11:19 ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2002-01-04 11:13 UTC (permalink / raw)
  To: insight

[-- Attachment #1: Type: text/plain, Size: 106 bytes --]

Hello,

This moves the value_ptr typedef to a gdbtk specific file since only 
gdbtk uses it.

Ok?

Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1544 bytes --]

Index: ChangeLog
2002-01-04  Andrew Cagney  <ac131313@redhat.com>

	* value.h (value_ptr): Delete typedef.

Index: gdbtk/ChangeLog
2002-01-04  Andrew Cagney  <ac131313@redhat.com>

	* generic/gdbtk-wrapper.h: Add typedef value_ptr.

Index: value.h
===================================================================
RCS file: /cvs/src/src/gdb/value.h,v
retrieving revision 1.25
diff -p -r1.25 value.h
*** value.h	2002/01/04 18:20:19	1.25
--- value.h	2002/01/04 19:09:34
*************** struct value
*** 174,181 ****
      /* Do not add any new members here -- contents above will trash them */
    };
  
- typedef struct value *value_ptr;
- 
  #define VALUE_TYPE(val) (val)->type
  #define VALUE_ENCLOSING_TYPE(val) (val)->enclosing_type
  #define VALUE_LAZY(val) (val)->lazy
--- 174,179 ----
Index: gdbtk/generic/gdbtk-wrapper.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-wrapper.h,v
retrieving revision 1.4
diff -p -r1.4 gdbtk-wrapper.h
*** gdbtk-wrapper.h	2000/07/02 20:07:07	1.4
--- gdbtk-wrapper.h	2002/01/04 19:09:35
*************** struct gdb_wrapper_arguments {
*** 31,36 ****
--- 31,41 ----
    char *args[10];
  };
  
+ /* FIXME: cagney/2002-01-04: GDB no longer uses or supplies the
+    value_ptr typedef.  Provide one here to keep the Insight code
+    immediatly happy.  */
+ typedef struct value *value_ptr;
+ 
  /* Whenever any gdb function wrapper is called, its return status is: */
  typedef enum gdb_wrapper_status { GDB_OK, GDB_ERROR } gdb_result;
  

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

* Re: [rfa] Move ``typedef value_ptr'' to gdbtk-wrapper.h
  2002-01-04 11:13 [rfa] Move ``typedef value_ptr'' to gdbtk-wrapper.h Andrew Cagney
@ 2002-01-04 11:19 ` Keith Seitz
  2002-01-04 15:28   ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2002-01-04 11:19 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: insight

Sure. I'll start removing all the instances of value_ptr soon.

Thanks.
Keith
On Fri, 4 Jan 2002, Andrew Cagney wrote:

> Hello,
>
> This moves the value_ptr typedef to a gdbtk specific file since only
> gdbtk uses it.
>
> Ok?
>
> Andrew
>

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

* Re: [rfa] Move ``typedef value_ptr'' to gdbtk-wrapper.h
  2002-01-04 11:19 ` Keith Seitz
@ 2002-01-04 15:28   ` Andrew Cagney
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2002-01-04 15:28 UTC (permalink / raw)
  To: Keith Seitz; +Cc: insight

> Sure. I'll start removing all the instances of value_ptr soon.


Or me.  No hurry.

I've checked it in.

	Andrew



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

end of thread, other threads:[~2002-01-04 23:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-04 11:13 [rfa] Move ``typedef value_ptr'' to gdbtk-wrapper.h Andrew Cagney
2002-01-04 11:19 ` Keith Seitz
2002-01-04 15:28   ` Andrew Cagney

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).