aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.h
AgeCommit message (Collapse)AuthorFilesLines
2003-04-122003-04-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+1
* 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.
2003-03-182003-03-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-1/+1
* printcmd.c (print_scalar_formatted): Change VALADDR parameter to a void pointer. * gdbtypes.h (print_scalar_formatted): Update declaration. * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
2003-02-07Move ``length'' from struct main_type to struct type.Kevin Buettner1-30/+31
2003-02-042003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton1-4/+0
* gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+. (Variables): Recommend stabs+ and DWARF 2. (C plus plus expressions): Correct info about compiler versions, debug formats. (Contributors): Change 'DWARF2' to 'DWARF 2'. PR symtab/874. 2003-02-04 David Carlton <carlton@math.stanford.edu> * gdb.c++/overload.exp: Test intToChar(1). * gdb.c++/overload.cc (intToChar): New. (main): Call intToChar.
2003-01-192003-01-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-2/+1
* cris-tdep.c: Fix function declaration indentation. * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. * xcoffread.c, config/pa/tm-hppa.h: Ditto. * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2003-01-142003-01-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-2/+4
* ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. * elfread.c, eval.c, expprint.c, expression.h: Update copyright. * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. * language.c, language.h, m32r-tdep.c: Update copyright. * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. Index: mi/ChangeLog 2003-01-13 Andrew Cagney <ac131313@redhat.com> * mi-cmd-env.c: Update copyright.
2003-01-022003-01-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-15/+5
* valarith.c (value_binop): Delete obsolete code and comments. * configure.host: Ditto. * buildsym.h (make_blockvector): Ditto. * buildsym.c (make_blockvector): Ditto. * defs.h (enum language): Ditto. (chill_demangle): Ditto. * elfread.c (elf_symtab_read): Ditto. * dwarfread.c (CHILL_PRODUCER): Ditto. (set_cu_language): Ditto. (handle_producer): Ditto. * expprint.c (print_subexp): Ditto. * gdbtypes.c (chill_varying_type): Ditto. * gdbtypes.h (builtin_type_chill_bool): Ditto. (builtin_type_chill_char, builtin_type_chill_long): Ditto. (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. (chill_varying_type): Ditto. * language.h (_LANG_chill): Ditto. * language.c (binop_result_type, integral_type): Ditto. (character_type, string_type, structured_type): Ditto. (lang_bool_type, binop_type_check): Ditto. * stabsread.h (os9k_stabs): Ditto. * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. (define_symbol, read_type, read_struct_fields): Ditto. (read_array_type, read_enum_type, read_huge_number): Ditto. (read_range_type, start_stabs): Ditto. * symfile.c (init_filename_language_table): Ditto. (add_psymbol_with_dem_name_to_list): Ditto. * symtab.c (symbol_init_language_specific): Ditto. (symbol_init_demangled_name, symbol_demangled_name): Ditto. * symtab.h (struct general_symbol_info): Ditto. (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. * typeprint.c (typedef_print): Ditto. * utils.c (fprintf_symbol_filtered): Ditto. * valops.c (value_cast, search_struct_field, value_slice): Delete obsolete code. (varying_to_slice): Delete function. * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. (varying_to_slice): Delete declaration. * MAINTAINERS: Update.
2002-12-11 * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME)Kevin Buettner1-1/+1
(ADDRESS_CLASS_NAME_TO_TYPE_FLAGS): Use ``const char *'' instead of ``char *'' for return and parameter types. * gdbarch.h, gdbarch.c: Regenerate. * gdbtypes.h, gdbtypes.c (address_space_int_to_name): Change return type from ``char *'' to ``const char *''. * c-typeprint.c (c_type_print_modifier): Make ``address_space_id'' const.
2002-11-11 * gdbtypes.h (struct main_type): Move artificial flag out ofDaniel Jacobowitz1-15/+20
loc. New member of ``struct field'' named static_kind. Reduce overloaded meaning of bitsize. (FIELD_ARTIFICIAL, SET_FIELD_PHYSNAME, SET_FIELD_PHYSADDR) (TYPE_FIELD_STATIC, TYPE_FIELD_STATIC_HAS_ADDR): Likewise. (FIELD_STATIC_KIND, TYPE_FIELD_STATIC_KIND): New macros. * ada-lang.c (fill_in_ada_prototype): Initialize static_kind for new fields. (template_to_fixed_record_type, template_to_static_fixed_type) (to_record_with_fixed_variant_part): Likewise. * coffread.c (coff_read_struct_type, coff_read_enum_type): Likewise. * dwarf2read.c (dwarf2_add_field, read_enumeration): Likewise. * dwarfread.c (struct_type, enum_type): Likewise. * hpread.c (hpread_read_enum_type) (hpread_read_function_type, hpread_read_doc_function_type) (hpread_read_struct_type): Likewise. * mdebugread.c (parse_symbol): Likewise.
2002-10-16Address class support.Kevin Buettner1-0/+16
2002-09-14 * gdbtypes.c (check_stub_method): Make static.Daniel Jacobowitz1-1/+1
(check_stub_method_group): New function. * gdbtypes.h: Update prototypes. * cp-support.c: New file. * cp-support.h: New file. * stabsread.c: Include "cp-abi.h" and "cp-support.h". (update_method_name_from_physname): New function. (read_member_functions): Correct method names for operators and v3 constructors/destructors. Separate v2 constructors and destructors. * Makefile.in (stabsread.o): Update dependencies. (SFILES): Add cp-support.c. (COMMON_OBS): Add cp-support.o. (cp_support_h, cp-support.o): Add. * cp-valprint.c (cp_print_class_method): Call check_stub_method_group instead of check_stub_method. Remove extraneous QUITs. * p-valprint.c (pascal_object_print_class_method): Likewise. * valops.c (search_struct_method): Likewise. (find_method_list, value_struct_elt_for_reference): Likewise.
2002-08-102002-08-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+4
Elena Zannoni <ezannoni@redhat.com> Martin M. Hunt <hunt@redhat.com> * gdbtypes.c (build_builtin_type_vec128): Set the vector bit. (build_builtin_type_vec128i): Set the vector bit. * gdbtypes.h (builtin_type_vec64, builtin_type_vec64i): Declare. * gdbtypes.c (builtin_type_vec64, builtin_type_vec64i): Define. (build_builtin_type_vec64): New function. (build_builtin_type_vec64i): New function. (build_gdbtypes): Initialize builtin_type_vec64 and builtin_type_vec64i.
2002-08-012002-08-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-12/+13
* NEWS: Menion that CHILL has been made obsolete. * gdbtypes.c (chill_varying_type): Make chill references obsolete. * gdbserver/Makefile.in: Ditto. * stabsread.c (read_range_type): Ditto. * gdbtypes.h: Ditto. * language.c (binop_type_check): Ditto. (binop_result_type): Ditto. (integral_type): Ditto. (character_type): Ditto. (string_type): Ditto. (boolean_type): Ditto. (structured_type): Ditto. (lang_bool_type): Ditto. (binop_type_check): Ditto. * language.h (_LANG_chill): Ditto. * dwarfread.c (set_cu_language): Ditto. * dwarfread.c (CHILL_PRODUCER): Ditto. * dwarfread.c (handle_producer): Ditto. * expression.h (enum exp_opcode): Ditto. * eval.c: Ditto for comments. * typeprint.c (typedef_print) [_LANG_chill]: Ditto. * expprint.c (print_subexp): Ditto. (print_subexp): Ditto. * valops.c (value_cast): Ditto. (search_struct_field): Ditto. * value.h (COERCE_VARYING_ARRAY): Ditto. * symfile.c (init_filename_language_table): Ditto. (add_psymbol_with_dem_name_to_list): Ditto. * valarith.c (value_binop): Ditto. (value_neg): Ditto. * valops.c (value_slice): Ditto. * symtab.h (union language_specific): Ditto. (SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto. (SYMBOL_DEMANGLED_NAME): Ditto. (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. * defs.h (enum language): Ditto. * symtab.c (got_symtab): Ditto. * utils.c (fprintf_symbol_filtered): Ditto. * ch-typeprint.c: Make file obsolete. * ch-valprint.c: Make file obsolete. * ch-lang.h: Make file obsolete. * ch-exp.c: Make file obsolete. * ch-lang.c: Make file obsolete. * Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or CHILL_LIB. (TARGET_FLAGS_TO_PASS): Ditto. (CHILLFLAGS): Obsolete. (CHILL): Obsolete. (CHILL_FOR_TARGET): Obsolete. (CHILL_LIB): Obsolete. (SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and ch-valprint.c. (HFILES_NO_SRCDIR): Remove ch-lang.h. (COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and ch-lang.o. (ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete targets. 2002-08-01 Andrew Cagney <cagney@redhat.com> * stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references to CHILL. 2002-08-01 Andrew Cagney <cagney@redhat.com> * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL, CHILL_FOR_TARGET and CHILL_LIB. * configure.in (configdirs): Remove gdb.chill. * configure: Regenerate. * lib/gdb.exp: Obsolete references to chill. * gdb.fortran/types.exp: Ditto. * gdb.fortran/exprs.exp: Ditto.
2002-06-142002-06-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-20/+11
* gdbtypes.h (TYPE_FLAG_VARARGS): Update comment. (struct main_type): Remove arg_types member. Update comments for struct field. (TYPE_ARG_TYPES): Remove. (TYPE_FN_FIELD_ARGS): Update. (smash_to_method_type): Update prototype. * c-typeprint.c (cp_type_print_method_args): Take method type instead of argument list. Use new argument layout. Simplify. (c_type_print_args): Use new argument layout. Simplify. (c_type_print_base): Update call to cp_type_print_method_args. * dwarf2read.c (dwarf2_add_member_fn): Remove unneeded type argument; use die->type instead. Update call to smash_to_method_type. (read_structure_scope): Update call to dwarf2_add_member_fn. * gdbtypes.c (allocate_stub_method): Update comment. (smash_to_method_type): Take new NARGS and VARARGS arguments. Use new argument layout. (check_stub_method): Use new argument layout. Don't count void as an argument. (print_arg_types): Update comments. Use new argument layout. (recursive_dump_type): Don't print arg_types member. * hpread.c (hpread_read_struct_type): Use new argument layout. (fixup_class_method_type): Likewise. (hpread_type_lookup): Likewise. * stabsread.c (read_type): Update calls to read_args and smash_to_method_type. (read_args): Use new argument layout. Simplify. * valops.c (typecmp): Use new argument layout. Update parameters and comments. Simplify. (hand_function_call): Use new argument layout. (search_struct_method): Update call to typecmp. (find_overload_match): Use new argument layout.
2002-05-272002-05-27 Martin M. Hunt <hunt@redhat.com>Martin Hunt1-0/+1
* i386-tdep.c (i386_register_virtual_type): Return builtin_type_vec128i for SSE registers. * gdbtypes.h (builtin_type_vec128i): Declare. * gdbtypes.c (build_builtin_type_vec128i): New function. (builtin_type_v2_double, builtin_type_v4_int64): New types. (builtin_type_vec128i): New type for SSE2 128-bit registers. (build_gdbtypes): Initialize new builtin vector types. (_initialize_gdbtypes): Register new vector types with gdbarch.
2002-05-162002-05-16 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-7/+0
* gdbtypes.h (struct cplus_struct_type): Remove args field. * hpread.c (hpread_read_struct_type): Remove assignments to args. (fixup_class_method_type): Likewise.
2002-05-142002-05-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-229/+232
* gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use TYPE_INSTANCE_FLAGS. (struct main_type): New. (struct type): Move most members to struct main_type. Change cv_type and as_type to new type_chain member. Add instance_flags. (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. (finish_cv_type): Remove prototype. * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. Set TYPE_CHAIN. (alloc_type_instance): New function. (smash_type): New function. (make_pointer_type, make_reference_type, make_function_type) (smash_to_member_type, smash_to_method_type): Call smash_type. (make_qualified_type): New function. (make_type_with_address_space): Call make_qualified_type. (make_cv_type): Likewise. (finish_cv_type): Remove unnecessary function. (replace_type): Update comment. Copy TYPE_MAIN_TYPE. (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; remove TYPE_CV_TYPE and TYPE_AS_TYPE. * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. * hpread.c (hpread_read_struct_type): Likewise. * stabsread.c (read_struct_type): Likewise. 2002-05-14 Daniel Jacobowitz <drow@mvista.com> * gdb.base/maint.exp (maint print type): Update for new type structure.
2002-05-132002-05-13 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-13/+13
* ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) (gen_address_of, gen_struct_ref, gen_repeat): Use type access macros. * c-typeprint.c (cp_type_print_method_args): Likewise. (c_type_print_args): Likewise. * d10v-tdep.c (d10v_push_arguments): Likewise. (d10v_extract_return_value): Likewise. * expprint.c (print_subexp): Likewise. * gdbtypes.c (lookup_primitive_typename): Likewise. (lookup_template_type, add_mangled_type, print_arg_types): Likewise. * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) (TYPE_VECTOR): Likewise. * hpread.c (hpread_read_struct_type) (fix_static_member_physnames, fixup_class_method_type) (hpread_type_lookup): Likewise. * mdebugread.c (parse_symbol, parse_type): Likewise. * p-lang.c (is_pascal_string_type): Likewise. * valops.c (hand_function_call): Likewise. * x86-64-tdep.c (classify_argument): Likewise. * hpread.c (hpread_read_function_type) (hpread_read_doc_function_type): Call replace_type. * dstread.c (create_new_type): Delete. (decode_dst_structure, process_dst_function): Call alloc_type. Use type access macros.
2002-04-262002-04-24 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+7
* gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. * gdbtypes.c (recursive_dump_type): Output the vector flag. * dwarf2read.c (dwarf_attr_name): Handle new attribute for vectors. (read_array_type): Record the fact that this array type is really a vector (i.e. are passed in by value).
2002-03-23* gdbtypes.c (append_composite_type_field): New function.Andrew Cagney1-0/+10
(init_composite_type): New function. * gdbtypes.h (append_composite_type_field): Declare. (init_composite_type): Ditto.
2002-02-032002-02-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+2
PR gdb/280 * gdbtypes.c (replace_type): New function. * gdbtypes.h (replace_type): Add prototype. * stabsread.c (read_type): Use replace_type.
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
* buildsym.c: Update copyright years. * c-typeprint.c: Likewise. * dwarf2read.c: Likewise. * f-typeprint.c: Likewise. * gdbtypes.c: Likewise. * gdbtypes.h: Likewise. * hp-symtab-read.c: Likewise. * hpread.c: Likewise. * mdebugread.c: Likewise. * p-typeprint.c: Likewise.
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+3
* gdbtypes.h (struct cplus_struct_type): Add is_artificial to member function fields. Add accessor macro TYPE_FN_FIELD_ARTIFICIAL. * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. * c-typeprint.c (c_type_print_base): Skip artificial member functions.
2002-01-202002-01-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-5/+7
* gdbtypes.h (struct type): Fix whitespace. Remove obsolete comment. Add ``artificial'' to ``union field_location''. * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. * mdebugread.c (parse_symbol): Likewise. * stabsread.c (define_symbol): Likewise. * hp-symtab-read.c (hpread_function_type): Likewise, instead of initializing TYPE_FIELD_BITPOS to n (obsolete). (hpread_doc_function_type): Likewise. * hpread.c (hpread_function_type): Likewise.
2002-01-152002-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+5
[Based on work by Jim Blandy] * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. (builtin_type_vec128): Export. * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD types. (builtin_type_vec128): New builtin type for 128 bit vector registers. (build_gdbtypes): Initialize builtin_type_v16qi and builtin_type_v8hi. Create the vec128 register builtin type structure. (build_builtin_type_vec128): New function. (_initialize_gdbtypes): Register builtin_type_v16qi and builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. * rs6000-tdep.c (rs6000_register_virtual_type): Change type of AltiVec register to new builtin type.
2001-12-10Approved by Jim Blandy:Fred Fish1-16/+24
2001-12-09 Fred Fish <fnf@redhat.com> * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_CONST, TYPE_VOLATILE, TYPE_INCOMPLETE): Move macros that test the bits to location in file where the bits are defined. (TYPE_STUB, TYPE_TARGET_STUB, TYPE_STATIC, TYPE_PROTOTYPED, TYPE_CODE_SPACE, TYPE_DATA_SPACE): New test macros.
2001-12-09Approved by Jim Blandy:Fred Fish1-0/+6
2001-12-08 Fred Fish <fnf@redhat.com> * dwarf2read.c (TYPE_FLAG_VARARGS): Remove from here. * gdbtypes.h (TYPE_FLAG_VARARGS): Add here and change value to not collide with other flag bits.
2001-12-07 * gdbtypes.c (finish_cv_type): New function.Daniel Jacobowitz1-0/+2
(check_typedef): Remove ``register'' keyword from argument. Preserve const and volatile attributes across filling in opaque types. * gdbtypes.h (finish_cv_type): Add prototype. * hp-symtab-read.c (hpread_read_struct_type): Call finish_cv_type. * stabsread.c (read_struct_type): Likewise. * dwarf2read.c (read_structure_scope): Likewise. Remove redundant assignment to die->type.
2001-11-152001-11-14 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+36
Add address space identifiers to expression language for types. * c-exp.y (space_identifier, cv_with_space_id, const_or_volatile_or_space_identifier_noopt, const_or_volatile_or_space_identifier): New terminals. (ptype): Accept const_or_volatile_or_space_identifier. (typebase): Accept const_or_volatile_or_space_identifier. * c-typeprint.c (c_type_print_cv_qualifier): Rename to c_type_print_modifier. Handle address space modified types. * gdbtypes.h (TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE): New type flags. (struct type): Add new field as_type for addr-space qualified types. (TYPE_AS_TYPE): New macro, retrieves the chain of types that are identical to this one except for address-space qualification. * gdbtypes.c (alloc_type): Initialize new field 'as_type'. (address_space_name_to_int): New function. (address_space_int_to_name): New function. (make_type_with_address_space): New function. (make_cv_type): Handle as_type field of new struct type object. * parse.c (check_type_stack_depth): New function. (push_type_address_space): New function. (follow_types): Handle types with address-space qualifier. * parser-defs.h (enum type_pieces): Add enum tp_space_identifier.
2001-11-132001-11-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+2
From Andrew Cagney <cagney@redhat.com>: * gdbtypes.h (builtin_type_int128, builtin_type_uint128): Declare. * gdbtypes.c (_initialize_gdbtypes, build_gdbtypes): Initialize new builtin types.
2001-09-08* gdbtypes.h (struct block): Add forward declaration.Mark Kettenis1-0/+3
2001-09-05* gdbtypes.h (struct type): Doc fix.Jim Blandy1-15/+23
2001-08-24* gdbtypes.h (builtin_type_ieee_single_big)Andrew Cagney1-0/+18
(builtin_type_ieee_single_little, builtin_type_ieee_double_big) (builtin_type_ieee_double_little) (builtin_type_ieee_double_littlebyte_bigword) (builtin_type_i387_ext, builtin_type_m68881_ext) (builtin_type_i960_ext, builtin_type_m88110_ext) (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big) (builtin_type_arm_ext_littlebyte_bigword) (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) (builtin_type_ia64_quad_big) (builtin_type_ia64_quad_little): Declare. * gdbtypes.c (builtin_type_ieee_single_big) (builtin_type_ieee_single_little, builtin_type_ieee_double_big) (builtin_type_ieee_double_little) (builtin_type_ieee_double_littlebyte_bigword) (builtin_type_i387_ext, builtin_type_m68881_ext) (builtin_type_i960_ext, builtin_type_m88110_ext) (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big) (builtin_type_arm_ext_littlebyte_bigword) (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) (builtin_type_ia64_quad_big) (builtin_type_ia64_quad_little): Define. (_initialize_gdbtypes): Initialize builtin floatformat types.
2001-08-23Add TYPE_FLOATFORMAT().Andrew Cagney1-0/+6
2001-08-21* gdbtypes.h (struct type): Clarify meaning of field ``length''.Andrew Cagney1-6/+10
2001-07-08* gdbtypes.h (builtin_type_void_data_ptr): RenameAndrew Cagney1-3/+4
builtin_type_ptr. * gdbtypes.c (builtin_type_void_data_ptr): Update. (build_gdbtypes): Update. (_initialize_gdbtypes): Update. * values.c (value_as_pointer): Update. * utils.c (host_pointer_to_address): Update. (address_to_host_pointer): Update.
2001-07-06* gdbtypes.h (builtin_type_void_func_ptr): New builtin type.Jim Blandy1-0/+10
* gdbtypes.c (builtin_type_void_func_ptr): Define the variable. (build_gdbtypes): Initialize it. (_initialize_gdbtypes): Swap it.
2001-03-27* arch-utils.c (#include "gdbthread.h"): Removed.J.T. Conklin1-4/+0
(#include "symfile.h"): Removed. (XMALLOC): Removed unused macro. * breakpoint.c (tbreak_command): Removed local declaration. (awatch_command, do_enable_breakpoint, set_breakpoint_count): Remove duplicate declarations. (bpstat_should_step, bpstat_have_active_hw_watchpoints) (remove_solib_event_breakpoints): Fix indentation botch. * c-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. * ch-exp.c (ch_terminal_match_float_literal, parse_expr) (parse_primval, parse_untyped_expr, parse_opt_untyped_expr): Removed duplicate declarations. * ch-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. * corefile.c (#include "frame.h"): Removed (#include "symfile.h"): Removed. (#include "language.h"): Removed. * dbxread.c (#include "command.h"): Removed. * environ.c (#include "gdbcore.h"): Removed. * event-loop.c (#include "top.h"): Removed. * f-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. (#include "language.h"): Removed. (#include "typeprint.h"): Removed. (#include "frame.h"): Removed. * gdbtypes.h (print_type_scalar): Removed declaration. * infcmd.c (#include "completer.h"): Removed. * language.c (#include "frame.h"): Removed. * m2-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. (#include "language.h"): Removed. * m2-valprint.c (#include "valprint.h"): Removed. * p-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. * p-valprint.c (#include "typeprint.h"): Removed. * parse.c (#include "linespec.h"): Removed. * regcache.c (#include "frame.h"): Removed. * remote.c (#include "frame.h"): Removed. (getpkt_sane): Make static. * source.c (#include "completer.h"): Removed. * stack.c (#include "symfile.h"): Removed. (#include "objfiles.h"): Removed. * symfile.c (#include "completer.h"): Removed. * tracepoint.c (#include "completer.h"): Removed. * values.c (#include "frame.h"): Removed. * varobj.c (#include "valprint.h"): Removed. * wrapper.c (#include "frame.h"): Removed. * memattr.c (create_mem_region): Removed unused variable. * remote-nrom.c: Removed spurious semicolon after init_nrom_ops. -------------------------------------------------------------------
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2001-03-01* gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.J.T. Conklin1-6/+5
(MAX_OF_TYPE): Wrap macro definition in parenthesis. (MIN_OF_TYPE): Likewise. * memattr.h (mem_access_mode): Removed extraneous trailing comma.
2000-09-02Corrected typo in comment: ofa -> of aDavid Anderson1-1/+1
2000-05-28PARAMS removal.Kevin Buettner1-93/+57
2000-03-13From Daniel Berlin:Andrew Cagney1-1/+3
Fix C++ overloading, add support for seeing through references.
2000-03-13Revert: ``Fix C++ overload support, see through references''.Andrew Cagney1-14/+13
Change also contained numerous white-space changes.
2000-03-10Fix C++ overload support, see through referencesDaniel Berlin1-13/+14
2000-02-02import gdb-2000-02-01 snapshotJason Molenda1-5/+4
1999-12-14import gdb-1999-12-13 snapshotJason Molenda1-1/+12
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-0/+6
1999-10-19import gdb-1999-10-18 snapshotJason Molenda1-0/+1
1999-07-19import gdb-1999-07-19 snapshotJason Molenda1-0/+2