summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 2003-09-11 David Carlton <carlton@kealia.com>David Carlton2003-09-1121-80/+590
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdbtypes.h: Add TYPE_CODE_NAMESPACE. * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE. (recursive_dump_type): Ditto. * printcmd.c (print_formatted): Ditto. * typeprint.c (print_type_scalar): Ditto. * c-typeprint.c (c_type_print_varspec_prefix): Ditto. (c_type_print_varspec_suffix, c_type_print_base): Ditto. * cp-support.h: Declare cp_check_possible_namespace_symbols, maint_cplus_cmd_list. * cp-support.c: Make maint_cplus_cmd_list extern. * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h, command.h. (lookup_symbol_file): Look in possible namespace blocks when appropriate. (initialize_namespace_symtab): New. (get_possible_namespace_block, free_namespace_block) (check_possible_namespace_symbols) (check_possible_namespace_symbols_loop) (check_one_possible_namespace_symbol) (lookup_possible_namespace_symbol, maintenance_cplus_namespace) (_initialize_cp_namespace): Ditto. * block.h: Declare allocate_block. * block.c (allocate_block): New. * jv-lang.c (get_java_class_symtab): Allocate blocks via allocate_block. * symfile.h: Update declaration of add_psymbol_to_list. * symfile.c (add_psymbol_to_list): Return the partial symbol in question. * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to scan_partial_symbols_call. (scan_partial_symbols): Add NAMESPACE argument; update calls to helper functions. (add_partial_symbol): If necessary, scan mangled names for names of namespaces. (add_partial_namespace): Add NAMESPACE argument; generate partial symbols associated to namespaces. (add_partial_enumeration): Add NAMESPACE argument. (new_symbol): Allow namespace syms. (read_namespace): Generate namespace syms. * objfiles.h: Add opaque declaration of struct symtab. (struct objfile): Add cp_namespace_symtab member. * objfiles.c (allocate_objfile): Set objfile->cp_namespace_symtab. * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h, dictionary_h, command_h. 2003-09-11 David Carlton <carlton@kealia.com> * gdb.c++/namespace.exp: Add tests for namespace types. * gdb.c++/maint.exp (test_help): Test 'help maint cp namespace'. (test_namespace): New.
* 2003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-113-14/+17
| | | | | | | | | * rs6000-tdep.c (rs6000_push_dummy_call): Use regcache_raw_write_signed to set SP_REGNUM, move the operation to near the function's end. (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp". * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache_raw_write_signed to set SP_REGNUM.
* 2003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-09-112-1/+11
| | | | | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure orig_addrs is set up properly.
* 2003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-09-112-1/+2
| | | | * gdb.stabs/weird.exp: Ditto.
* 2003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-09-112-2/+6
| | | | * gdb.base/relocate.exp: Handle new gdb output at startup.
* 2003-09-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-09-112-1/+6
| | | | | * sim/testsuite/sim/frv/movgs.cgs: Change lcr to spr[273], which according to the comments seems to be the intent.
* Move myself to paper trail section.Jim Wilson2003-09-112-2/+3
|
* 2003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-1113-75/+102
| | | | | | | | | | | | | | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN. * gdbarch.h, gdbarch.c: Re-generate. * infcall.c (call_function_by_hand): Update. * hppa-tdep.c (hppa_push_arguments): Update. * ada-lang.c (place_on_stack): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to stack_align.
* * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in aDaniel Jacobowitz2003-09-112-1/+9
| | | | register do need a frame.
* 2003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-1114-464/+70
| | | | | | | | | | | | | | | | | | Since the IRIX 4 configuration was forcing K&R mode it hasn't been buildable since GDB 5.0. * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. * irix4-nat.c: Delete file. * config/mips/irix4.mh: Delete file. * config/mips/irix3.mh: Delete file. * config/mips/irix3.mt: Delete file. * config/mips/tm-irix3.h: Delete file. * config/mips/nm-irix3.h: Delete file. * config/mips/xm-irix3.h: Delete file. * config/mips/nm-irix4.h: Delete file. * config/mips/xm-irix4.h: Delete file. * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h".
* Add enum values for HP extensions to DWARF standardNick Clifton2003-09-112-7/+52
|
* 2003-09-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-09-112-3/+8
| | | | | | * mi-main.c (mi_setup_architecture_data): Don't use DEPRECATED_REGISTER_BYTES because some architecture don't set it and its default is 0.
* * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure.Joel Brobecker2003-09-113-1/+8
| | | | * Makefile.in (hppa-tdep.o): Update dependencies.
* daily updateAlan Modra2003-09-111-1/+1
|
* *** empty log message ***gdbadmin2003-09-111-1/+1
|
* * MAINTAINERS: Change my e-mail address.Jim Wilson2003-09-102-1/+5
|
* * MAINTAINERS (frv): New ISA entry.Kevin Buettner2003-09-102-0/+7
|
* 2003-09-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-09-102-2/+7
| | | | | * elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
* 2003-09-10 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-102-9/+21
| | | | | | * profile.c (slot_names): FM1 was listed twice. Changed first instance to FM0. Added IALL, FMALL and FMLOW. (print_parallel): Don't examine slots with no insns.
* * elf32-hppa.c (struct elf32_hppa_link_hash_entry,Dave Anglin2003-09-102-144/+112
| | | | | | | | | | | | | | | | | | | | hppa_link_hash_newfunc, hppa_build_one_stub, elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static, allocate_dynrelocs, elf32_hppa_size_dynamic_sections, elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code for generating import stubs for calls to statically linked PIC functions. (hppa_type_of_stub): Don't generate an import stub for calls to statically linked pic functions. Generate import stubs for calls in a shared object, to functions not in a regular file, and to defined weak functions. Add new argument INFO. (hppa_build_one_stub): Don't undef ADDIL_DP. (elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag. (elf32_hppa_size_stubs): Pass info to hppa_type_of_stub. (final_link_relocate): Change all DLTIND relocs to DPREL relocs in a non-shared link. Convert instructions that use the the linkage table pointer, or a facsimile thereof, to use the global data pointer when the reloc has been changed.
* * frv-tdep.c (dis-asm.h): Include.Kevin Buettner2003-09-103-1/+7
| | | | * Makefile.in (frv-tdep.o): Update dependencies.
* daily updateAlan Modra2003-09-101-1/+1
|
* *** empty log message ***gdbadmin2003-09-101-1/+1
|
* 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-09-092-1/+6
| | | | | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): Fix typo for high range of floating registers.
* 2003-09-09 David Carlton <carlton@kealia.com>David Carlton2003-09-092-77/+155
| | | | | | | | | | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc initialization here out of scan_partial_symbols. (scan_partial_symbols): Restructure into a recursive version, calling add_partial_namespace and add_partial_enumeration when appropriate. (add_partial_namespace): New. (add_partial_enumeration, locate_pdi_sibling): Ditto.
* Reverting until I learn how to conform..David Lecomber2003-09-092-24/+13
|
* 2003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-093-12/+13
| | | | | | | * rs6000-tdep.c (ppc_push_return_address): Delete function. (rs6000_push_dummy_call): Set LR to BP_ADDR. (rs6000_gdbarch_init): Do not set deprecated_push_return_address. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
* 2003-09-09 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-095-7/+13
| | | | | | * sim/frv/maddaccs.cgs: move to fr400 subdirectory. * sim/frv/msubaccs.cgs: move to fr400 subdirectory. * sim/frv/masaccs.cgs: move to fr400 subdirectory.
* 2003-09-09 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-092-6/+10
| | | | * frv-desc.c: Regenerated.
* 2003-09-09 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-092-3/+13
| | | | * frv.c (do_media_average): Select machine using a switch.
* 2003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-092-20/+11
| | | | | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. (rs6000_push_dummy_call): Set the "TOC" register.
* 2003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-092-3/+6
| | | | | | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated methods "max_register_raw_size", "max_register_virtual_size" or "register_virtual_size".
* * MAINTAINERS: Update my e-mail address.Ian Lance Taylor2003-09-092-1/+5
|
* 2003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-093-20/+32
| | | | | | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. (rs6000_push_dummy_call): Store the struct return address. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
* 2003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-094-8/+27
| | | | | | | | | | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace "ppc_sysv_abi_push_arguments". * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace "ppc_sysv_abi_push_arguments". * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" instead of "push_arguments". (rs6000_push_dummy_call): Replace "rs6000_push_arguments".
* This enables the print elements limits to work with multi-dim arraysDavid Lecomber2003-09-091-8/+15
| | | | in FORTRAN
* Change array element access to something similar to way C works.David Lecomber2003-09-091-5/+9
| | | | | | | The old method would drag in the entire array, then look for the single element. This method just gets the right element out instead. Saves memory, and saves a crash for array with (*) as one of the dimensions when it would previously have allocated (unsigned int) -1 bytes.
* 2003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-092-1/+6
| | | | | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS instead of CALL_DUMMY_ADDRESS.
* Correct small glitch introduced in ChangeLog by last commit.Paul N. Hilfinger2003-09-091-1/+0
|
* 2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>Paul N. Hilfinger2003-09-0911-60/+74
| | | | | | | | | | | | | * p-lang.c: Eliminate "register". * c-lang.c: Ditto. * expprint.c: Ditto. * f-lang.c: Ditto. * jv-lang.c: Ditto. * language.c: Ditto. * m2-lang.c: Ditto. * parse.c: Ditto. * scm-lang.c: Ditto. * objc-lang.c: Ditto.
* Add support for v850e1 machine number.Nick Clifton2003-09-092-0/+8
|
* 2003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-0922-47/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * avr-tdep.c: Include "dis-asm.h". * cris-tdep.c: Include "dis-asm.h". (cris_delayed_get_disassembler): Use "struct disassemble_info" instead of corresponding typedef. * h8300-tdep.c: Include "dis-asm.h". * ia64-tdep.c: Include "dis-asm.h". * i386-tdep.c: Include "dis-asm.h". (i386_print_insn): Use "struct disassemble_info" instead of corresponding typedef. * m68k-tdep.c: Include "dis-asm.h". * mcore-tdep.c: Include "dis-asm.h". * mips-tdep.c: Include "dis-asm.h". (gdb_print_insn_mips): Make static, use "struct disassemble_info" instead of corresponding typedef. * ns32k-tdep.c: Include "dis-asm.h". * s390-tdep.c: Include "dis-asm.h". * sparc-tdep.c: Include "dis-asm.h". * vax-tdep.c: Include "dis-asm.h". * v850-tdep.c: Include "dis-asm.h". * mn10300-tdep.c: Include "dis-asm.h". * rs6000-tdep.c: Include "dis-asm.h". * xstormy16-tdep.c: Include "dis-asm.h". (_initialize_xstormy16_tdep): Delete "extern" declaration of print_insn_xstormy16. * Makefile.in (v850-tdep.o): Update dependencies. (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. (gdbarch_h): Remove $(dis_asm_h). * disasm.c: Include "dis-asm.h". (dis_asm_read_memory): Use "struct disassemble_info" instead of corresponding typedef. (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. * gdbarch.sh: Do not include "dis-asm.h". (struct disassemble_info): Declare opaque. (TARGET_PRINT_INSN): Update declaration. * gdbarch.h, gdbarch.c: Re-generate.
* 2003-09-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-0915-49/+107
| | | | | | | | | | | | | | | | | | | | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename CALL_DUMMY_ADDRESS, change to a predicate. * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. * infcall.c (call_function_by_hand): Ditto. * sparc-tdep.c (sparc_push_return_address): Ditto. (sparc_gdbarch_init): Set deprecated_call_dummy_address. * xstormy16-tdep.c (xstormy16_push_return_address): Replace CALL_DUMMY_ADDRESS with entry_point_address. * v850-tdep.c (v850_push_return_address): Ditto. * s390-tdep.c (s390_push_return_address): Ditto. * rs6000-tdep.c (ppc_push_return_address): Ditto. * mn10300-tdep.c (mn10300_push_return_address): Ditto. * mcore-tdep.c (mcore_push_return_address): Ditto. * cris-tdep.c (cris_push_return_address): Ditto. * arm-tdep.c (arm_push_return_address): Ditto.
* 2003-09-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-092-35/+153
| | | | | | | | | | | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED and REG_UNMODIFIED to REG_SAME_VALUE. (execute_cfa_program): Update. (dwarf2_frame_cache): Update. Initialize table to REG_UNSPECIFIED, complain if CFI fails to specify a register's location. (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED.
* 2003-09-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-095-15/+20
| | | | | * gnu-nat.c: Remove "inline" function attribute. * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.
* *** empty log message ***gdbadmin2003-09-091-1/+1
|
* daily updateAlan Modra2003-09-091-1/+1
|
* * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-VKevin Buettner2003-09-082-2/+7
| | | | target.
* Make frv-tdep.c use new frame mechanisms.Kevin Buettner2003-09-083-186/+258
|
* * dwarf2-frame.c (read_encoded_value): Add support forMark Kettenis2003-09-082-7/+25
| | | | DW_EH_PE_aligned encoding.