summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2006-02-24 Randolph Chung <tausq@debian.org>Randolph Chung2006-02-243-45/+8
| | | | | | | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize argreg. * solib-som.c (som_solib_remove_inferior_hook): Remove unused function.
* daily updateAlan Modra2006-02-241-1/+1
|
* [include/elf]DJ Delorie2006-02-2412-12811/+13205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m32c.h: Add relax relocs. [cpu] * m32c.cpu (RL_TYPE): New attribute, with macros. (Lab-8-24): Add RELAX. (unary-insn-defn-g, binary-arith-imm-dst-defn, binary-arith-imm4-dst-defn): Add 1ADDR attribute. (binary-arith-src-dst-defn): Add 2ADDR attribute. (jcnd16-5, jcnd16, jcnd32, jmp16.s, jmp16.b, jmp16.w, jmp16.a, jmp32.s, jmp32.b, jmp32.w, jmp32.a, jsr16.w, jsr16.a): Add JUMP attribute. (jsri16, jsri32): Add 1ADDR attribute. (jsr32.w, jsr32.a): Add JUMP attribute. [opcodes] * m32c-desc.c: Regenerate with linker relaxation attributes. * m32c-desc.h: Likewise. * m32c-dis.c: Likewise. * m32c-opc.c: Likewise. [gas] * config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix. (tc_gen_reloc): Don't define. * config/tc-m32c.c (rl_for, relaxable): New convenience macros. (OPTION_LINKRELAX): New. (md_longopts): Add it. (m32c_relax): New. (md_parse_options): Set it. (md_assemble): Emit relaxation relocs as needed. (md_convert_frag): Emit relaxation relocs as needed. (md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16. (m32c_apply_fix): New. (tc_gen_reloc): New. (m32c_force_relocation): Force out jump relocs when relaxing. (m32c_fix_adjustable): Return false if relaxing. [bfd] * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs. (m32c_elf_relocate_section): Don't relocate them. (compare_reloc): New. (relax_reloc): Remove. (m32c_offset_for_reloc): New. (m16c_addr_encodings): New. (m16c_jmpaddr_encodings): New. (m32c_addr_encodings): New. (m32c_elf_relax_section): Relax jumps and address displacements. (m32c_elf_relax_delete_bytes): Adjust for internal syms. Fix up short jumps. * reloc.c: Add m32c relax relocs. * libbfd.h: Regenerate.
* 2006-02-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2006-02-245-9/+54
| | | | | | | | | | | | | | | PR ld/2218 * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol. (_bfd_elf_link_hash_fixup_symbol): New. * elflink.c (_bfd_elf_link_hash_fixup_symbol): New. (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if it isn't NULL. * elfxx-ia64.c (elf_backend_fixup_symbol): Defined. * elfxx-target.h (elf_backend_fixup_symbol): New. (elfNN_bed): Initialize elf_backend_fixup_symbol.
* 2006-02-24 Paul Brook <paul@codesourcery.com>Paul Brook2006-02-244-88/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gas/ * config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7, arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables. (struct asm_barrier_opt): Define. (arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables. (parse_psr): Accept V7M psr names. (parse_barrier): New function. (enum operand_parse_code): Add OP_oBARRIER. (parse_operands): Implement OP_oBARRIER. (do_barrier): New function. (do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions. (do_t_cpsi): Add V7M restrictions. (do_t_mrs, do_t_msr): Validate V7M variants. (md_assemble): Check for NULL variants. (v7m_psrs, barrier_opt_names): New tables. (insns): Add V7 instructions. Mark V6 instructions absent from V7M. (md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh. (arm_cpu_option_table): Add Cortex-M3, R4 and A8. (arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m. (struct cpu_arch_ver_table): Define. (cpu_arch_ver): New. (aeabi_set_public_attributes): Use cpu_arch_ver. Set Tag_CPU_arch_profile. * doc/c-arm.texi: Document new cpu and arch options. gas/testsuite/ * gas/arm/thumb32.d: Fix expected msr and mrs output. * gas/arm/arch7.d: New test. * gas/arm/arch7.s: New test. * gas/arm/arch7m-bad.l: New test. * gas/arm/arch7m-bad.d: New test. * gas/arm/arch7m-bad.s: New test. include/opcode/ * arm.h: Add V7 feature bits. opcodes/ * arm-dis.c (arm_opcodes): Add V7 instructions. (thumb32_opcodes): Ditto. Handle V7M MSR/MRS variants. (print_arm_address): New function. (print_insn_arm): Use it. Add 'P' and 'U' cases. (psr_name): New function. (print_insn_thumb32): Add 'U', 'C' and 'D' cases.
* * gdb.fortran/derived-type.f90: New file.Wu Zhou2006-02-243-0/+111
| | | | * gdb.fortran/derived-type.exp: New testcase.
* * f-exp.y: Symbol '%' is not used as the modulus operator inWu Zhou2006-02-244-21/+81
| | | | | | | | | | | | | | | | Fortran. Delete this from Fortran expression. It is now used by Fortran 90 and later to access the member of derived type. Add this into Fortran expression. * f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT. Print each elements in the derived type. * f-typeprint.c (print_equivalent_f77_float_type): Add a parameter level into the function definition to do indented printing. And call fprintfi_filtered instead to do indented printing. (f_type_print_base): Replace fprintf_filtered with the indented version (fprintfi_filtered). (f_type_print_base): Call indented print_equivalent_f77_float_type. (f_type_print_base): Add code to handle TYPE_CODE_STRUCT. Print the definition of the derived type.
* *** empty log message ***gdbadmin2006-02-241-1/+1
|
* daily updateAlan Modra2006-02-231-1/+1
|
* bfd/H.J. Lu2006-02-238-4796/+4986
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * cpu-ia64-opc.c (ins_immu5b): New. (ext_immu5b): Likewise. (elf64_ia64_operands): Add IMMU5b. gas/ 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b. gas/testsuite/ 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/opc-i.s: Add tests for tf. * gas/ia64/pseudo.s: Likewise. * gas/ia64/opc-i.d: Updated. * gas/ia64/pseudo.d: Likewise. include/opcode/ 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * ia64.h (ia64_opnd): Add IA64_OPND_IMMU5b. opcodes/ 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * ia64-opc-i.c (bXc): New. (mXc): Likewise. (OpX2TaTbYaXcC): Likewise. (TF). Likewise. (TFCM). Likewise. (ia64_opcodes_i): Add instructions for tf. * ia64-opc.h (IMMU5b): New. * ia64-asmtab.c: Regenerated.
* * gdb_curses.h: Provide a fallback prototype for tgetnum.Daniel Jacobowitz2006-02-232-1/+11
|
* * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLEDaniel Jacobowitz2006-02-237-24/+26
| | | | | | | | | | | | also. (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT. (DOUBLEST_SCAN_FORMAT): New. * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions. (processReal): Use DOUBLEST_SCAN_FORMAT. * c-exp.y (parse_number): Likewise. * jv-exp.y (parse_number): Likewise. * objc-exp.y (parse_number): Likewise. * p-exp.y (parse_number): Likewise.
* * event-top.c (async_do_nothing, async_disconnect)Daniel Jacobowitz2006-02-232-5/+23
| | | | | | | | | | (async_stop_sig, async_float_handler): Remove duplicated prototypes. (handle_sighup): Guard prototype with SIGHUP. (async_do_nothing): Guard function and prototype with SIGQUIT || SIGHUP. (async_disconnect): Guard prototype with SIGHUP. (async_stop_sig): Guard prototype with STOP_SIGNAL.
* * maint.c (maintenance_dump_me): Remove unnecessary prototype.Daniel Jacobowitz2006-02-232-2/+4
|
* * win32-termcap.c (tputs): Return 0.Daniel Jacobowitz2006-02-232-1/+7
|
* * gdb.base/default.exp: Allow ';' as a directory separator.Daniel Jacobowitz2006-02-232-3/+7
|
* * readline/terminal.c (_rl_get_screen_size): Get console size fromDaniel Jacobowitz2006-02-232-0/+24
| | | | the Windows API when compiling with MinGW.
* Update copyright years.H.J. Lu2006-02-233-2/+8
|
* * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_timeHans-Peter Nilsson2006-02-232-1/+17
| | | | | mapping. (cris_break_13_handler) <case TARGET_SYS_time>: New case.
* * sim/cris/c/time2.c: New test.Hans-Peter Nilsson2006-02-232-0/+22
|
* gas/H.J. Lu2006-02-237-4429/+4563
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* *** empty log message ***gdbadmin2006-02-231-1/+1
|
* daily updateAlan Modra2006-02-221-1/+1
|
* *** empty log message ***gdbadmin2006-02-221-1/+1
|
* daily updateAlan Modra2006-02-211-1/+1
|
* * configure.ac: Introduce ---enable-werror, which adds -Werror toMark Kettenis2006-02-213-2/+48
| | | | | | the compiler command line. Enabled by default. Disable with --disable-werror. * configure regenerate.
* * elfread.c (elf_symtab_read): Skip symbols which BFD considersDaniel Jacobowitz2006-02-212-1/+12
| | | | special.
* 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2006-02-214-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-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.
* merge from gccDJ Delorie2006-02-213-1/+6
|
* merge from gccDJ Delorie2006-02-212-1/+9
|
* 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
|
* * 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-202-125/+205
| | | | | | | | | | | | | | | | | | | | | (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.