projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tue Nov 5 10:21:02 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
[deliverable/binutils-gdb.git]
/
gdb
/
c-lang.c
diff --git
a/gdb/c-lang.c
b/gdb/c-lang.c
index d7e5536f86949bc397172bba2faebd3e4a351785..a104e6129e9538da49f0d268f716ea12f5c2021a 100644
(file)
--- a/
gdb/c-lang.c
+++ b/
gdb/c-lang.c
@@
-15,7
+15,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139
, USA. */
+Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307
, USA. */
#include "defs.h"
#include "symtab.h"
#include "defs.h"
#include "symtab.h"
@@
-25,6
+25,8
@@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "language.h"
#include "c-lang.h"
#include "language.h"
#include "c-lang.h"
+static void emit_char PARAMS ((int, GDB_FILE *, int));
+
/* Print the character C on STREAM as part of the contents of a literal
string whose delimiter is QUOTER. Note that that format for printing
characters and strings is language specific. */
/* Print the character C on STREAM as part of the contents of a literal
string whose delimiter is QUOTER. Note that that format for printing
characters and strings is language specific. */
@@
-78,7
+80,7
@@
emit_char (c, stream, quoter)
}
}
}
}
-
static
void
+void
c_printchar (c, stream)
int c;
GDB_FILE *stream;
c_printchar (c, stream)
int c;
GDB_FILE *stream;
@@
-93,7
+95,7
@@
c_printchar (c, stream)
are printed as appropriate. Print ellipses at the end if we
had to stop before printing LENGTH characters, or if FORCE_ELLIPSES. */
are printed as appropriate. Print ellipses at the end if we
had to stop before printing LENGTH characters, or if FORCE_ELLIPSES. */
-
static
void
+void
c_printstr (stream, string, length, force_ellipses)
GDB_FILE *stream;
char *string;
c_printstr (stream, string, length, force_ellipses)
GDB_FILE *stream;
char *string;
@@
-211,7
+213,7
@@
c_printstr (stream, string, length, force_ellipses)
starts taking it's fundamental type information directly from the
debugging information supplied by the compiler. fnf@cygnus.com */
starts taking it's fundamental type information directly from the
debugging information supplied by the compiler. fnf@cygnus.com */
-st
atic st
ruct type *
+struct type *
c_create_fundamental_type (objfile, typeid)
struct objfile *objfile;
int typeid;
c_create_fundamental_type (objfile, typeid)
struct objfile *objfile;
int typeid;
@@
-333,7
+335,7
@@
c_create_fundamental_type (objfile, typeid)
/* Table mapping opcodes into strings for printing operators
and precedences of the operators. */
/* Table mapping opcodes into strings for printing operators
and precedences of the operators. */
-
static
const struct op_print c_op_print_tab[] =
+const struct op_print c_op_print_tab[] =
{
{",", BINOP_COMMA, PREC_COMMA, 0},
{"=", BINOP_ASSIGN, PREC_ASSIGN, 1},
{
{",", BINOP_COMMA, PREC_COMMA, 0},
{"=", BINOP_ASSIGN, PREC_ASSIGN, 1},
@@
-369,7
+371,7
@@
static const struct op_print c_op_print_tab[] =
{NULL, 0, 0, 0}
};
\f
{NULL, 0, 0, 0}
};
\f
-struct type **
const
(c_builtin_types[]) =
+struct type **
CONST_PTR
(c_builtin_types[]) =
{
&builtin_type_int,
&builtin_type_long,
{
&builtin_type_int,
&builtin_type_long,
This page took
0.027154 seconds
and
4
git commands to generate.