aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-06-29bfd/Alan Modra8-77/+59
* elf64-mmix.c (mmix_set_relaxable_size): Save original size in rawsize. (mmix_elf_perform_relocation): Adjust for above change. (mmix_elf_relocate_section): Likewise. (mmix_elf_relax_section): Likewise. Use output_section->rawsize. (mmix_elf_get_section_contents): Delete. (bfd_elf64_get_section_contents): Delete. (mmix_elf_relocate_section): Zero stub area. * linker.c (default_indirect_link_order): Alloc max of section size and rawsize. * simple.c (bfd_simple_get_relocated_section_contents): Likewise. * section.c (bfd_malloc_and_get_section): Likewise. (struct bfd_section): Update rawsize comment. * bfd-in2.h: Regenerate. ld/ * ldlang.c (lang_reset_memory_regions): Save last relax pass section size in rawsize.
2004-06-29 * reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.Alan Modra2-0/+5
2004-06-29 * bfd-in.h (bfd_get_section_limit): Define.Alan Modra29-141/+97
* reloc.c (bfd_perform_relocation, bfd_install_relocation) (_bfd_final_link_relocate): Use bfd_get_section_limit. * aout-tic30.c (tic30_aout_final_link_relocate): Likewise. * coff-arm.c (coff_arm_relocate_section): Likewise. * coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise. * cpu-ns32k.c (do_ns32k_reloc): Likewise. (bfd_ns32k_final_link_relocate): Likewise. * elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise. * elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise. * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc) (i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise. * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc) (m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise. * elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise. * elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise. * elf32-or32.c (or32_elf_consth_reloc): Likewise. * elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise. * elf32-s390.c (s390_elf_ldisp_reloc): Likewise. * elf32-sh.c (sh_elf_reloc_loop): Likewise. * elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise. (sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise. * elf32-v850.c (v850_elf_reloc): Likewise. * elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise. * elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise. * elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise. * elf64-mips.c (mips_elf64_gprel32_reloc) (mips16_gprel_reloc): Likewise. * elf64-mmix.c (mmix_elf_reloc): Likewise. * elf64-s390.c (s390_elf_ldisp_reloc): Likewise. * elf64-sparc.c (init_insn_reloc): Likewise. * elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise. * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp) (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc) (_bfd_mips_elf_generic_reloc): Likewise. * bfd-in2.h: Regenerate.
2004-06-29merge from gccDJ Delorie2-0/+34
2004-06-29 * infcmd.c (attach_command): Move call to target_terminal_inferiorCorinna Vinschen2-3/+8
behind loading symbol table.
2004-06-29 * gdb.base/bigcore.exp: Skip test on Cygwin.Corinna Vinschen2-1/+6
2004-06-292004-06-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-0/+6
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24 change - add back extern deprecated_ui_loop_hook declaration.
2004-06-29Index: mn10200/ChangeLogAndrew Cagney8-10/+27
2004-06-28 Andrew Cagney <cagney@gnu.org> * interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook. Index: d10v/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * interp.c (sim_resume): Rename ui_loop_hook to deprecated_ui_loop_hook. Index: arm/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook. Index: common/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
2004-06-29daily updateAlan Modra1-1/+1
2004-06-29*** empty log message ***gdbadmin1-1/+1
2004-06-282004-06-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney15-31/+53
* xcoffsolib.c (xcoff_solib_address): Replace xasprintf with xstrprintf. * varobj.c (varobj_gen_name, create_child, c_name_of_child) (c_value_of_variable): Ditto. * utils.c (internal_vproblem): Ditto. * solib-aix5.c (build_so_list_from_mapfile): Ditto. * remote.c (add_packet_config_cmd): Ditto. * remote-rdp.c (rdp_set_command_line): Ditto. * regcache.c (regcache_dump): Ditto. * frv-tdep.c (new_variant, new_variant): Ditto. * fbsd-proc.c (child_pid_to_exec_file): Ditto. (fbsd_find_memory_regions): Ditto. * breakpoint.c (create_thread_event_breakpoint) (create_breakpoints): Ditto. * aix-thread.c (aix_thread_pid_to_str): Ditto. * ada-lang.c (is_package_name): Ditto. Also delete xmalloc call. Index: doc/ChangeLog 2004-06-26 Andrew Cagney <cagney@gnu.org> * gdbint.texinfo (Coding): Replace xasprintf with xstrprintf.
2004-06-28sim/h8300/ChangeLog:Alexandre Oliva5-69/+37
2003-07-23 Richard Sandiford <rsandifo@redhat.com> * compile.c (sim_resume): Make sure that dst.reg refers to the right register byte in mova/sz.l @(dd,RnL),ERn. 2003-07-21 Richard Sandiford <rsandifo@redhat.com> * compile.c (sim_resume): Zero-extend immediate to muls, mulsu, mulxs, divs and divxs. sim/testsuite/sim/h8300/ChangeLog: 2003-07-22 Michael Snyder <msnyder@redhat.com> * mul.s: Don't try to use negative immediate (it's always unsigned). * div.s: Ditto.
2004-06-28* compile.c (sim_load): Update sd->memory_size.Alexandre Oliva2-0/+5
2004-06-28* e500_registers.h (EVR): Cast the 32-bit value of the GPR to anJim Blandy2-2/+10
unsigned type before or-ing it with a 64-bit value.
2004-06-28 * ada-lang.c: Re-indent file, with some massaging to help indentJoel Brobecker2-31/+28
a bit when the result is otherwise really too ugly.
2004-06-282004-06-28 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-53/+102
* gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output formats for "info register". Use gdb_test_multiple. Fix the "invalid register" test.
2004-06-28merge from gccDJ Delorie4-5/+37
2004-06-28* Makefile.in: Regenerate to clean up breakage.Maciej W. Rozycki2-12/+17
2004-06-28opcodes/Alan Modra4-29/+50
* ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf. (extract_fxm): Don't test dialect. (XFXFXM_MASK): Include the power4 bit. (XFXM): Add p4 param. (powerpc_opcodes): Add mfocrf and mtocrf. Adjust mtcr. gas/testsuite/ * gas/ppc/power4.d: Update.
2004-06-28 * bfd-in.h (struct stab_info): Move from stabs.c.Alan Modra13-73/+94
* stabs.c (struct stab_link_includes_table): Delete. (stab_link_includes_lookup): Delete. (_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one level of indirection from sinfo parm. (_bfd_link_section_stabs): Likewise. Set SEC_LINKER_CREATED on stabstr section. Adjust hash table accesses. * coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents alloc. Adjust stab_info test. * cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info. (_bfd_coff_final_link): Adjust stab_info test. (_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections. * elf-bfd.h (struct elf_link_hash_table): Include struct stab_info in place. * libcoff-in.h (struct coff_link_hash_table): Likewise. * elf.c (_bfd_elf_link_hash_table_init): Clear stab_info. * elflink.c (bfd_elf_final_link): Don't attempt to link linker created stabstr section. Adjust stab_info test. * libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs) (_bfd_write_stab_strings): Adjust prototypes. * libbfd.h: Regenerate. * libcoff.h: Regenerate. * bfd-in2.h: Regenerate.
2004-06-28 * gdb.base/attach.exp: Fix copyright date. Set testpid to WindowsCorinna Vinschen2-3/+58
PID for Cygwin. Add Cygwin specific strings to check for in some tests. (do_attach_tests): Add a test for user interaction when attaching to a process with no matching symbol table already loaded.
2004-06-28daily updateAlan Modra1-1/+1
2004-06-28*** empty log message ***gdbadmin1-1/+1
2004-06-27 * frame.h (struct frame_id): Change bit field type of stack_addr_p,Ulrich Weigand2-3/+8
code_addr_p and special_addr_p to 'unsigned int'.
2004-06-27* i386v4-nat.c: Update copyright year and tweak comment.Mark Kettenis2-11/+21
(regmap): Remove trailing comma. (supply_gregset): Rename local variable i to regnum. Call regcache_raw_supply instead of supply_register. (fill_gregset): Rename argument regno to regnum. Call regcache_raw_collect instead of regcache_collect.
2004-06-27 * frame.h (struct frame_id): New fields stack_addr_p, code_addr_pUlrich Weigand3-22/+69
and special_addr_p. (frame_id_build, frame_id_build_special): Update comments. (frame_id_build_wild): New prototype. * frame.c (frame_id_build, frame_id_build_special): Fill in new struct frame_id fields. (frame_id_build_wild): New function. (frame_id_eq, frame_id_inner): Use new struct frame_id fields.
2004-06-27* config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c andMark Kettenis2-0/+7
hppabsd-tdep.c.
2004-06-27 * ada-lang.c: Minor reformatting to conform to GNU coding standards.Joel Brobecker2-41/+46
2004-06-27 * ada-lang.c: Re-indent file.Joel Brobecker2-987/+992
2004-06-27 * ada-lang.c (symtab_symbol_info): Remove unused declaration.Joel Brobecker2-6/+5
(no_symtab_msg): Likewise.
2004-06-27* source.c: Fix whitespace.Andreas Schwab2-32/+34
2004-06-27* configure.in: Include <sys/param.h> for td_pcb test.Mark Kettenis3-559/+575
* configure: Regenerated.
2004-06-27* i386nbsd-nat.c: New file.Mark Kettenis5-2/+105
* Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c, i386obsd-nat.c and i386obsd-tdep.c. (i386nbsd-nat.o): New dependency. * config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and bsd-kvm.o. (LOADLIBES): New variable. * config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and bsd-kvm.o. (LOADLIBES): New variable.
2004-06-27* config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.Mark Kettenis2-1/+7
(LOADLIBES): New variable.
2004-06-27* bsd-kvm.c (bsd_kvm_fetch_registers): Directly return afterMark Kettenis2-3/+10
fetching from BSD_KVM_PADDR. Correctly lookup address for "_thread0".
2004-06-27* amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> andMark Kettenis2-0/+51
"bsd-kvm.h". (amd64fbsd_supply_pcb): New funcion. (_initialize_amd64fbsd_nat): Enable libkvm interface.
2004-06-27From Miod Vallat <miod@online.fr>:Mark Kettenis2-0/+9
* aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k.
2004-06-272004-06-27 <david@streamline-computing.com>David Lecomber2-2/+14
Partial fix for PR cli/1056. * valarith.c (value_binop): Check for zero in division and remainder evaluation.
2004-06-272003-07-21 Richard Sandiford <rsandifo@redhat.com>Alexandre Oliva2-1/+7
* disassemble.c (disassembler): Handle bfd_mach_h8300sxn.
2004-06-27 * callback.c (os_shutdown): Fix bug in last change: actuallyJoern Rennecke2-0/+6
mark file descriptors as available on startup.
2004-06-27* elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete.Alexandre Oliva2-193/+49
(struct elf32_mn10300_link_hash_entry): Remove pcrel_relocs_copied. (mn10300_elf_check_relocs): Only reserve dynamic relocations for R_MN10300_32. Don't adjust pcrel_relocs_copied. (mn10300_elf_final_link_relocate): Fail for direct, pc-relative and gotoff relocations if the symbol doesn't bind locally. Use _bfd_elf_symbol_refs_local_p to test. Don't create dynamic relocation for PCREL32. (mn10300_elf_relocate_section): Use _bfd_elf_symbol_refs_local_p to test whether a symbol binds locally. (elf32_mn10300_link_hash_newfunc): Don't initialize pcrel_relocs_copied. (_bfd_mn10300_elf_discard_copies): Delete. (_bfd_mn10300_elf_size_dynamic_sections): Don't call it.
2004-06-272004-06-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-91/+79
Test PR java/1567 and PR java/1565. * gdb.java/jmain.exp, gdb.java/jmain.java: New files. * gdb.java/jmisc2.exp: Delete file.
2004-06-27daily updateAlan Modra1-1/+1
2004-06-27*** empty log message ***gdbadmin1-1/+1
2004-06-26* i387-tdep.c: Remove excessive whitespace.Mark Kettenis2-1/+4
2004-06-262004-06-26 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+8
* gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
2004-06-262000-08-07 Graham Stott <grahams@cygnus.co.uk>Alexandre Oliva7-1/+3727
* am33-2.igen (fmadd, fmsub, fmnadd, fmnsub): Correct typo. 2000-05-29 Alexandre Oliva <aoliva@cygnus.com> * interp.c (fpu_disabled_exception, fpu_unimp_exception, fpu_check_signal_exception): Take additional state arguments. Print exception type and call program_interrupt. Adjust callers. (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Take additional arguments. * mn10300_sim.h (fpu_disabled_exception, fpu_unimp_exception, fpu_check_signal_exception): Adjust prototypes. (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Likewise. * am33-2.igen: Adjust calls. 2000-05-19 Alexandre Oliva <aoliva@cygnus.com> * op_utils.c (cmp2fcc): Moved... * interp.c: ... here. 2000-05-18 Alexandre Oliva <aoliva@cygnus.com> * am33-2.igen: Use `unsigned32', `signed32', `unsigned64' or `signed64' where type width is relevant. 2000-05-15 Alexandre Oliva <aoliva@cygnus.com> * mn10300_sim.h: Include sim-fpu.h. (FD2FPU, FPU2FD): Enclose the FD argument in parentheses. (fpu_check_signal_exception): Declare. (struct fp_prec_t, fp_single_prec, fp_double_prec): Likewise. (FP_SINGLE, FP_DOUBLE): Shorthands for fp_*_prec. (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Declare. * interp.c (fpu_disabled_exception): Document. (fpu_unimp_exception): Likewise. (fpu_check_signal_exception): Define. (reg2val_32, round_32, val2reg_32, fp_single_prec): Likewise. (reg2val_64, round_64, val2reg_64, fp_double_prec): Likewise. (REG2VAL, ROUND, VAL2REG): Define shorthands. (fpu_status_ok): Define. (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Define. * am33-2.igen (frsqrt, fcmp, fadd, fsub, fmul, fdiv, fmadd, fmsub, fnmadd, fnmsub): Use new functions. 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> * interp.c (sim_create_inferior): Set PSW bit to enable FP insns if architecture is AM33/2.0. * am33.igen: Include am33-2.igen. 2000-04-23 Alexandre Oliva <aoliva@cygnus.com> * mn10300.igen (movm, call, ret, retf): Check for am33_2 too. * am33.igen (movm): Likewise. 2000-04-19 Alexandre Oliva <aoliva@cygnus.com> * am33.igen: Added `*am33_2' to some instructions that were missing it. 2000-04-07 Alexandre Oliva <aoliva@cygnus.com> * am33-2.igen: New file. All insns implemented, but FP flags are only set for fcmp, exceptional conditions are not handled yet. * Makefile.in (IGEN_INSN): Added am33-2.igen. (tmp-igen): Added -M am33_2. * mn10300.igen, am33.igen: Added `*am33_2' to all insns. * gencode.c: Support FMT_D3. * mn10300_sim.h (dword): New type. (struct _state): Added fpregs. (REG_FPCR, FPCR): New define. All assorted bitmaps. (XS2FS, AS2FS, Xf2FD): New macros. (FS2FPU, FD2FPU, FPU2FS, FPU2FD): Likewise. (load_dword, store_dword): New functions or macros. (u642dw, dw2u64): New functions. (fpu_disabled_exception, fpu_unimp_exception): Declared. * interp.c (fpu_disabled_exception): Defined; no actual implementation. (fpu_unimp_exception): Likewise. * op_utils.c (cmp2fcc): New function.
2004-06-26* interp.c, mn10300_sim.h, op_utils.c: Convert function prototypesAlexandre Oliva4-81/+66
and definitions to ISO C.
2004-06-26* gencode.c, simops.c: Delete.Alexandre Oliva4-3433/+6
* Makefile.in: Remove non-COMMON dependencies and commands.
2004-06-262004-06-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-10/+18
* gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated. * gdb-events.h, gdb-events.c: Re-generate. * tui/tui-hooks.c (tui_install_hooks): Update. (tui_remove_hooks): Update. * mi/mi-cmd-break.c (mi_cmd_break_insert): Update.