summaryrefslogtreecommitdiff
path: root/gdb/c-lang.h
Commit message (Collapse)AuthorAgeFilesLines
* 2005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney2005-01-291-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney2005-01-291-1/+1
| | | | | | | | | | | | | | | | * language.h (struct language_defn): Make la_printstr's buffer parameter a const bfd_byte. * p-lang.h (pascal_printstr): Update function to match. * ada-valprint.c (ada_printstr): Update function to match. * scm-lang.c (scm_printstr): Update function to match. * p-lang.c (pascal_printstr): Update function to match. * ada-lang.h (ada_printstr): Update function to match. * m2-lang.c (m2_printstr): Update function to match. * objc-lang.c (objc_printstr): Update function to match. * c-lang.h (c_printstr): Update function to match. * f-lang.c (f_printstr): Update function to match. * c-lang.c (c_printstr): Update function to match. * language.c (unk_lang_printstr): Update function to match.
* 2005-01-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney2005-01-281-5/+7
| | | | | | * cp-valprint.c (cp_print_class_method) (cp_print_class_member): Make buffer a const bfd_byte. * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
* 2004-07-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney2004-07-281-1/+3
| | | | | | | | | | | | | | | | | | | | | * scm-lang.c (c_builtin_types): Delete extern declaration. (scm_language_defn): Replace string_char_type and primitive_type_vector with la_language_arch_info. * jv-lang.c (java_language_defn): Replace string_char_type and primitive_type_vector with la_language_arch_info. * config/i386/i386sco4.mh (NATDEPFILES): Remove reference to c_builtin_types in comment. * c-lang.h (struct language_arch_info): Declare opaque. (c_language_arch_info): Declare. (c_builtin_types): Delete declaration. * c-lang.c (c_language_arch_info): Set string_char_type to builtin_char, not builtin_true_char. Make global. (c_builtin_types): Delete array. (asm_language_defn, minimal_language_defn): Replace string_char_type and primitive_type_vector with la_language_arch_info.
* 2003-04-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-121-0/+2
| | | | | | | | | | | | | | | | | | | * gdbarch.sh: Add missing opaque declarations. * gdbarch.h: Regnerate. * symtab.h: Add missing opaque declarations. * value.h, target.h, symfile.h, stabsread.h: Ditto. * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. * cli/cli-setshow.h, cli/cli-script.h: Ditto.
* * c-lang.h (c_type_print_varspec_prefix): Delete.Kevin Buettner2002-10-141-3/+0
| | | | | * c-typeprint.c (c_type_print_varspec_prefix): Make static. Add ``need_post_space'' parameter. Adjust all callers.
* Expand preprocessor macros in C expressions.Jim Blandy2002-05-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion): New function declarations. (expression_macro_lookup_func, expression_macro_lookup_baton): New variable declarations. * parser-defs.h (expression_context_pc): New declaration. * parse.c (expression_context_pc): New variable. (parse_exp_1): Set expression_context_pc, as well as expression_context_block. * c-exp.y (yylex): If we're not already reading the result of a macro expansion, try to macro-expand the next token. When we're done scanning a macro expansion, switch back to the mainline text. Commas and `if's in a macro's expansion don't terminate the input. * c-lang.c: #include "macroscope.h" and "gdb_assert.h". (macro_original_text, macro_expanded_text, expression_macro_lookup_func, expression_macro_lookup_baton): New variables. (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, c_preprocess_and_parse): New functions. (c_language_defn, cplus_language_defn, asm_language_defn): Call c_preprocess_and_parse, instead of c_parse. * Makefile.in (c_lang_h): Note that this #includes macroexp.h. (c-lang.o): Note dependency on macroscope.h and gdb_assert.h.
* 2002-02-13 Michael Chastain <mec@shout.net>Michael Chastain2002-02-131-2/+2
| | | | | | | | | | | | * defs.h: Kill CONST_PTR. * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". * c-lang.c (c_builtin_types): Likewise. * ch-lang.c (ch_builtin_types): Likewise. * f-lang.c (f_builtin_types): Likewise. * language.c (unknown_builtin_types): Likewise. * m2-lang.c (m2_builtin_types): Likewise. * p-lang.c (pascal_builtin_types): Likewise. * scm-lang.c (c_builtin_types): Likewise.
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+2
|
* PARAMS removal.gdb-post-params-removal-2000-05-28Kevin Buettner2000-05-281-9/+5
|
* import gdb-2000-02-01 snapshotJason Molenda2000-02-021-24/+23
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-18/+19
|
* Initial revisionStan Shebs1999-04-161-0/+87