diff options
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/gdb/value.h b/gdb/value.h index 43408a9..e7c65dd 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -197,6 +197,7 @@ struct internalvar #ifdef __STDC__ struct frame_info; +struct fn_field; #endif extern void @@ -298,7 +299,7 @@ extern value value_neg PARAMS ((value arg1)); extern value -value_lognot PARAMS ((value arg1)); +value_complement PARAMS ((value arg1)); extern value value_struct_elt PARAMS ((value *argp, value *args, char *name, @@ -390,7 +391,7 @@ extern int value_less PARAMS ((value arg1, value arg2)); extern int -value_zerop PARAMS ((value arg1)); +value_logical_not PARAMS ((value arg1)); /* C++ */ @@ -469,19 +470,6 @@ extern void type_print PARAMS ((struct type *type, char *varstring, FILE *stream, int show)); -extern void -type_print_1 PARAMS ((struct type *type, char *varstring, FILE *stream, - int show, int level)); - -/* Possibilities for prettyprint parameters to routines which print - things. */ -enum val_prettyprint { - Val_no_prettyprint = 0, - Val_prettyprint, - /* Use the default setting which the user has specified. */ - Val_pretty_default - }; - extern char * baseclass_addr PARAMS ((struct type *type, int index, char *valaddr, value *valuep, int *errp)); @@ -498,6 +486,9 @@ val_print PARAMS ((struct type *type, char *valaddr, CORE_ADDR address, FILE *stream, int format, int deref_ref, int recurse, enum val_prettyprint pretty)); +extern int +val_print_string PARAMS ((CORE_ADDR addr, FILE *stream)); + /* FIXME: Assumes equivalence of "struct frame_info *" and "FRAME" */ extern void print_variable_value PARAMS ((struct symbol *var, struct frame_info *frame, @@ -510,7 +501,7 @@ extern int check_field PARAMS ((value, const char *)); extern void -typedef_print PARAMS ((struct type *type, struct symbol *new, FILE *stream)); +c_typedef_print PARAMS ((struct type *type, struct symbol *new, FILE *stream)); extern char * internalvar_name PARAMS ((struct internalvar *var)); @@ -526,6 +517,9 @@ clear_internalvars PARAMS ((void)); extern value value_copy PARAMS ((value)); +extern int +baseclass_offset PARAMS ((struct type *, int, value, int)); + /* From valops.c */ extern value |