aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.h
AgeCommit message (Collapse)AuthorFilesLines
2005-09-20 * expression.h (enum exp_opcode): Add a new operator for F90Wu Zhou1-0/+13
subrange. * f-lang.h (enum f90_range_type): New enumeration type to identify F90 subrange type. * f-exp.y (yyparse): Add support for parsing F90 subrange and change substring parsing to subrange parsing. * parse.c (operator_length_standard): Set the operator length and args number for OP_F90_RANGE. * eval.c (evaluate_subexp_standard): Add code to evaluate F90 array section and substring. (value_f90_subarray): New function to evaluate F90 array section. (evaluate_subexp_standard): Delete label op_f77_substr and its code because the logic is implemented by function value_f90_subarray now.
2005-05-092005-05-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
Use gdb_byte in preference to bfd_byte. * gdbarch.sh: Update. * gdbarch.h, gdbarch.c: Re-generate. * ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update. * c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update. * f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update. * jv-valprint.c, language.c, language.h, m2-lang.c: Update. * m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update. * p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update. * scm-lang.h, scm-valprint.c, target.c, target.h: Update. * tramp-frame.c, valarith.c, valops.c, valprint.c: Update. * valprint.h, value.c, value.h: Update.
2005-01-292005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-3/+5
* language.h (struct language_defn): Make la_val_print's buffer parameter a const bfd_byte. * cp-valprint.c (cp_print_value_fields, cp_print_value): Update. * ada-lang.c (ada_aligned_value_addr) (ada_value_primitive_packed_val, ada_which_variant_applies): Update. * valprint.c (val_print_array_elements): Update. * valprint.h (val_print_array_elements): Update. * ada-lang.h (ada_val_print, ada_aligned_value_addr) (ada_value_primitive_packed_val, ada_which_variant_applies): Update. * ada-valprint.c (ada_val_print, struct ada_val_print_args) (ada_val_print_1, ada_print_floating, printable_val_type) (print_record, val_print_packed_array_elements) (print_field_values, print_variant_part): Update. * c-lang.h (c_val_print, cp_print_value_fields): Update. * c-valprint.c (c_val_print): Update. * f-lang.h (f_val_print): Update. * f-valprint.c (f_val_print, f77_print_array_1) (f77_print_array): Update. * jv-lang.h (java_val_print): Update. * jv-valprint.c (java_print_value_fields, java_val_print): Update. * language.c (unk_lang_val_print): Update. * m2-lang.h (m2_val_print): Update. * m2-valprint.c (m2_val_print): Update. * p-lang.h (pascal_val_print): Update. (pascal_object_print_value_fields): Update. * p-valprint.c (pascal_val_print) (pascal_object_print_value_fields, pascal_object_print_value) (pascal_object_print_value): Update. * scm-lang.h (scm_val_print): Update. * scm-valprint.c (scm_val_print): Update. * value.h (val_print): Update.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2000-05-28PARAMS removal.Kevin Buettner1-7/+7
2000-02-02import gdb-2000-02-01 snapshotJason Molenda1-6/+6
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-44/+45
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+96
1999-04-16Initial creation of sourceware repositoryStan Shebs1-96/+0
1998-12-28hp merge changes -- too numerous to mention here; see ChangeLog andDavid Taylor1-2/+4
ChangeLog-gdbtk for details.
1995-08-02Update FSF address.Fred Fish1-1/+1
1995-03-14 * ch-valprint.c (annotate.h): Include.Stan Shebs1-0/+2
* eval.c (evaluate_subexp_standard): Remove unused variable. (calc_f77_array_dims): Add parens to expression. * f-exp.y (yylex): Add parens to expression, remove unused label. * f-lang.h (calc_f77_array_dims): Declare. * f-valprint.c (f_val_print): Remove unused variables.
1994-08-23 * gdbtypes.h: Declare f77_create_literal_string_type andJim Kingdon1-0/+2
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).
1994-08-19 Initial Fortran language support, adapted from work by Farooq ButtStan Shebs1-0/+90
(fmbutt@engage.sps.mot.com). * Makefile.in: Add Fortran-related files and dependencies. * defs.h (language_fortran): New language enum. * language.h (_LANG_fortran): Define. (MAX_FORTRAN_DIMS): Define. * expression.h: Reformat to standard. (MULTI_F77_SUBSCRIPT, OP_F77_UNDETERMINED_ARGLIST, OP_F77_LITERAL_COMPLEX, OP_F77_SUBSTR): New expression opcodes. * gdbtypes.h (TYPE_CODE_COMPLEX, TYPE_CODE_LITERAL_COMPLEX, TYPE_CODE_LITERAL_STRING): New type codes. (type): New fields upper_bound_type and lower_bound_type. (TYPE_ARRAY_UPPER_BOUND_TYPE, TYPE_ARRAY_LOWER_BOUND_TYPE, TYPE_ARRAY_UPPER_BOUND_VALUE, TYPE_ARRAY_LOWER_BOUND_VALUE): New macros. (builtin_type_f_character, etc): Declare. * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_START): Define. * f-exp.y: New file, Fortran expression grammar. * f-lang.c: New file, Fortran language support functions. * f-lang.h: New file, Fortran language support declarations. * f-typeprint.c: New file, Fortran type printing. * f-valprint.c: New file, Fortran value printing. * eval.c (evaluate_subexp): Add code for new expression opcodes, fix wording of error message. * gdbtypes.c (f77_create_literal_complex_type, f77_create_literal_string_type): New functions. * language.c (set_language_command): Add Fortran info. (calc_f77_array_dims): New function. * parse.c (length_of_subexp, prefixify_subexp): Add cases for new expression opcodes. * symfile.c (deduce_language_from_filename): Recognize .f and .F as Fortran source files. * valops.c (f77_value_literal_string, f77_value_substring, f77_value_literal_complex): New functions.