summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2006-02-214-23/+21
| | | | | | | | | | * symfile.c (add_symbol_file_command): Use buildargv(), instead of hand decoding the command line, to allow use of quotes and spaces. (_initialize_symfile): Reorganize the help message for add-symbol-file such that 'help files' shows a better message. testsuite/ * gdb.base/help.exp (help add-symbol-file): Update.
* 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2006-02-216-21/+90
| | | | | | | | | | | | | | | | | * symfile.c (generic_load): Use buildargv() and tilde_expand() to parse file names with quoting, spaces and tildes properly. (load_command): Quote all special characters before calling target_load() such that buildargv() doesn't break file names. (_initialize_symfile): Mention the load offset in the help for the load command. * remote-sim.c: Include readline.h. (gdbsim_load): Use buildargv and tilde_expand() to parse file names with quoting, spaces and tildes properly. * target.h (target_load): Comment the parameters better. * Makefile.in (remote_sim.o): Add readline.h dependency. testsuite/ * gdb.base/help.exp (help load): Update expected results.
* 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2006-02-212-120/+178
| | | | | | | * sh-tdep.c (sh_generic_show_regs): Reformat both code and output. (sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise. (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise. (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise.
* 2006-02-21 Paul Brook <paul@codesourcery.com>Paul Brook2006-02-212-4/+8
| | | | * config/tc-arm.c (md_apply_fix): Fix off-by-one errors.
* merge from gccDJ Delorie2006-02-212-1/+5
|
* merge from gccDJ Delorie2006-02-213-1/+10
|
* PR ld/2218Alan Modra2006-02-2110-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.
* * bfd.c: (_bfd_default_error_handler): Don't call abort onAlan Modra2006-02-212-7/+14
| | | | | error, instead call _exit. (_bfd_abort): Call _exit not xexit.
* *** empty log message ***gdbadmin2006-02-211-1/+1
|
* 2006-02-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2006-02-203-2/+25
| | | | | | | PR ld/2218 * ld-pie/pie.exp: Add the weak undefined data test. * ld-pie/weakundef-data.c: New file.
* * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMINDaniel Jacobowitz2006-02-202-3/+14
| | | | and __SIGRTMIN + 1.
* * remote.c: Add an enumeration for configurable remoteDaniel Jacobowitz2006-02-202-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.
* * symfile.c (place_section): Correct retry logic.Daniel Jacobowitz2006-02-202-3/+8
|
* 2006-02-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-02-206-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.
* * win32_nat.c (cygwin_load_start): New variable.Christopher Faylor2006-02-203-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.
* *** empty log message ***gdbadmin2006-02-201-1/+1
|
* daily updateAlan Modra2006-02-191-1/+1
|
* Reviewed and approved by Daniel JacobowitzFred Fish2006-02-193-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-19 Randolph Chung <tausq@debian.org>Randolph Chung2006-02-192-1/+6
| | | | | * hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no unwind entry.
* *** empty log message ***gdbadmin2006-02-191-1/+1
|
* daily updateAlan Modra2006-02-181-1/+1
|
* 2006-02-16 Fred Fish <fnf@specifix.com>Fred Fish2006-02-183-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-17 Fred Fish <fnf@specifix.com>Fred Fish2006-02-182-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-16 Fred Fish <fnf@specifix.com>Fred Fish2006-02-183-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.
* *** empty log message ***gdbadmin2006-02-181-1/+1
|
* daily updateAlan Modra2006-02-171-1/+1
|
* * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):Kevin Buettner2006-02-172-0/+93
| | | | | New functions. * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
* Add support for the Infineon XC16X.Nick Clifton2006-02-17113-106/+18377
|
* * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.Nick Hudson2006-02-172-0/+10
|
* * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.Alan Modra2006-02-173-2/+9
| | | | * elf64-ppc.c (allocate_dynrelocs): Likewise.
* PR ld/2218Alan Modra2006-02-173-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.
* *** empty log message ***gdbadmin2006-02-171-1/+1
|
* daily updateAlan Modra2006-02-161-1/+1
|
* 2006-02-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2006-02-162-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.
* bfd:Nick Hudson2006-02-166-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.
* *** empty log message ***gdbadmin2006-02-161-1/+1
|
* daily updateAlan Modra2006-02-151-1/+1
|
* 2006-02-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2006-02-152-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-15 Paul Brook <paul@codesourcery.com>Paul Brook2006-02-152-5/+10
| | | | | * arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc): Load insn opcodes as unsigned values.
* * linux-low.c (regsets_store_inferior_registers): Read the regsetDaniel Jacobowitz2006-02-152-3/+22
| | | | from the target before filling it.
* * elflink.c (_bfd_elf_default_action_discarded): Return 0 forAlan Modra2006-02-152-10/+10
| | | | | debug sections. (elf_link_input_bfd): Adjust comments.
* *** empty log message ***gdbadmin2006-02-151-1/+1
|
* daily updateAlan Modra2006-02-141-1/+1
|
* Update copyright noticeAlexandre Oliva2006-02-1411-18/+18
|
* * doublest.h (DOUBLEST): Use long double only if we can scanAlexandre Oliva2006-02-1412-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.
* Fix PR breakpoints/2080.Mark Kettenis2006-02-142-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-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-02-145-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-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-02-144-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.
* Use more functions from gdb-ui.el.Nick Roberts2006-02-141-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
* *** empty log message ***Nick Roberts2006-02-141-0/+8
|