public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: insight@sources.redhat.com
Subject: [rfa] Move ``typedef value_ptr'' to gdbtk-wrapper.h
Date: Fri, 04 Jan 2002 11:13:00 -0000	[thread overview]
Message-ID: <3C35FEDF.5040102@cygnus.com> (raw)

[-- 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;
  

             reply	other threads:[~2002-01-04 19:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-04 11:13 Andrew Cagney [this message]
2002-01-04 11:19 ` Keith Seitz
2002-01-04 15:28   ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C35FEDF.5040102@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).