mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
2002-02-13 Michael Chastain <mec@shout.net>
* defs.h: Kill CONST_PTR. * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". * c-lang.c (c_builtin_types): Likewise. * ch-lang.c (ch_builtin_types): Likewise. * f-lang.c (f_builtin_types): Likewise. * language.c (unknown_builtin_types): Likewise. * m2-lang.c (m2_builtin_types): Likewise. * p-lang.c (pascal_builtin_types): Likewise. * scm-lang.c (c_builtin_types): Likewise.
This commit is contained in:
parent
76f57f3aaa
commit
6c6ea35e34
@ -1,3 +1,15 @@
|
||||
2002-02-13 Michael Chastain <mec@shout.net>
|
||||
|
||||
* defs.h: Kill CONST_PTR.
|
||||
* c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
|
||||
* c-lang.c (c_builtin_types): Likewise.
|
||||
* ch-lang.c (ch_builtin_types): Likewise.
|
||||
* f-lang.c (f_builtin_types): Likewise.
|
||||
* language.c (unknown_builtin_types): Likewise.
|
||||
* m2-lang.c (m2_builtin_types): Likewise.
|
||||
* p-lang.c (pascal_builtin_types): Likewise.
|
||||
* scm-lang.c (c_builtin_types): Likewise.
|
||||
|
||||
2002-02-13 Keith Seitz <keiths@redhat.com>
|
||||
|
||||
* arm-tdep.h (arm_get_next_pc): Add declaration.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* C language support routines for GDB, the GNU debugger.
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
@ -385,7 +385,7 @@ const struct op_print c_op_print_tab[] =
|
||||
{NULL, 0, 0, 0}
|
||||
};
|
||||
|
||||
struct type **CONST_PTR (c_builtin_types[]) =
|
||||
struct type **const (c_builtin_types[]) =
|
||||
{
|
||||
&builtin_type_int,
|
||||
&builtin_type_long,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* C language support definitions for GDB, the GNU debugger.
|
||||
Copyright 1992, 1994, 1995, 1996, 1997, 1998, 2000
|
||||
Copyright 1992, 1994, 1995, 1996, 1997, 1998, 2000, 2002
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
@ -51,7 +51,7 @@ extern void c_printstr (struct ui_file * stream, char *string,
|
||||
|
||||
extern struct type *c_create_fundamental_type (struct objfile *, int);
|
||||
|
||||
extern struct type **CONST_PTR (c_builtin_types[]);
|
||||
extern struct type **const (c_builtin_types[]);
|
||||
|
||||
/* These are in c-typeprint.c: */
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Chill language support routines for GDB, the GNU debugger.
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 2000, 2001
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 2000, 2001, 2002
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
@ -322,7 +322,7 @@ struct type *builtin_type_chill_long;
|
||||
struct type *builtin_type_chill_ulong;
|
||||
struct type *builtin_type_chill_real;
|
||||
|
||||
struct type **CONST_PTR (chill_builtin_types[]) =
|
||||
struct type **const (chill_builtin_types[]) =
|
||||
{
|
||||
&builtin_type_chill_bool,
|
||||
&builtin_type_chill_char,
|
||||
|
@ -987,8 +987,6 @@ typedef struct ptid ptid_t;
|
||||
#include "fopen-same.h"
|
||||
#endif
|
||||
|
||||
#define CONST_PTR const
|
||||
|
||||
/* Defaults for system-wide constants (if not defined by xm.h, we fake it).
|
||||
FIXME: Assumes 2's complement arithmetic */
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Fortran language support routines for GDB, the GNU debugger.
|
||||
Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
||||
Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
||||
Free Software Foundation, Inc.
|
||||
Contributed by Motorola. Adapted from the C parser by Farooq Butt
|
||||
(fmbutt@engage.sps.mot.com).
|
||||
@ -429,7 +429,7 @@ static const struct op_print f_op_print_tab[] =
|
||||
{NULL, 0, 0, 0}
|
||||
};
|
||||
|
||||
struct type **CONST_PTR (f_builtin_types[]) =
|
||||
struct type **const (f_builtin_types[]) =
|
||||
{
|
||||
&builtin_type_f_character,
|
||||
&builtin_type_f_logical,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Multiple source language support for GDB.
|
||||
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
||||
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
||||
Free Software Foundation, Inc.
|
||||
Contributed by the Department of Computer Science at the State University
|
||||
of New York at Buffalo.
|
||||
@ -1444,7 +1444,7 @@ unk_lang_value_print (struct value *val, struct ui_file *stream, int format,
|
||||
error ("internal error - unimplemented function unk_lang_value_print called.");
|
||||
}
|
||||
|
||||
static struct type **CONST_PTR (unknown_builtin_types[]) =
|
||||
static struct type **const (unknown_builtin_types[]) =
|
||||
{
|
||||
0
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Modula 2 language support routines for GDB, the GNU debugger.
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 2000
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2002
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
@ -398,7 +398,7 @@ struct type *builtin_type_m2_card;
|
||||
struct type *builtin_type_m2_real;
|
||||
struct type *builtin_type_m2_bool;
|
||||
|
||||
struct type **CONST_PTR (m2_builtin_types[]) =
|
||||
struct type **const (m2_builtin_types[]) =
|
||||
{
|
||||
&builtin_type_m2_char,
|
||||
&builtin_type_m2_int,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Pascal language support routines for GDB, the GNU debugger.
|
||||
Copyright 2000 Free Software Foundation, Inc.
|
||||
Copyright 2000, 2002 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@ -407,7 +407,7 @@ const struct op_print pascal_op_print_tab[] =
|
||||
{NULL, 0, 0, 0}
|
||||
};
|
||||
|
||||
struct type **const /* CONST_PTR v 4.17 */ (pascal_builtin_types[]) =
|
||||
struct type **const (pascal_builtin_types[]) =
|
||||
{
|
||||
&builtin_type_int,
|
||||
&builtin_type_long,
|
||||
|
@ -41,7 +41,7 @@ static void scm_printstr (struct ui_file * stream, char *string,
|
||||
unsigned int length, int width,
|
||||
int force_ellipses);
|
||||
|
||||
extern struct type **CONST_PTR (c_builtin_types[]);
|
||||
extern struct type **const (c_builtin_types[]);
|
||||
|
||||
struct type *builtin_type_scm;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user