aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-02-21merge from gccDJ Delorie2-1/+5
2006-02-21merge from gccDJ Delorie3-1/+10
2006-02-21 PR ld/2218Alan Modra10-22/+158
* elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie is dynamic. * elf32-hppa.c (allocate_dynrelocs): Likewise. * elf32-i386.c (allocate_dynrelocs): Likewise. * elf32-s390.c (allocate_dynrelocs): Likewise. * elf32-sh.c (allocate_dynrelocs): Likewise. * elf64-s390.c (allocate_dynrelocs): Likewise. * elf64-x86-64.c (allocate_dynrelocs): Likewise. * elf32-m32r.c (allocate_dynrelocs): Likewise. Discard relocs on undef weak with non-default visibility too. * elfxx-sparc.c (allocate_dynrelocs): Ditto.
2006-02-21 * bfd.c: (_bfd_default_error_handler): Don't call abort onAlan Modra2-7/+14
error, instead call _exit. (_bfd_abort): Call _exit not xexit.
2006-02-21*** empty log message ***gdbadmin1-1/+1
2006-02-202006-02-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+25
PR ld/2218 * ld-pie/pie.exp: Add the weak undefined data test. * ld-pie/weakundef-data.c: New file.
2006-02-20 * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMINDaniel Jacobowitz2-3/+14
and __SIGRTMIN + 1.
2006-02-20 * remote.c: Add an enumeration for configurable remoteDaniel Jacobowitz2-296/+181
packets. (remote_protocol_packets, set_remote_protocol_packet_cmd) (show_remote_protocol_packet_cmd): New. (remote_protocol_vcont) (set_remote_protocol_vcont_packet_cmd) (show_remote_protocol_vcont_packet_cmd) (remote_protocol_qSymbol) (set_remote_protocol_qSymbol_packet_cmd) (show_remote_protocol_qSymbol_packet_cmd) (remote_protocol_P, set_remote_protocol_P_packet_cmd) (show_remote_protocol_P_packet_cmd) (remote_protocol_Z) (set_remote_protocol_Z_software_bp_packet_cmd) (show_remote_protocol_Z_software_bp_packet_cmd) (set_remote_protocol_Z_hardware_bp_packet_cmd) (show_remote_protocol_Z_hardware_bp_packet_cmd) (set_remote_protocol_Z_write_wp_packet_cmd) (show_remote_protocol_Z_write_wp_packet_cmd) (set_remote_protocol_Z_read_wp_packet_cmd) (show_remote_protocol_Z_read_wp_packet_cmd) (set_remote_protocol_Z_access_wp_packet_cmd) (show_remote_protocol_Z_access_wp_packet_cmd) (remote_protocol_binary_download) (set_remote_protocol_binary_download_cmd) (show_remote_protocol_binary_download_cmd) (remote_protocol_qPart_auxv) (set_remote_protocol_qPart_auxv_packet_cmd) (show_remote_protocol_qPart_auxv_packet_cmd) (remote_protocol_qGetTLSAddr) (set_remote_protocol_qGetTLSAddr_packet_cmd) (show_remote_protocol_qGetTLSAddr_packet_cmd) (remote_protocol_p) (set_remote_protocol_p_packet_cmd) (show_remote_protocol_p_packet_cmd): Delete. (init_all_packet_configs): Simplify. (set_remote_protocol_Z_packet_cmd) (show_remote_protocol_Z_packet_cmd) (remote_check_symbols, remote_vcont_probe, remote_vcont_resume) (remote_fetch_registers, remote_prepare_to_store) (remote_store_registers, check_binary_download) (remote_write_bytes, remote_insert_breakpoint) (remote_remove_breakpoint, remote_insert_watchpoint) (remote_remove_watchpoint, remote_insert_hw_breakpoint) (remote_remove_hw_breakpoint, remote_xfer_partial) (remote_get_thread_local_address): Update for packet array. (_initialize_remote): Likewise; also update for common set/show commands.
2006-02-20 * symfile.c (place_section): Correct retry logic.Daniel Jacobowitz2-3/+8
2006-02-202006-02-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini6-1888/+2152
PR bootstrap/25670 * Makefile.tpl ([+compare-target+]): Print explanation messages. * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass. * Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass. (EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES, BUILD_PREFIX, BUILD_PREFIX_1. * configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute. * Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too. * Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+], all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead of `cat stage_current`. Always provide the `r' and `s' variables. (clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into a single shell execution. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): For bootstrapped modules, make the stage1 module if the build was not started yet, else build the current stage. (all-host, all-target): Omit bootstrapped modules (if bootstrapping). (all-build, all-host, all-target, [+make_target+]-host, [+make_target+]-target): Do not use \-continued lines. (target modules): Depend on stage_last, not all-gcc, if bootstrapping. (current_stage, restrap, stage_last): New. * Makefile.in: Regenerate. * configure: Regenerate.
2006-02-20* win32_nat.c (cygwin_load_start): New variable.Christopher Faylor3-250/+388
(cygwin_load_end): Ditto. (have_saved_context): Ditto. (saved_context): Ditto. (max_dll_name_len): Delete obsolete variable. (do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll if we are in a cygwin signal rather than a windows signal. (solib_symbols_add): Detect and store beginning and end of cygwin DLL if dll being loaded is the cygwin DLL. (register_loaded_dll): Remove calculation of max_dll_name_len. (win32_clear_solib): Ditto. (handle_load_dll): Delete obsolete variable. Remove unneeded call to solib_add. (handle_output_debug_string): Detect and store signal information sent by Cygwin here. (handle_exception): Silently pass on errors in the cygwin DLL. Return -1 on first pass exception. (win32_continue): Remove spurious clearing of continue_status. (get_win32_debug_event): Deal differently first chance exception.
2006-02-20*** empty log message ***gdbadmin1-1/+1
2006-02-19daily updateAlan Modra1-1/+1
2006-02-19Reviewed and approved by Daniel JacobowitzFred Fish3-2/+8
2006-02-19 Fred Fish <fnf@specifix.com> * gdb.base/pc-fp.exp (get_valueofx): Don't print environment specifix hex value as part of results. * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
2006-02-192006-02-19 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+6
* hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no unwind entry.
2006-02-19*** empty log message ***gdbadmin1-1/+1
2006-02-18daily updateAlan Modra1-1/+1
2006-02-18 2006-02-16 Fred Fish <fnf@specifix.com>Fred Fish3-47/+18
* eval.c (evaluate_subexp_standard): For OP_TYPE, return a non lval value zero, of the appropriate type, when avoiding side effects. * typeprint.c (ptype_eval): Remove function and declaration. (ptype_command): Simplify to just a call to whatis_exp.
2006-02-18 2006-02-17 Fred Fish <fnf@specifix.com>Fred Fish2-18/+21
* gdb.texinfo (Symbols): Update descriptions of 'whatis' and 'ptype' commands to reflect the fact that the only significant difference between them is that ptype prints the complete type description instead of just the name.
2006-02-18 2006-02-16 Fred Fish <fnf@specifix.com>Fred Fish3-0/+33
* gdb.base/whatis.c: Define variables using typedefs char_addr, ushort_addr, and slong_addr, so the typedefs are not optimized away. * gdb.base/whatis.exp: Add tests using type name for struct type, union type, enum type, and typedef.
2006-02-18*** empty log message ***gdbadmin1-1/+1
2006-02-17daily updateAlan Modra1-1/+1
2006-02-17 * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):Kevin Buettner2-0/+93
New functions. * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
2006-02-17Add support for the Infineon XC16X.Nick Clifton113-106/+18377
2006-02-17 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.Nick Hudson2-0/+10
2006-02-17 * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.Alan Modra3-2/+9
* elf64-ppc.c (allocate_dynrelocs): Likewise.
2006-02-17 PR ld/2218Alan Modra3-16/+37
* elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is dynamic. (ppc64_elf_relocate_section): Check output reloc section size. * elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.
2006-02-17*** empty log message ***gdbadmin1-1/+1
2006-02-16daily updateAlan Modra1-1/+1
2006-02-162006-02-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-14/+72
PR ld/2322 * elf.c (get_segment_type): New function. (_bfd_elf_print_private_bfd_data): Use it. (print_segment_map): New function. (assign_file_positions_for_segments): Call print_segment_map when there are not enough room for program headers.
2006-02-16 bfd:Nick Hudson6-9/+25
* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use traditional MIPS ELF targets. gas: * configure.tgt: set emulation for mips-*-netbsd* ld: * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): Use the traditional target.
2006-02-16*** empty log message ***gdbadmin1-1/+1
2006-02-15daily updateAlan Modra1-1/+1
2006-02-152006-02-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+41
PR binutils/2338 * dwarf2.c (check_function_name): New function. (_bfd_dwarf2_find_nearest_line): Use check_function_name to check if function is correct.
2006-02-152006-02-15 Paul Brook <paul@codesourcery.com>Paul Brook2-5/+10
* arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc): Load insn opcodes as unsigned values.
2006-02-15 * linux-low.c (regsets_store_inferior_registers): Read the regsetDaniel Jacobowitz2-3/+22
from the target before filling it.
2006-02-15 * elflink.c (_bfd_elf_default_action_discarded): Return 0 forAlan Modra2-10/+10
debug sections. (elf_link_input_bfd): Adjust comments.
2006-02-15*** empty log message ***gdbadmin1-1/+1
2006-02-14daily updateAlan Modra1-1/+1
2006-02-14Update copyright noticeAlexandre Oliva11-18/+18
2006-02-14* doublest.h (DOUBLEST): Use long double only if we can scanAlexandre Oliva12-84/+43
it in. Undefine HAVE_LONG_DOUBLE otherwise. (DOUBLEST_FORMAT): New. * c-exp.y (parse_number): Use it. * jv-exp.y (parse_number): Likewise. * objc-exp.y (parse_number): Likewise. * p-exp.y (parse_number): Likewise. * varobj.c (free_variable): Silence type-punning warnings. * tui/tui-data.h (struct tui_list): Change type of list member. * tui/tui-data.c: Remove no-longer-needed type casts. (source_windows): Silence type-punning warnings. * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.
2006-02-14Fix PR breakpoints/2080.Mark Kettenis2-3/+61
* i386-tdep.c (struct i386_frame_cache): Add stack_align member. (i386_analyze_stack_align): New function. (i386_analyze_prologue): Use i386_analyze_stack_align. (i386_frame_cache): Deal with stack realignment.
2006-02-142006-02-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini5-157/+1024
Sync from gcc: 2006-01-31 Richard Guenther <rguenther@suse.de> Paolo Bonzini <bonzini@gnu.org> * Makefile.def (target_modules): Add libgcc-math target module. * configure.in (target_libraries): Add libgcc-math target library. (--enable-libgcc-math): New configure switch. * Makefile.in: Re-generate. * configure: Re-generate. * libgcc-math: New toplevel directory. 2006-01-18 Richard Henderson <rth@redhat.com> Jakub Jelinek <jakub@redhat.com> Diego Novillo <dnovillo@redhat.com> * libgomp: New directory. * Makefile.def: Add target_module libgomp. * Makefile.in: Regenerate. * configure.in (target_libraries): Add target-libgomp. * configure: Regenerate.
2006-02-142006-02-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini4-143/+220
Andreas Schwab <schwab@suse.de> * configure: Regenerate. config: 2006-02-14 Paolo Bonzini <bonzini@gnu.org> Andreas Schwab <schwab@suse.de> * acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Use correct program name. (ACX_CHECK_INSTALLED_TARGET_TOOL): Likewise, and always set $1.
2006-02-14Use more functions from gdb-ui.el.Nick Roberts1-285/+40
(gdb-break-list-regexp): Match "what" field if present. (gdb-stack-list-frames-regexp): Match "from" field if present. (gdb-stack-list-frames-handler): Present output like "info breakpoints" so regexps can be shared with gdb-ui
2006-02-14*** empty log message ***Nick Roberts1-0/+8
2006-02-14gas/Jakub Jelinek4-0/+20
* config.in: Rebuilt. binutils/ * config.in: Rebuilt.
2006-02-14 * config/tc-xtensa.c (xg_add_opcode_fix): Number operands startingBob Wilson2-21/+16
from 1, not 0, in error messages. (md_assemble): Simplify special-case check for ENTRY instructions. (tinsn_has_invalid_symbolic_operands): Do not include opcode and operand in error message.
2006-02-14*** empty log message ***gdbadmin1-1/+1
2006-02-13daily updateAlan Modra1-1/+1