From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2320 invoked by alias); 4 Jan 2002 19:13:39 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 2289 invoked from network); 4 Jan 2002 19:13:38 -0000 Message-ID: <3C35FEDF.5040102@cygnus.com> Date: Fri, 04 Jan 2002 11:13:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: insight@sources.redhat.com Subject: [rfa] Move ``typedef value_ptr'' to gdbtk-wrapper.h Content-Type: multipart/mixed; boundary="------------090201000302030403060904" X-SW-Source: 2002-q1/txt/msg00018.txt.bz2 This is a multi-part message in MIME format. --------------090201000302030403060904 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 106 Hello, This moves the value_ptr typedef to a gdbtk specific file since only gdbtk uses it. Ok? Andrew --------------090201000302030403060904 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1544 Index: ChangeLog 2002-01-04 Andrew Cagney * value.h (value_ptr): Delete typedef. Index: gdbtk/ChangeLog 2002-01-04 Andrew Cagney * 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; --------------090201000302030403060904--