aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-02-23 * win32-termcap.c (tputs): Return 0.Daniel Jacobowitz3-2/+10
2006-02-23 * gdb.base/default.exp: Allow ';' as a directory separator.Daniel Jacobowitz2-3/+7
2006-02-23 * readline/terminal.c (_rl_get_screen_size): Get console size fromDaniel Jacobowitz2-0/+24
the Windows API when compiling with MinGW.
2006-02-23Update copyright years.H.J. Lu5-3/+13
2006-02-23 * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_timeHans-Peter Nilsson2-1/+17
mapping. (cris_break_13_handler) <case TARGET_SYS_time>: New case.
2006-02-23 * sim/cris/c/time2.c: New test.Hans-Peter Nilsson2-0/+22
2006-02-23gas/H.J. Lu14-4434/+4596
2006-02-22 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (specify_resource): Add the rule 17 from SDM 2.2. gas/testsuite/ 2006-02-22 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/dv-raw-err.s: Add check for vmsw.0. * gas/ia64/dv-raw-err.l: Updated. * gas/ia64/opc-b.s: Add vmsw.0 and vmsw.1. * gas/ia64/opc-b.d: Updated. opcodes/ 2006-02-22 H.J. Lu <hongjiu.lu@intel.com> * ia64-gen.c (lookup_regindex): Handle ".vm". (print_dependency_table): Handle '\"'. * ia64-ic.tbl: Updated from SDM 2.2. * ia64-raw.tbl: Likewise. * ia64-waw.tbl: Likewise. * ia64-asmtab.c: Regenerated. * ia64-opc-b.c (ia64_opcodes_b): Add vmsw.0 and vmsw.1.
2006-02-23*** empty log message ***gdbadmin1-1/+1
2006-02-22daily updateAlan Modra1-1/+1
2006-02-222006-02-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+19
* ld-pie/pie.c: New file. * ld-pie/pie.exp: Check if compiler supports -pie.
2006-02-222005-02-22 Paul Brook <paul@codesourcery.com>Paul Brook4-5/+14
gas/ * config/tc-arm.c (do_pld): Remove incorrect write to inst.instruction. (encode_thumb32_addr_mode): Use correct operand. gas/testsuite/ * gas/arm/thumb32.d: Fix expected pld opcode.
2006-02-22*** empty log message ***gdbadmin1-1/+1
2006-02-21daily updateAlan Modra1-1/+1
2006-02-21* configure.ac: Introduce ---enable-werror, which adds -Werror toMark Kettenis3-2/+48
the compiler command line. Enabled by default. Disable with --disable-werror. * configure regenerate.
2006-02-21 * elfread.c (elf_symtab_read): Skip symbols which BFD considersDaniel Jacobowitz2-1/+12
special.
2006-02-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs4-29/+65
* defs.h (directory_switch): Add prototype. * main.c (captured_main): Use directory_switch() instead of directory_command() to add directories from the -d switch. * source.c (directory_switch): New function. (add_path): Use buildargv() to parse spaces in filenames properly. Strip multiple trailing '/' rather than just one.
2006-02-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs4-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-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs6-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-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-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-212006-02-21 Paul Brook <paul@codesourcery.com>Paul Brook2-4/+8
* config/tc-arm.c (md_apply_fix): Fix off-by-one errors.
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.