aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-05-16* printcmd.c (do_examine): Fix typos in a comment.Maciej W. Rozycki2-2/+6
2007-05-162007-05-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-16/+22
Alan Modra <amodra@bigpond.net.au> * elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss section to the minimum alignment.
2007-05-162007-05-16 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini4-184/+443
* Makefile.def (bootstrap_stage): Replace stage_make_flags with stage_cflags. * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS): Remove CFLAGS/LIBCFLAGS. (configure-stage[+id+]-[+prefix+][+module+], all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+]. * Makefile.in: Regenerate.
2007-05-16gdb/Richard Sandiford3-12/+63
* configure.ac: Allow sysroots to be relocated under $prefix as well as $exec_prefix. * configure: Regenerate.
2007-05-16ld/Richard Sandiford3-12/+24
* configure.in: Allow sysroots to be relocated under $prefix as well as $exec_prefix. * configure: Regenerate.
2007-05-16daily updateAlan Modra1-1/+1
2007-05-16*** empty log message ***gdbadmin1-1/+1
2007-05-15 * config/unknown.exp: Remove.Vladimir Prus2-21/+4
2007-05-152007-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-0/+53
PR ld/4504 * ld-elf/data1.c: New file. * ld-elf/data1.h: Likewise. * ld-elf/dynbss1.c: Likewise. * ld-elf/pass.out: Likewise. * ld-elf/shared.exp (build_tests): Add "Build libdata1.so". (run_tests): Add "Run with libdata1.so".
2007-05-152007-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu21-412/+95
Alan Modra <amodra@bigpond.net.au> PR ld/4504 * elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New. * elflink.c (_bfd_elf_adjust_dynamic_copy): New. * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call _bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic bss section. * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. * elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
2007-05-152007-05-15 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-0/+8
* gdb.base/info-proc.exp: Check is_remote.
2007-05-15ld/testsuite/Richard Sandiford24-36/+82
* ld-arm/vxworks1.ld: Swap .bss and .data. * ld-arm/vxworks1-lib.rd: Update accordingly. * ld-arm/vxworks1-lib.td: New test. * ld-arm/arm-elf.exp: Run it. * ld-i386/vxworks1.ld: Swap .bss and .data. * ld-i386/vxworks1-lib.rd: Update accordingly. * ld-i386/vxworks1-lib.td: New test. * ld-i386/i386.exp: Run it. * ld-mips-elf/vxworks1.ld: Swap .bss and .data. * ld-mips-elf/vxworks1-lib.rd: Update accordingly. * ld-mips-elf/vxworks1.rd: Likewise. * ld-powerpc/vxworks1.ld: Swap .bss and .data. * ld-powerpc/vxworks1-lib.rd: Update accordingly. * ld-powerpc/vxworks1-lib.td: New test. * ld-powerpc/powerpc.exp: Run it. * ld-sh/vxworks1.ld: Swap .bss and .data. * ld-sh/vxworks1-lib.rd: Update accordingly. * ld-sh/vxworks1-lib.td: New test. * ld-sh/sh-vxworks.exp: Run it. * ld-sparc/vxworks1.ld: Swap .bss and .data. * ld-sparc/vxworks1-lib.rd: Update accordingly. * ld-sparc/vxworks1-lib.td: New test. * ld-sparc/sparc.exp: Run it.
2007-05-15 * mips3264r2.igen (DSHD): Fix compile warning.Thiemo Seufer2-2/+6
2007-05-15bfd/Richard Sandiford4-42/+41
* elfxx-mips.c (mips_elf_create_local_got_entry): Remove input_section argument. Create .rela.dyn relocations against symbol 0 rather than the section symbol. (mips_elf_local_got_index): Remove input_section argument. Update call to mips_elf_create_local_got_entry. (mips_elf_got_page, mips_elf_got16_entry): Likewise. (mips_elf_calculate_relocation): Update calls to mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page. ld/testsuite/ * ld-mips-elf/vxworks1-lib.rd: Expect the GOT relocation to be against symbol 0.
2007-05-15 gas/Mark Shinwell5-0/+50
* app.c (do_scrub_chars): Don't damage \@ pseudo-variables. gas/testsuite/ * gas/arm/backslash-at.d: New. * gas/arm/backslash-at.s: New.
2007-05-15 bfd/Mark Shinwell6-18/+46
* elf32-arm.c (elf32_arm_final_link_relocate): Correctly handle the Thumb-2 JUMP19 relocation. ld/testsuite/ * ld-arm/arm-elf.exp: Add jump19 testcase. * ld-arm/jump19.d: New. * ld-arm/jump19.s: New.
2007-05-15 PR gas/3041Nick Clifton10-12/+66
* config/tc-m68k.c (relaxable_symbol): Make sure that the correct addend is stored for relocs against weak symbols. (md_apply_fix): So not loose track of addend for relocs against weak symbols. * testsuite/gas/m68k/p3041.s: New test case. * testsuite/gas/m68k/p3041.d: New expected disassembly. * testsuite/gas/m68k/all.exp: Run new test for m68k-*-netbsd toolchains. Only run arch-cpu-1 test for ELF based toolchains. Tidy ups for m68k-netbsd gas toolchain: * testsuite/gas/m68k/cpu32.d: Allow for extra text after expected disassembly. * testsuite/gas/m68k/mcf-trap.d: Allow for alternative trap mnemonics. * testsuite/gas/m68k/br-isab.d: Fix name of test. * testsuite/gas/m68k/br-isac.d: Fix name of test.
2007-05-15 PR 4479Alan Modra3-11/+19
* elf.c (elf_fake_sections): Don't allow backend to change SHT_NOBITS if called for strip/objcopy --only-keep-debug. * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar fix from here.
2007-05-15 * binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF.Alan Modra2-16/+21
2007-05-15gas/testsuite/H.J. Lu4-2/+12
2007-05-14 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4502 * gas/i386/amd.d: Replace "pfmulhrw" with "pmulhrw". opcodes/ 2007-05-14 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4502 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
2007-05-15daily updateAlan Modra1-1/+1
2007-05-15*** empty log message ***gdbadmin1-1/+1
2007-05-142007-05-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* hist.c (scale_and_align_entries): Avoid C99 feature.
2007-05-14 * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.Ulrich Weigand2-8/+8
(offsetof): Do not define. (find_stub_with_shl_get): Use numerical value 3 instead of symbolic value TYPE_PROCEDURE.
2007-05-142007-05-14 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+5
* gdb.base/gcore.exp: Initialize variable core_supported.
2007-05-14 * all-cfg.texi (GDBTUI): New.Bob Wilson3-115/+104
* gdb.texinfo (Mode Options): Use GDBTUI variable. (TUI, TUI Overview, TUI Keys, TUI Single Key Mode, TUI Commands) (TUI Configuration): Edit to improve clarity and fix problems of both style and content.
2007-05-14 * gdb_proc_service.h (paddr_t): Delete typedef.Daniel Jacobowitz5-16/+51
* proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. * Makefile.in (proc-service.o): Update.
2007-05-14 * Makefile.in (mips-tdep.o): Update.Daniel Jacobowitz3-1/+11
* mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI unwinder.
2007-05-14 * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_longDaniel Jacobowitz4-24/+36
instead of store_typed_address. * value.c (pack_long): New. (value_from_longest): Use it. * value.h (pack_long): New prototype.
2007-05-14 * dwarf2-frame.c (read_encoded_value): Correct typo. UseDaniel Jacobowitz2-2/+11
DW_EH_PE_signed if appropriate.
2007-05-14 * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): NewDaniel Jacobowitz2-34/+68
function. (dwarf_decode_lines): Check for line info without a file.
2007-05-14 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.Daniel Jacobowitz2-2/+6
2007-05-14 * linux-thread-db.c (thread_db_pid_to_str): Print thread IDsDaniel Jacobowitz5-5/+16
as hexadecimal. * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs. * gdb.threads/print-threads.exp (test_all_threads): Allow negative and hexadecimal thread IDs.
2007-05-14 * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead ofDaniel Jacobowitz6-6/+19
STRUCTOP_STRUCT. * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of STRUCTOP_STRUCT. * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. * gdb.java/jprint.java (public): Avoid invalid call to static method.
2007-05-14 * mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL,Thiemo Seufer2-0/+32
CVT.S.PU, FLOOR.L.fmt, LDXC1, LUXC1, LWXC1, MADD.fmt, MSUB.fmt, NMADD.fmt, NMSUB.fmt, PLL.PS, PLU.PS, PREFX, PUL.PS, PUU.PS, RECIP.fmt, ROUND.L.fmt, RSQRT.fmt, SWXC1, TRUNC.L.fmt): Add support for mips32r2.
2007-05-14 * gdbarch.sh (read_sp): Remove.Ulrich Weigand8-109/+40
* gdbarch.c, gdbarch.h: Regenerate. * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. * avr-tdep.c (avr_read_sp): Remove. (avr_unwind_sp): New function. (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. * mips-tdep.c (mips_read_sp): Remove. (mips_unwind_sp): New function. (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. * score-tdep.c (score_read_unsigned_register): Remove. (score_read_sp): Remove. (score_unwind_sp): New function. (score_gdbarch_init): Install unwind_sp instead of read_sp callback.
2007-05-14 * buildsym.c (start_subfile): Handle absolute pathnamesDaniel Jacobowitz2-1/+22
while comparing subfile names.
2007-05-14 * config/tc-mips.c (md_parse_option): Fix parsing of -O option.Thiemo Seufer2-3/+7
2007-05-14ld/testsuite/Richard Sandiford7-50/+61
* ld-sh/vxworks1.dd: Remove hexadecimal prefixes from constant pool contents. Consistently use "!" as the comment character. Consistently use _PROCEDURE_LINKAGE_TABLE_ in the first PLT entry. * ld-sh/vxworks1-le.dd: Likewise. * ld-sh/vxworks1-lib.dd: Likewise. * ld-sh/vxworks1-lib-le.dd: Likewise. * ld-sh/vxworks3.dd: Likewise. * ld-sh/vxworks3-le.dd: Likewise.
2007-05-142007-05-14 Mei Ligang <ligang@sunnorth.com.cn>Mei Ligang2-40/+81
* config/tc-score.c (data_op2, validate_immediate): Fix bug for addri, addri.c, subi, and subi.c when immediate number is hex. (score_insns): Remove subis and subis.c. (do_sub_rdi16): Delete.
2007-05-14 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):Andreas Schwab5-6/+27
Handle null pattern. testsuite/: * ld-elf/dl2a.list: New file. * ld-elf/shared.exp: Add test using --dynamic-list=dl2a.list.
2007-05-142007-05-14 Denis Pilat <denis.pilat@st.com>Denis Pilat14-47/+8
* gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp, gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
2007-05-14 * elf.c (bfd_elf_string_from_elf_section): Return NULL onAlan Modra2-1/+12
invalid shstrndx. (bfd_elf_get_str_section): Likewise.
2007-05-14daily updateAlan Modra1-1/+1
2007-05-14*** empty log message ***gdbadmin1-1/+1
2007-05-13 * hppa-hpux-tdep.c: Include "regcache.h".Ulrich Weigand5-8/+20
* hppa-linux-tdep.c: Likewise. * hppa-tdep.c: Include "gdb_stdint.h". (find_unwind_entry): Cast host pointer to uintptr_t before passing it to paddr_nz. * Makefile.in: Update dependencies.
2007-05-13 * blockframe.c: Remove obsolete comments.Ulrich Weigand7-28/+17
* alpha-nat.c (fetch_osf_core_registers): Update comment. * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. * hppa-tdep.h (enum hppa_regnum): Likewise. * mips-tdep.h: Likewise. * m68hc11-tdep.c: Likewise.
2007-05-13 * inferior.h (read_sp): Remove prototype.Ulrich Weigand7-29/+25
* regcache.c (read_sp): Remove. * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. * infcall.c (call_function_by_hand): Likewise. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead of calling read_sp. * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
2007-05-13daily updateAlan Modra1-1/+1
2007-05-13*** empty log message ***gdbadmin1-1/+1