aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-10-21(Breakpoints): Fix a typo.Eli Zaretskii1-1/+1
2006-10-21 * gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate andEli Zaretskii2-8/+46
clarify on the possible meanings of ``expression'' watched by watchpoints. Add indexing.
2006-10-21(Backtrace): Fix a typo.Eli Zaretskii1-1/+1
2006-10-21*** empty log message ***gdbadmin1-1/+1
2006-10-20daily updateAlan Modra1-1/+1
2006-10-20 * gcore.c (MAX_COPY_BYTES): Define.Daniel Jacobowitz2-9/+37
(gcore_copy_callback): Use it to limit allocation.
2006-10-20Framework for relocation scanning. Implement simple static TLSIan Lance Taylor24-313/+2347
relocations.
2006-10-20 * ld-sh/tlsbin-1.d: Update.Kaz Kojima4-51/+57
* ld-sh/tlspic-1.d: Likewise. * ld-sh/tlstpoff-1.d: Likewise.
2006-10-202006-10-20 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs11-32/+48
opcodes/ * sh-dis.c (print_insn_sh): Remove 0x from output to prevent GDB duplicating it. gas/testsuite/ * gas/sh/pcrel-coff.d: Update patterns (remove 0x on addresses). * gas/sh/pcrel-hms.d: Likewise. * gas/sh/pcrel.d: Likewise. * gas/sh/pcrel2.d: Likewise. * gas/sh/pic.d: Likewise. * gas/sh/tlsd.d: Likewise. * gas/sh/tlsdnopic.d: Likewise. * gas/sh/tlsdpic.d: Likewise.
2006-10-20bfd/Richard Sandiford2-2/+17
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't extend PT_DYNAMIC on GNU/Linux targets.
2006-10-20bfd/Richard Sandiford6-35/+17
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make the size of .rel.dyn reflect the value of DT_RELSZ. ld/testsuite/ * ld-mips-elf/multi-got-1.d: Remove trailing R_MIPS_NONE entries. * ld-mips-elf/tls-multi-got-1.got: Likewise. * ld-mips-elf/tls-multi-got-1.r: Likewise.
2006-10-20bfd/Richard Sandiford20-69/+139
* elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate a PT_NULL header for dynamic objects. (_bfd_mips_elf_modify_segment_map): Add it. ld/testsuite/ * ld-mips-elf/multi-got-1.d: Do not expect a particular address for DT_HASH. * ld-mips-elf/rel32-o32.d: Bump addresses by 0x20 to account for the extra program header. * ld-mips-elf/rel32-n32.d: Likewise. * ld-mips-elf/tlslib-o32.got: Likewise. * ld-mips-elf/tlslib-o32-hidden.got: Likewise. * ld-mips-elf/tlslib-o32-ver.got: Likewise. * ld-mips-elf/tls-multi-got-1.got: Likewise. * ld-mips-elf/tls-multi-got-1.r: Likewise. * ld-mips-elf/rel64.d: Bump addresses by 0x30 to account for the extra program header. * ld-mips-elf/tlsdyn-o32.d: Reduce the GOT offset by 32 to account for the extra program header, and thus the shorter gap between the text and data segments. * ld-mips-elf/tlsdyn-o32-1.d: Likewise. * ld-mips-elf/tlsdyn-o32-2.d: Likewise. * ld-mips-elf/tlsdyn-o32-3.d: Likewise. * ld-mips-elf/tlsdyn-o32.got: Bump GOT text addresses by 0x20 to account for the extra program header. * ld-mips-elf/tlsdyn-o32-1.got: Likewise. * ld-mips-elf/tlsdyn-o32-2.got: Likewise. * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
2006-10-20ld/Richard Sandiford7-3/+30
* emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define. * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise. ld/testsuite/ * ld-mips-elf/rel32-o32.d: Bump the section number of .text by 1 to account for the fact that .rel.dyn is now before .text in the section table. * ld-mips-elf/rel32-n32.d: Likewise. * ld-mips-elf/rel64.d: Likewise.
2006-10-20 * linux-thread-db.c (check_for_thread_db): Don't attempt to useUlrich Weigand3-2/+12
thread_db for remote targets. * remote.c (remote_new_objfile): Always call predecessor on new_objfile event chain.
2006-10-202005-10-19 Ulrich Weigand <uweigand@de.ibm.com>Ulrich Weigand3-1/+28
* configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets and srv_linux_thread_db to yes. * linux-s390-low.c (s390_fill_gregset): New function. (target_regsets): Define data structure.
2006-10-20* config/tc-i386.c (md_parse_option): Use CONST_STRNEQ.Mike Frysinger2-2/+7
(x86_64_section_letter): Likewise.
2006-10-20*** empty log message ***gdbadmin1-1/+1
2006-10-19daily updateAlan Modra1-1/+1
2006-10-19 * solib.c (libpthread_solib_p): New function.Joel Brobecker2-1/+25
(solib_add): Always read the symbols from the libpthread library.
2006-10-192006-10-19 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-6/+17
* breakpoint.c (describe_other_breakpoints): Add thread parameter. Annotate display with thread number where appropriate. (create_breakpoints): Add thread parameter to call to describe_other_breakpoints.
2006-10-19Fix score bugsNick Clifton8-58/+62
2006-10-19bfd/Richard Sandiford7-16/+48
* elfxx-mips.c (sort_dynamic_relocs): Sort relocations against the same symbol by increasing r_offset. (sort_dynamic_relocs_64): Likewise. Fix comparisons between very large and very small symbol indexes. ld/testsuite/ * ld-mips-elf/tlslib-o32-hidden.got: Sort relocations against the same symbol in order of increasing r_offset. * ld-mips-elf/tls-multi-got-1.got: Likewise. * ld-mips-elf/tls-hidden3.r: Likewise. * ld-mips-elf/tls-hidden4.r: Likewise.
2006-10-19bfd/Richard Sandiford10-54/+62
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG and DT_MIPS_RLD_MAP tags for position-independent executables. Do not add DT_DEBUG to shared libraries for any MIPS target. ld/testsuite/ * ld-mips-elf/multi-got-1.d: Remove DT_DEBUG tag. Do not require a specific file offset for .dynamic. Reduce DT_HASH by 8 to account for removed tag. * ld-mips-elf/tls-multi-got-1.r: Likewise. Also reduce DT_REL by 8. Reduce PLTGOT and symbol values by 16 to account for the removed tag. * ld-mips-elf/textrel-1.d: Remove DT_DEBUG tag. * ld-mips-elf/rel32-n32.d: Reduce addresses by 16 to account for removed DT_DEBUG tag. * ld-mips-elf/rel64.d: Likewise. * ld-mips-elf/tls-multi-got-1.got: Likewise. * ld-mips-elf/tlslib-o32-hidden.got: Likewise.
2006-10-19Typos.Andreas Schwab1-2/+2
2006-10-19bfd/H.J. Lu9-0/+162
2006-10-18 H.J. Lu <hongjiu.lu@intel.com> PR ld/3290 * elflink.c (elf_link_add_object_symbols): Hide definitions in debug sections. ld/testsuite/ 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> PR ld/3290 * ld-elf/dummy.c: New file. * ld-elf/dwarf.exp: Likewise. * ld-elf/dwarf1.c: Likewise. * ld-elf/dwarf1.h: Likewise. * ld-elf/dwarf1.out: Likewise. * ld-elf/dwarf1main.c: Likewise.
2006-10-19bfd/Alan Modra4-20/+39
* elf32-arm.c (bfd_elf32_arm_allocate_interworking_sect): Check, don't set, glue section size. (record_arm_to_thumb_glue): Set glue section size here. (record_thumb_to_arm_glue): Likewise. (bfd_elf32_arm_add_glue_sections_to_bfd): Formatting. (bfd_elf32_arm_process_before_allocation): Ignore exluded sections. ld/ * emultempl/armelf.em (arm_elf_before_allocation): Run gld${EMULATION_NAME}_before_allocation later. * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
2006-10-19*** empty log message ***gdbadmin1-1/+1
2006-10-18daily updateAlan Modra1-1/+1
2006-10-182006-10-18 Roy Marples <uberlord@gentoo.org>Mike Frysinger11-4/+79
* bfd/elf64-sparc.c: Add FreeBSD support. (elf64_sparc_fbsd_post_process_headers): New function. * bfd/targets.c (_bfd_target_vector): Add bfd_elf64_sparc_freebsd_vec. * bfd/config.bfd (sparc64-*-freebsd*): Set targ_defvec to bfd_elf64_sparc_freebsd_vec. * bfd/configure.in: Add entry for bfd_elf64_sparc_freebsd_vec. * bfd/configure: Regenerate. * gas/config/tc-sparc.c (md_parse_option): Treat any target starting with elf32-sparc as a viable target for the -32 switch and any target starting with elf64-sparc as a viable target for the -64 switch. (sparc_target_format): For 64-bit ELF flavoured output use ELF_TARGET_FORMAT64 while for 32-bit ELF flavoured output use ELF_TARGET_FORMAT. * gas/config/tc-sparc.h (ELF_TARGET_FORMAT, ELF_TARGET_FORMAT64): Define. * ld/emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as elf64-sparc-freebsd.
2006-10-18 * utils.c (query): Use defaulted_query.Daniel Jacobowitz2-90/+68
(defaulted_query): Handle having no default answer. Print out messages even if we have no terminal. Prevent memory corruption.
2006-10-18 * frame.c (struct frame_info): Add stop_reason.Daniel Jacobowitz4-2/+147
(get_prev_frame_1): Set stop_reason. Don't call error for stop reasons. (get_frame_unwind_stop_reason, frame_stop_reason_string): New. * frame.h (enum unwind_stop_reason): New. (get_frame_unwind_stop_reason, frame_stop_reason_string): New prototypes. * stack.c (frame_info): Print the stop reason. (backtrace_command_1): Print the stop reason for errors.
2006-10-182006-10-18 Dave Brolley <brolley@redhat.com>Dave Brolley3-3/+7
* configure.in (BFD_MACHINES): Add cgen-bitset.lo for bfd_sh_arch. * configure: Regenerated.
2006-10-182006-10-18 Dave Brolley <brolley@redhat.com>Dave Brolley22-3586/+11325
* Contribute the following changes: 2006-06-14 Dave Brolley <brolley@redhat.com> * sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv) (sh64_fpref): New functions. * sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv) (sh64_fpref): New functions. (sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a, sh4a_nofpu and sh4al. (sh2e_mach): New MACH. (sh2a_fpu_mach): New MACH. (sh2a_nofpu_mach): New MACH. (sh4_nofpu): New MACH. (sh4a_mach): New MACH. (sh4a_nofpu_mach): New MACH. (sh4al_mach): New MACH. * Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass archfile to CGEN script. * arch.c: Regenerated. * arch.h: Regenerated. * cpu.c: Regenerated. * cpu.h: Regenerated. * cpuall.h: Regenerated. * decode-compact.c: Regenerated. * decode-compact.h: Regenerated. * decode-media.c: Regenerated. * decode-media.h: Regenerated. * defs-compact.h: Regenerated. * defs-media.h: Regenerated. * sem-compact-switch.c: Regenerated. * sem-compact.c: Regenerated. * sem-media-switch.c: Regenerated. * sem-media.c: Regenerated. * sh-desc.c: Regenerated. * sh-desc.h: Regenerated. * sh-opc.h: Regenerated.
2006-10-18 * gprof.c (main): Fix option string for -r and -R.Bob Wilson2-1/+5
2006-10-18 * inferior.h (start_remote): Update prototype.Daniel Jacobowitz6-23/+35
* infrun.c (start_remote): Take FROM_TTY. Call post_create_inferior. * monitor.c (monitor_open): Update call to start_remote. * remote-sds.c (sds_start_remote, sds_open): Likewise. * remote.c (remote_start_remote): Likewise. (remote_start_remote_dummy): Removed. (remote_open): Update call to remote_start_remote. Do not call post_create_inferior here.
2006-10-18 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the endsDaniel Jacobowitz2-8/+14
of patterns.
2006-10-18 * configure.tgt (i[3-7]86-*-linux-*): Also defineJoseph Myers3-1/+9
targ_extra_libpath in want64 case. * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as x86_64*-linux*.
2006-10-182006-10-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu9-0/+117
* ld-elf/dl4.c: New file. * ld-elf/dl4.list: Likewise. * ld-elf/dl4a.out: Likewise. * ld-elf/dl4b.out: Likewise. * ld-elf/dl4main.c: Likewise. * ld-elf/dl4xxx.c: Likewise. * ld-elf/dl4xxx.list: Likewise. * ld-elf/shared.exp (build_tests): Add libdl4a.so and libdl4b.so. (run_tests): Likewise.
2006-10-18 * elf32-arm.c (elf32_arm_final_link_relocate): Add support forMark Shinwell2-6/+40
R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL, R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and R_ARM_THM_MOVT_BREL relocations.
2006-10-18 * solib-svr4.c (debug_loader_offset_p, debug_loader_offset)Daniel Jacobowitz2-5/+73
(debug_loader_name, svr4_default_sos): New. (svr4_current_sos): Call svr4_default_sos. (enable_break): Add a comment about AT_BASE. Set the new variables and retry solib_add. (svr4_clear_solib): Clear the new variables.
2006-10-18 * NEWS: Mention support for TLS without debugging information.Daniel Jacobowitz2-0/+7
2006-10-18ld/testsuite/Richard Sandiford2-35/+39
* ld-mips-elf/reloc-1-n64.d: Match 16-character VMAs on LP64 hosts.
2006-10-18Fix typo in last changelog.Richard Sandiford1-1/+1
2006-10-18ld/testsuite/Richard Sandiford2-3/+9
* ld-mips-elf/rel32-n32.d: Bump addresses by 0x30 to account for the fact that .reginfo is now placed before .text. Change the section number of .text accordingly.
2006-10-18ld/testsuite/Richard Sandiford5-668/+681
* ld-mips-elf/elf-rel-got-n32.d: Adjust page gap from 0x100000 to 0x10000. Move .reginfo before .text and bump .text addresses by 0x10 to make room. Move data segment down by 0x10 bytes to account for new size of text segment. * ld-mips-elf/elf-rel-xgot-n32.d: Likewise. * ld-mips-elf/elf-rel-got-n64-linux.d: Adjust page gap from 0x100000 to 0x10000. * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
2006-10-18*** empty log message ***gdbadmin1-1/+1
2006-10-17daily updateAlan Modra1-1/+1
2006-10-17gdb/Daniel Jacobowitz6-16/+151
* gdbint.texinfo (Target Vector Definition): Move most content into Existing Targets. Add a menu. (Existing Targets): New section, moved from Target Vector Definition. Use @subsection. (Managing Execution State): New section. gdb/doc/ * remote-sim.c (gdbsim_kill): Call target_mourn_inferior. (gdbsim_load): Don't bother to adjust inferior_ptid here. (gdbsim_create_inferior): Mark the simulator as running. (gdbsim_open): Don't bother fetching registers. Mark the target as not running. (gdbsim_xfer): When the program is not running, pass memory requests down. (gdbsim_mourn_inferior): Mark the target as not running. * target.c (target_mark_running, target_mark_exited): New. * target.h (target_has_execution): Update the comment. (target_mark_running, target_mark_exited): New prototypes.
2006-10-17 * breakpoint.c (free_valchain): Minor reformatting.Joel Brobecker2-1/+6
2006-10-17 * gdb.texinfo (ST2000): Use Ctrl- instead of C-.Bob Wilson2-1/+5