aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1995-01-23 21:20:58 +0000
committerPer Bothner <per@bothner.com>1995-01-23 21:20:58 +0000
commit6d34c23688b9d441b6daba6dff56d6a4389bc058 (patch)
treef2acf81c173f32cd8b679d92911f4298440f896d /gdb/value.h
parentce51845b10a95dc54e30c5df90706a3902d6d1ed (diff)
downloadgdb-6d34c23688b9d441b6daba6dff56d6a4389bc058.zip
gdb-6d34c23688b9d441b6daba6dff56d6a4389bc058.tar.gz
gdb-6d34c23688b9d441b6daba6dff56d6a4389bc058.tar.bz2
Add support for Chill bitstring literals (e.h. H'FF00').
* ch-exp.y (match_bitstring_literal): Fix for proper endianness. * expprint.c (print_subexp): Don't call error on OP_BITSTRING, just print B'<unimlemented>'. * gdbtypes.c (create_set_type): Fix bug in length calculation. * valops.c, value.h (value_bitstring): New function. * eval.c (evaluate_subexp): Implement support for OP_BITSTRING. * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC, check that return type is non-void, and print in proper Chill syntax.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h
index dc61bea..7708a44 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -1,5 +1,5 @@
/* Definitions for values of C expressions, for GDB.
- Copyright 1986, 1987, 1989, 1992, 1993, 1994 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of GDB.
@@ -281,6 +281,7 @@ extern value_ptr value_mark PARAMS ((void));
extern void value_free_to_mark PARAMS ((value_ptr mark));
extern value_ptr value_string PARAMS ((char *ptr, int len));
+extern value_ptr value_bitstring PARAMS ((char *ptr, int len));
extern value_ptr value_array PARAMS ((int lowbound, int highbound,
value_ptr *elemvec));
@@ -484,7 +485,7 @@ extern value_ptr value_arg_coerce PARAMS ((value_ptr));
extern int check_field PARAMS ((value_ptr, const char *));
extern void
-c_typedef_print PARAMS ((struct type *type, struct symbol *new, GDB_FILE *stream));
+c_typedef_print PARAMS ((struct type *type, struct symbol *news, GDB_FILE *stream));
extern char *
internalvar_name PARAMS ((struct internalvar *var));