aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-09-13Really check in regenerated files.Mark Kettenis2-49/+49
2003-09-13* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSEChristopher Faylor4-31/+21
registers since gdb will not operate correctly without this. Restore include file ordering munged in previous change. * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define.
2003-09-13* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed fromMark Kettenis6-13/+24
REG_STRUCT_HAS_ADDR. * gdbarch.c, gdbarch.h: Updated. * infcall.c (call_function_by_hand): Update. * stabsread.c (define_symbol): Updated.
2003-09-13* Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove.Mark Kettenis2-2/+4
2003-09-13* win32-nat.c: Reorganize so that defines used by target headers are actuallyChristopher Faylor4-15/+22
defined by the system headers. * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.
2003-09-13* dbxread.c (read_dbx_symtab): Don't report an internal error ifJim Blandy2-1/+10
the file has no .data, .bss, or .rodata sections. Instead wait until we see a variable alleged to live in one of those sections.
2003-09-13* dbxread.c (read_dbx_symtab): If we have no .data section and noJim Blandy2-0/+6
.bss section, presume that any variables we find live in the .rodata section.
2003-09-13daily updateAlan Modra1-1/+1
2003-09-13*** empty log message ***gdbadmin1-1/+1
2003-09-12* dbxread.c (read_dbx_symtab): Add FIXME about finding sectionJim Blandy2-1/+23
offsets for global and static variables.
2003-09-12* dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXTJim Blandy2-2/+10
symbol types are, by definition, in the .data section, so it is correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. If there is no .data section, there should be no N_DATA or N_DATA | N_EXT symbols.
2003-09-12Correct last entry.Dave Brolley1-2/+1
2003-09-122003-09-12 Dave Brolley <brolley@redhat.com>Dave Brolley11-77/+302
* registers.c (frv_check_spr_read_access): Check for access to ACC4-ACC63 and ACCG4-ACCG63. * profile.h (frv-desc.h): #include it. (spr_busy): New member of FRV_PROFILE_STATE. (spr_latency): Ditto. (GNER_FOR_GR): New macro. (FNER_FOR_FR): New maccro. (update_SPR_latency): New function. (vliw_wait_for_SPR): New function. * profile.c (profile-fr550.h): #include it. (update_latencies): Update SPR latencies. (update_target_latencies): Ditto. (update_SPR_latency): New function. (vliw_wait_for_SPR): New function. * profile-fr500.c (frvbf_model_fr500_u_idiv): Record GNER latency. (frvbf_model_fr500_u_trap): Removed unused variable, ps. (frvbf_model_fr500_u_check): Ditto. (frvbf_model_fr500_u_clrgr): New unit modeller for fr500. (frvbf_model_fr500_u_clrfr): Ditto. (frvbf_model_fr500_u_spr2gr): Wait for SPR. (frvbf_model_fr500_u_gr2spr): Ditto. * frv-sim.h (H_SPR_ACC4): New macro. (H_SPR_ACCG4): New macro; (H_SPR_ACC0): Removed. (H_SPR_ACCG0): Removed. * arch.h,model.c,sem[ch],decode.[ch]: Regenerated.
2003-09-122003-09-12 Dave Brolley <brolley@redhat.com>Dave Brolley2-10/+45
* frv.cpu (u-clrgr, u-clrfr): New units of model fr500. (clear-ne-flag-r): Pass insn profiling in as an argument. Call frv_ref_SI to get input register referenced for profiling. (clear-ne-flag-all): Pass insn profiling in as an argument. (clrgr,clrfr,clrga,clrfa): Add profiling information.
2003-09-12* amd64fbsd-tdep.c: Fix sigtramp recognition.Mark Kettenis2-26/+35
(amd64fbsd_sigcontext_addr): Rewrite. (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize with correct values. (amd64fbsd_sc_reg_offset): Initialize with correct values. (amd64fbsd_init_abi): Fix typo.
2003-09-122003-09-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-254/+241
* ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop.
2003-09-122003-09-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney28-66/+118
* objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and "entry_file_highpc". Update comments. * defs.h (deprecated_inside_entry_file): Rename "inside_entry_file". * blockframe.c (deprecated_inside_entry_file): Rename "inside_entry_file". * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0. * vax-tdep.c (vax_frame_chain): Update. * sh64-tdep.c (sh64_frame_chain): Update. * sh-tdep.c (sh_frame_chain): Update. * rs6000-tdep.c (rs6000_frame_chain): Update. * ns32k-tdep.c (ns32k_frame_chain): Update. * mips-tdep.c (mips_frame_chain): Update. * m68hc11-tdep.c (m68hc11_frame_this_id): Update. * m32r-tdep.c (m32r_frame_this_id): Update. * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update. * frv-tdep.c (frv_frame_this_id): Update. * d10v-tdep.c (d10v_frame_this_id): Update. * cris-tdep.c (cris_frame_chain): Update. * blockframe.c (legacy_frame_chain_valid): Update. * avr-tdep.c (avr_frame_this_id): Update. * arm-tdep.c (arm_prologue_this_id): Update. * alpha-tdep.c (alpha_heuristic_frame_this_id): Update. * objfiles.c (objfile_relocate): Update. * mipsread.c (mipscoff_symfile_read): Update. (mipscoff_symfile_read): Update. * mdebugread.c (parse_partial_symbols): Update. * dwarfread.c (read_file_scope): Update. * dwarf2read.c (read_file_scope): Update. * dbxread.c (read_dbx_symtab): Update. (read_dbx_symtab): Update. * coffread.c (complete_symtab): Update.
2003-09-122003-09-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-14/+40
* top.c (quit_target): New static helper function. (quit_force): Moved code to quit_target(). Call quit_target() via catch_errors() to catch errors during quit.
2003-09-12*** empty log message ***gdbadmin1-1/+1
2003-09-12daily updateAlan Modra1-1/+1
2003-09-12 * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,Bob Wilson3-243/+223
literal_syms): New global variables. (xtensa_define_label, add_target_symbol, xtensa_find_label, map_over_defined_symbols, is_loop_target_label, xtensa_mark_target_fragments, xtensa_move_frag_symbol, xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete. (xtensa_begin_directive): Call md_flush_pending_output. Move symbols from insn_labels to saved_insn_labels when entering a literal region. (xtensa_end_directive): Call md_flush_pending_output. Restore insn_labels list when leaving a literal region. (xtensa_literal_position): Call xtensa_clear_insn_labels. (xtensa_literal_pseudo): Add check to disallow .literal inside a literal region. Move insn_labels to saved_insn_labels and then restore insn_labels on exit. (xg_add_branch_and_loop_targets): Replace add_target_symbol calls with code to set is_loop_target or is_branch_target flag on the symbol (xtensa_create_literal_symbol): Call xtensa_add_literal_sym. (xtensa_add_literal_sym, xtensa_add_insn_label, xtensa_clear_insn_labels): New functions. (xtensa_move_labels): Remove old_frag and old_offset arguments. Add loops_ok argument. Rewrite to use insn_labels list instead of calling xtensa_find_label and to check the is_loop_target flag on symbols when loops_ok is false. (xtensa_frob_label): Remove call to xtensa_define_label. Add call to either xtensa_add_literal_sym or xtensa_add_insn_label. Adjust call to xtensa_move_labels. Propagate is_branch_target and is_loop_target flags from symbols to frags. (xtensa_flush_pending_output): Call xtensa_clear_insn_labels. (md_assemble): Use xtensa_move_labels with loops_ok = FALSE when aligning a loop instruction. Adjust call to xtensa_move_labels for aligning entry instructions. Add call to xtensa_clear_insn_labels. (xtensa_end): Remove call to xtensa_mark_target_fragments. (xtensa_move_literals): Replace xtensa_move_frag_symbols call with code to use new literal_syms list. * config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and is_branch_target flags.
2003-09-112003-09-11 David Carlton <carlton@kealia.com>David Carlton3-5/+10
* buildsym.c (finish_block): Use allocate_block to allocate the block. * mdebugread.c (new_block): Add FIXME.
2003-09-112003-09-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+6
* frv.cpu: Typographical corrections.
2003-09-112003-09-11 David Carlton <carlton@kealia.com>David Carlton21-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-112003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-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-112003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+11
* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure orig_addrs is set up properly.
2003-09-112003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+2
* gdb.stabs/weird.exp: Ditto.
2003-09-112003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+6
* gdb.base/relocate.exp: Handle new gdb output at startup.
2003-09-112003-09-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* sim/testsuite/sim/frv/movgs.cgs: Change lcr to spr[273], which according to the comments seems to be the intent.
2003-09-11Move myself to paper trail section.Jim Wilson2-2/+3
2003-09-112003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney13-74/+101
* 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.
2003-09-11 * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in aDaniel Jacobowitz2-1/+9
register do need a frame.
2003-09-112003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney14-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".
2003-09-11Add enum values for HP extensions to DWARF standardNick Clifton2-7/+52
2003-09-112003-09-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-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.
2003-09-11 * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure.Joel Brobecker3-1/+8
* Makefile.in (hppa-tdep.o): Update dependencies.
2003-09-11daily updateAlan Modra1-1/+1
2003-09-11*** empty log message ***gdbadmin1-1/+1
2003-09-10* MAINTAINERS: Change my e-mail address.Jim Wilson2-1/+5
2003-09-10 * ld-elf/merge2.s: New.Alan Modra3-0/+78
* ld-elf/merge2.d: New.
2003-09-10* MAINTAINERS: Update my e-mail address.Jim Wilson2-2/+6
2003-09-10 * MAINTAINERS (frv): New ISA entry.Kevin Buettner2-0/+7
2003-09-102003-09-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
2003-09-102003-09-10 Dave Brolley <brolley@redhat.com>Dave Brolley2-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.
2003-09-10 * elf32-hppa.c (struct elf32_hppa_link_hash_entry,Dave Anglin2-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.
2003-09-10 * frv-tdep.c (dis-asm.h): Include.Kevin Buettner3-1/+7
* Makefile.in (frv-tdep.o): Update dependencies.
2003-09-10 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): RemoveBob Wilson2-50/+45
"move_labels" argument and corresponding call to xtensa_move_labels. (md_assemble): Add a separate call to xtensa_move_labels and remove argument for call to xtensa_mark_literal_pool_location. (xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix calls to xtensa_mark_literal_pool_location. (xtensa_create_local_symbol): Delete and inline the code into... (xtensa_create_literal_symbol): ...here. (xtensa_frob_label): Combine conditionals. (expression_maybe_register, xtensa_symbol_new_hook, fix_new_exp_in_seg): Use symbol_get_tc.
2003-09-10daily updateAlan Modra1-1/+1
2003-09-10*** empty log message ***gdbadmin1-1/+1
2003-09-09 * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code forBob Wilson2-196/+9
combining identical literals. (expression_maybe_register): Remove call to find_lit_sym_translation. (is_duplicate_expression, cache_literal, is_duplicate_literal, add_lit_sym_translation, find_lit_sym_translation): Delete.