forked from Imagelibrary/binutils-gdb
* gdbtypes.h: Declare f77_create_literal_string_type and
f77_create_literal_complex_type. * valops.c (f77_value_literal_string, f77_value_substring, f77_value_literal_complex): Use xmalloc not malloc. * valops.c (f77_value_literal_string, f77_value_substring): Make addr char * not CORE_ADDR. * value.h (struct value): Add new field literal_data of aligner union. (VALUE_LITERAL_DATA): Use it. * f-lang.h: Declare find_common_for_function. * value.h, valops.c: Split VALUE_SUBSTRING_START into memaddr and myaddr fields of a union. Don't overload it with the frame field (not sure this is necessary; I'm not sure what lval_* codes VALUE_SUBSTRING_* can be used with).
This commit is contained in:
@@ -723,8 +723,13 @@ create_array_type PARAMS ((struct type *, struct type *, struct type *));
|
||||
extern struct type *
|
||||
create_string_type PARAMS ((struct type *, struct type *));
|
||||
|
||||
extern struct type *
|
||||
create_set_type PARAMS ((struct type *, struct type *));
|
||||
extern struct type *f77_create_literal_string_type PARAMS ((struct type *,
|
||||
struct type *));
|
||||
|
||||
extern struct type *create_set_type PARAMS ((struct type *, struct type *));
|
||||
|
||||
extern struct type *f77_create_literal_complex_type PARAMS ((struct type *,
|
||||
struct type *));
|
||||
|
||||
extern struct type *
|
||||
lookup_unsigned_typename PARAMS ((char *));
|
||||
|
||||
Reference in New Issue
Block a user