summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert the value change of DT_ENCODING from 2003-01-17. Luckily (andJan Beulich2007-04-262-1/+6
| | | | | | | | | | | surprisingly) the value isn't really being used anywhere, henc no other changes are needed. include/elf/ 2007-04-26 Jan Beulich <jbeulich@novell.com> * common.h (DT_ENCODING): Correct value (back to spec mandated value).
* merge from gccDJ Delorie2007-04-262-14/+27
|
* * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",Ulrich Weigand2007-04-268-102/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | and "regcache.h". (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. (alpha_linux_gregset, alpha_linux_fpregset): New variables. (alpha_linux_regset_from_core_section): New function. (alpha_linux_init_abi): Install it. * alpha-linux-nat.c: Do not include "gdbcore.h". Include "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, <sys/procfs.h>, and "gregset.h". (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): Move from config/alpha/nm-linux.h. (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy from alpha-nat.c. (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. * alpha-nat.c: Remove #ifdef __linux__ section. (fetch_elf_core_registers, alpha_elf_core_fns): Remove. (_initialize_core_alpha): Do not register alpha_elf_core_fns. (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. (NATDEPFILES): Remove alpha-nat.o. * config/alpha/nm-linux.h: Delete file. * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. * Makefile.in (alpha-linux-nat.o): Update dependencies. (alpha-linux-tdep.o): Likewise.
* daily updateAlan Modra2007-04-261-1/+1
|
* *** empty log message ***gdbadmin2007-04-261-1/+1
|
* * mips-linux-nat.c: No longer include "gdbcore.h".Ulrich Weigand2007-04-254-113/+90
| | | | | | | | | | | | | | | (mips_linux_register_addr): Move from mips-linux-tdep.c. (mips64_linux_register_addr): Likewise. (mips_linux_register_u_offset): Call mips_linux_register_addr or mips64_linux_register_addr instead of register_addr. * mips-linux-tdep.c (mips_linux_register_addr, mips64_linux_register_addr): Move to mips-linux-nat.c. (register_addr): Remove. (register_addr_data, init_register_addr_data): Remove. (_initialize_mips_linux_tdep): Do not initialize register_addr_data. (set_mips_linux_register_addr): Remove. (mips_linux_init_abi): Do not call set_mips_linux_register_addr. * Makefile.in (mips-linux-nat.o): Update dependencies.
* * linux-nat.c (linux_register_u_offset): Remove.Ulrich Weigand2007-04-2526-287/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (linux_target_install_ops): New function. (linux_target): Use it. (linux_trad_target): New function. * linux-nat.h (linux_trad_target): Declare. * alpha-linux-nat.c: Include "gdbcore.h". (alpha_linux_register_u_offset): New function. (_initialize_alpha_linux_nat): Use linux_trad_target. * mips-linux-nat.c: Include "gdbcore.h". (mips_linux_register_u_offset): New function. (_initialize_mips_linux_nat): Use linux_trad_target. * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/arm/nm-linux.h: Delete file. * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/ia64/nm-linux.h: Delete file. * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/m32r/nm-linux.h: Delete file. * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/m68k/nm-linux.h: Delete file. * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/pa/nm-linux.h: Delete file. * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. * config/powerpc/nm-linux.h: Delete file. * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. * config/s390/nm-linux.h: Delete file. * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. * config/sparc/linux64.mh (NAT_FILE): Likewise. * config/sparc/nm-linux.h: Delete file. * Makefile.in (alpha-linux-nat.o): Update dependencies. (mips-linux-nat.o): Likewise.
* * core-aout.c: Delete file.Ulrich Weigand2007-04-2522-358/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (ALLDEPFILES): Remove core-aout.c. (core-aout.o): Delete rule. * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. (cannot_fetch_register, cannot_store_register): Remove. (fetch_register): Inline cannot_fetch_register and register_addr. (store_register): Inline cannot_store_register and register_addr. * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove. * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. (fetch_register): Inline register_addr. (store_register): Inline register_addr. * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, U_REGS_OFFSET, REGISTER_U_ADDR): Remove. * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, REGISTER_U_ADDR): Remove. * hppa-linux-nat.c (register_addr): Rename to ... (hppa_linux_register_addr): ... this. Make static. (fetch_register, store_register): Adapt callers. * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. * ppc-linux-nat.c (kernel_u_size): Remove. * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. (NAT_FILE): Remove. * config/vax/nm-vax.h: Delete file.
* * gdb.base/sigaltstack.exp: Use 'srcfile' in errorVladimir Prus2007-04-256-5/+17
| | | | | | | | | message, not the undefined 'module' variable. * gdb.base/siginfo.exp: Likewise. * gdb.base/sigstep.exp: Likewise. * lib/gdbserver-support.exp (gdb_target_cmd): Quote serialport. * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
* * config/sim.exp (gdb_target_sim): Just return with -1 when settingCorinna Vinschen2007-04-252-3/+9
| | | | | target sim fails. Return 0 otherwise. (gdb_load): Return prematurely if gdb_target_sim fails.
* * sysdep.h: Revert last change.Alan Modra2007-04-252-0/+6
|
* *** empty log message ***gdbadmin2007-04-251-1/+1
|
* daily updateAlan Modra2007-04-251-1/+1
|
* 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>Martin Schwidefsky2007-04-243-1/+9
| | | | | | | | | | | | * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the opcode. * opcodes/s390-opc.txt (pfpo, ectg, csst): New z9-ec instructions added. 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/zarch-z9-ec.d: Add pfpo, ectg and csst. * gas/s390/zarch-z9-ec.s: Likewise.
* Fix compile time warning (at -O3 with gcc 4.1.2)Nick Clifton2007-04-242-1/+5
|
* Fix compile time warnings (at -O3 with gcc 4.1.2)Nick Clifton2007-04-243-1/+8
|
* * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn ifAlan Modra2007-04-242-1/+13
| | | | eh_frame_hdr table won't be created.
* * cgen-types.h: Include bfd_stdint.h, not stdint.h.Alan Modra2007-04-244-23/+38
| | | | | * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate.
* * Makefile.in: Regenerate.Alan Modra2007-04-242-2/+7
|
* * acinclude.m4: Include config/stdint.m4.Alan Modra2007-04-247-4/+3220
| | | | | | | | * configure.in: Invoke GCC_HEADER_STDINT. * sysdep.h: Don't include ansidecl.h here. * configure: Regenerate. * config.in: Regenerate. * Makefile.in: Regenerate.
* *** empty log message ***gdbadmin2007-04-241-1/+1
|
* daily updateAlan Modra2007-04-241-1/+1
|
* gas/testsuite/Nathan Sidwell2007-04-239-50/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gas/m68k/br-isaa.s: New. * gas/m68k/br-isaa.d: New. * gas/m68k/br-isab.s: New. * gas/m68k/br-isab.d: New. * gas/m68k/br-isac.s: New. * gas/m68k/br-isac.d: New. * gas/m68k/all.exp: Adjust. gas/ * config/tc-m68k.c (mcf54455_ctrl): New. (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New. (m68k_archs): Add isac. (m68k_cpus): Add 54455 family. (m68k_ip): Split Bg into Bb, Bs, Bg. (m68k_elf_final_processing): Add ISA_C. * doc/c-m68k.texi (M680x0 Options): Add isac. include/opcode/ * m68k.h (mcfisa_c): New. (mcfusp, mcf_mask): Adjust. bfd/ * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, bfd_mach_mcf_isa_c_emac): New. * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, elf_isac_plt_entry, elf_isac_plt_info): New. (elf32_m68k_object_p): Add ISA_C. (elf32_m68k_print_private_bfd_data): Print ISA_C. (elf32_m68k_get_plt_info): Detect ISA_C. * cpu-m68k.c (arch_info): Add ISAC. (m68k_arch_features): Likewise, (bfd_m68k_compatible): ISAs B & C are not compatible. opcodes/ * m68k-opc.c: Mark mcfisa_c instructions.
* daily updateAlan Modra2007-04-231-1/+1
|
* *** empty log message ***gdbadmin2007-04-231-1/+1
|
* daily updateAlan Modra2007-04-221-1/+1
|
* *** empty log message ***gdbadmin2007-04-221-1/+1
|
* * arm-dis.c (arm_opcodes): Disassemble to unified syntax.Richard Earnshaw2007-04-212-90/+121
| | | | | | | (thumb_opcodes): Add missing white space in adr. (arm_decode_shift): New parameter, print_shift. Only decode the shift parameter if set. Adjust callers. (print_insn_arm): Support for operand type q with no shift decode.
* * ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.Nick Clifton2007-04-214-5/+16
| | | | | | | | (ecoff_link_add_archive_symbols): Likewise. * coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise relent.howto. * ieee.c (parse_int): Initialise x. (must_parse_int): Initialise result. (ieee_slurp_external_symbols): Initialise value.
* gas/Alan Modra2007-04-213-9/+7
| | | | | | | | | | | | | | | | | * expr.c (expr): Assert on rankarg, not rank which can be unsigned. * read.c (read_a_source_file): Remove buffer_limit[-1] assertion. Don't skip over NUL char. (pseudo_set): Set X_op for registers to O_register. * symbols.c (symbol_clone): Remove assertion that sym is defined. (resolve_symbol_value): Resolve O_register symbols. * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab. Instead find st(0) by hash lookup. * config/tc-ppc.c (ppc_macro): Warning fix. opcodes/ * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete. Move contents to.. (i386_regtab): ..here. * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
* * ppc-opc.c (powerpc_operands): Delete duplicate entries.Alan Modra2007-04-212-58/+36
| | | | | | (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete. (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete. (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
* * config.bfd (spu-*-elf): Delete targ_selvecs.Alan Modra2007-04-212-1/+4
|
* *** empty log message ***gdbadmin2007-04-211-1/+1
|
* daily updateAlan Modra2007-04-211-1/+1
|
* gas/Nathan Sidwell2007-04-202-1/+8
| | | | | | | | | | | | | | | | | | | | | | | * config/m68k-parse.h (RAMBAR_ALT): New. * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New. (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl, mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl, mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl, mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for RAMBAR1. (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT. (m68k_cpus): Adjust 5206, 5206e & 5307 entries. (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it to control register mapping. gas/testsuite/ * gas/m68k/ctrl-1.d, gas/m68k/ctrl-1.s: New. * gas/m68k/ctrl-2.d, gas/m68k/ctrl-2.s: New. * gas/m68k/all.exp: Add them. opcodes/ * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as rambar1.
* include/opcode/Alan Modra2007-04-205-394/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ppc.h (struct powerpc_operand): Replace "bits" with "bitm". (num_powerpc_operands): Declare. (PPC_OPERAND_SIGNED et al): Redefine as hex. (PPC_OPERAND_PLUS1): Define. opcodes/ * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand change. * ppc-opc.c (powerpc_operands): Replace bit count with bit mask in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove references to following deleted functions. (insert_bd, extract_bd, insert_dq, extract_dq): Delete. (insert_ds, extract_ds, insert_de, extract_de): Delete. (insert_des, extract_des, insert_li, extract_li): Delete. (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete. (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete. (num_powerpc_operands): New constant. (XSPRG_MASK): Remove entire SPRG field. (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK. gas/ * messages.c (as_internal_value_out_of_range): Extend to report errors for values with invalid low bits set. * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm fields. Check that operands and opcode fields are disjoint. (ppc_insert_operand): Check operands using mask rather than bit count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust insertion code. (md_apply_fix): Adjust for struct powerpc_operand change.
* * MAINTAINERS (Write After Approval): Add myself.Mark Shinwell2007-04-202-0/+5
|
* Correct erroneous ChangeLog commit.Mark Shinwell2007-04-202-13/+13
|
* * Makefile.in: Adjust dependencies of m68klinux-tdep.c.Mark Shinwell2007-04-203-3/+78
| | | | | | | | | | | | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. (m68k_linux_sigcontext_reg_offset): Fix typo. (target_is_uclinux): New. (m68k_linux_inferior_created): New. (m68k_linux_get_sigtramp_info): Check for uClinux or normal Linux. Use m68k_uclinux_sigcontext_reg_offset for uClinux. (_initialize_m68k_linux_tdep): Register m68k_linux_inferior_created.
* * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.Alan Modra2007-04-202-37/+37
| | | | | (Z2_MASK): Define. (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
* * arm-dis.c (print_insn): Only look for a mapping symbol in the sectionRichard Earnshaw2007-04-202-2/+9
| | | | being disassembled.
* daily updateAlan Modra2007-04-201-1/+1
|
* *** empty log message ***gdbadmin2007-04-201-1/+1
|
* * win32-nat.c (win32_detach): Remove delete_command call.Pedro Alves2007-04-192-2/+8
| | | | Resume inferior with win32_resume instead of win32_continue.
* Correct SSE4.2 ChangeLog entry.H.J. Lu2007-04-191-1/+1
|
* * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.Nick Clifton2007-04-192-0/+5
|
* * ser-mingw.c (fd_is_file): New function.Jerome Guitton2007-04-192-2/+56
| | | | | (file_select_thread): New function. (ser_console_wait_handle): Add special handling for files.
* ..Alan Modra2007-04-191-0/+6
|
* missed from last commitAlan Modra2007-04-191-1/+84
|
* * Makefile.am: Run "make dep-am".Alan Modra2007-04-193-6/+9
| | | | | * Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.