aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-06-03*** empty log message ***gdbadmin1-1/+1
2004-06-022004-06-02 Albert Chin-A-Young <china@thewrittenword.com>Andrew Cagney3-2/+9
Committed by Andrew Cagney. * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma after last enum constant to avoid error from IBM C compiler.
2004-06-02* ppc-linux-nat.c (store_register): Remove unused local 'offset'.Jim Blandy2-1/+2
2004-06-02* ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'Jim Blandy2-6/+11
to 'message', and make it local to the lone block that uses it.
2004-06-02ada-exp.y: Synchronize with current ACT sources.Paul N. Hilfinger8-4925/+7709
ada-lang.c: Ditto. ada-lang.h: Ditto. ada-lex.l: Ditto. ada-tasks.c: Ditto. ada-typeprint.c: Ditto. ada-valprint.c: Ditto.
2004-06-02* ppc-tdep.h: Delete unused 'regoff' member.Jim Blandy3-9/+5
* rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.
2004-06-02*** empty log message ***gdbadmin1-1/+1
2004-06-012004-06-01 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+17
Fix PR symtab/1661. * hpread.c (hpread_pxdb_needed): Call memset after alloca. (hpread_read_struct_type): Likewise.
2004-06-01 * s390-opc.txt: Correct architecture mask for some opcodes.Martin Schwidefsky2-9/+15
lrv, lrvh, strv, ml, dl, alc, slb rll and mvclu are available in the esa mode as well.
2004-06-012004-06-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-56/+51
* mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf instead of xasprintf. * mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt) (mi_cmd_thread_select, mi_cmd_thread_list_ids) (mi_cmd_data_list_register_names) (mi_cmd_data_list_changed_registers) (mi_cmd_data_list_register_values) (get_register, mi_cmd_data_write_register_values) (mi_cmd_data_write_register_values) (mi_cmd_data_assign, mi_cmd_data_evaluate_expression) (mi_cmd_target_download, mi_cmd_target_select) (mi_cmd_data_read_memory, mi_cmd_data_write_memory) (mi_execute_cli_command, mi_execute_async_cli_command) (mi_execute_async_cli_command): Ditto. * mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto. * mi/mi-cmd-var.c (mi_cmd_var_create): Ditto.
2004-06-012004-06-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-12/+6
* mi/mi-cmds.h (mi_error_last_message): Delete declaration. * mi/mi-interp.c (mi_cmd_interpreter_exec): Call error_last_message instead of mi_error_last_message. * mi/mi-main.c (mi_error_last_message): Delete function.
2004-06-012004-06-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-6/+7
* mi/mi-main.c (mi_cmd_data_read_memory): Add missing return for "invalid number of columns" error. Delete redundant "out of memory" check.
2004-06-012004-06-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini4-7/+12
* Makefile.tpl: Fix typo. * Makefile.in: Regenerate.
2004-06-012004-06-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-2/+8
* configure.in: Remove new- prefix from toplevel bootstrap targets. * configure: Regenerate.
2004-06-012004-06-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2-2/+27
Merge this patch from the gcc tree: 2004-05-30 Andreas Jaeger <aj@suse.de> Jim Wilson <wilson@specifixinc.com> * config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77 like CC.
2004-06-012004-06-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini6-162/+387
* Makefile.tpl (all.normal): Rename to all. (all): Replace with a rule to pick the default target from configure. (all-gcc, configure-gcc): Use conditionals to do nothing when toplevel bootstrap is going on. (GCC directory bootstrap) [gcc-bootstrap]: Disable. (Toplevel bootstrap) [gcc-no-bootstrap]: Disable. * configure.in: Support --enable-bootstrap. * Makefile.def: Remove new- prefix from toplevel bootstrap targets. * Makefile.tpl: Likewise. * Makefile.def: Add bootstrap_stage 4. Add bootstrap2 target. * Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) to recursive invocation of make. * Makefile.in: Regenerate. * configure: Regenerate.
2004-06-01*** empty log message ***gdbadmin1-1/+1
2004-06-01daily updateAlan Modra1-1/+1
2004-05-31merge from gccDJ Delorie2-1/+10
2004-05-31* i386bsd-nat.c: Don't include <sys/procfs.h>.Mark Kettenis2-66/+58
(gregset_t, fpregset_t): Remove typedefs. (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove macros. (REG_OFFSET): Rename argument. (i386bsd_r_reg_offset): Rename from reg_offset. (REG_ADDR): Remove macro. (cannot_fetch_register, supply_gregset, fill_gregset): Remove functions. (i386bsd_supply_gregset, i386bsd_collect_gregset): New functions. (fetch_inferior_registers): Use `struct reg' and `struct fpreg' instead of gregset_t and fpregset_t. Use i386bsd_supply_gregset instead of supply_gregset. (store_inferior_registers): Use `struct reg' and `struct fpreg' instead of gregset_t and fpregset_t. Use i386bsd_collect_gregset instead of fill_gregset. (register_u_addr): Use i386_r_reg_offset instead of REG_ADDR.
2004-05-31* i386bsd-nat.c: Don't include "gregset.h".Mark Kettenis3-23/+11
(supply_gregset, fill_gregset): Make static. (supply_fpregset, fill_fpregset): Remove. * Makefile.in (i386bsd-nat.o): Update dependencies.
2004-05-31*** empty log message ***gdbadmin1-1/+1
2004-05-31daily updateAlan Modra1-1/+1
2004-05-30* fbsd-proc.c: Include "regcache.h", "regset.h" andMark Kettenis3-6/+28
"gdb_assert.h". Con't include "gregset.h". (fbsd_make_corefile_notes): Use regset-based core file support instead off fill_gregset and fill_fpregset. * Makefile.in (fbsd-proc.o): Update dependencies.
2004-05-30* m88k-tdep.c (m88k_analyze_prologue): Fix handling of branchMark Kettenis2-5/+7
instructions. (m88k_frame_prev_register): Simplify code a bit.
2004-05-30* amd64-tdep.c (amd64_supply_fpregset): Adjust comment.Mark Kettenis2-4/+25
(amd64_collect_fpregset): New function. (amd64_regset_from_core_section): Use amd64_collect_fpregset.
2004-05-30* hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM.Mark Kettenis2-0/+3
2004-05-30* i386-tdep.c (i386_supply_gregset): Adjust comment.Mark Kettenis2-8/+62
(i386_collect_gregset): New function. (i386_supply_fpregset): Adjust comment. (i386_collect_fpregset): New function. (i386_regset_from_core_section): Use i386_collect_gregset and i386_collect_fpregset.
2004-05-30* hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement toMark Kettenis2-10/+24
handle VALUEP being null.
2004-05-30daily updateAlan Modra1-1/+1
2004-05-30*** empty log message ***gdbadmin1-1/+1
2004-05-29* regset.h (collect_regset_ftype): Unconstify fourth argument.Mark Kettenis2-1/+5
2004-05-292004-05-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-16/+12
* elfxx-ia64.c (elfNN_ia64_relax_section): Undo the last change.
2004-05-29* MAINTAINERS: Undelete m88k. Add myself as maintainer.Mark Kettenis2-1/+4
2004-05-29Fix botched checkin.Mark Kettenis1-2/+0
2004-05-29* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for newMark Kettenis1-5/+8
assembler in OpenBSD 3.5-current. (amd64obsd_sigcontext_addr): Likewise.
2004-05-29* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for newMark Kettenis1-0/+8
assembler in OpenBSD 3.5-current. (amd64obsd_sigcontext_addr): Likewise. * MAINTAINERS: Undelete m88k. Add myself as maintainer.
2004-05-29 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..Alan Modra2-6/+19
(lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
2004-05-29 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.Ian Lance Taylor2-0/+8
2004-05-29*** empty log message ***gdbadmin1-1/+1
2004-05-28* rs6000-tdep.c: Use the modern gdbarch methods for handling theJim Blandy2-61/+62
register set, so our regcache isn't declared "legacy" and our E500 pseudoregister read and write functions aren't ignored. (rs6000_register_byte, rs6000_register_raw_size, rs6000_register_virtual_type, rs6000_register_convertible, rs6000_register_convert_to_virtual, rs6000_register_convert_to_raw): Deleted. (rs6000_register_type, rs6000_convert_register_p, rs6000_register_to_value, rs6000_value_to_register): New functions. (rs6000_gdbarch_init): Don't register gdbarch_deprecated_register_size, gdbarch_deprecated_register_bytes, gdbarch_deprecated_register_byte, gdbarch_deprecated_register_raw_size, gdbarch_deprecated_register_virtual_type, gdbarch_deprecated_register_convertible, gdbarch_deprecated_register_convert_to_virtual, or gdbarch_deprecated_register_convert_to_raw methods. Instead, register gdbarch_register_type, gdbarch_convert_register_p, gdbarch_register_to_value, and gdbarch_value_to_register methods.
2004-05-28* elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addendDJ Delorie2-3/+21
for linking, but otherwise adjust reloc for merged sections.
2004-05-28* config/tc-mn10300.h (tc_fix_adjustable): Define.DJ Delorie3-2/+17
* config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug or non-merged symbols.
2004-05-282004-05-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-7/+21
* elfxx-ia64.c (elfNN_ia64_relax_section): Properly call _bfd_merged_section_offset for local symbols.
2004-05-282004-05-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-10/+11
* config/tc-ia64.c (remove_marked_resource): Save, clear and restore the old slot when inserting srlz.i/srlz.d.
2004-05-28* rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): Deleted.Jim Blandy2-16/+59
(rs6000_stab_reg_to_regnum, rs6000_dwarf2_reg_to_regnum): New functions, updated to match the register numberings used in GCC. (rs6000_gdbarch_init): Register rs6000_stab_reg_to_regnum and rs6000_dwarf2_reg_to_regnum as register number conversions functions for STABS and Dwarf2.
2004-05-282004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>Joern Rennecke17-277/+594
bfd: * Makefile.am: Regenerate dependencies. * Makefile.in: Regenerate. * archures.c: Add bfd_mach_sh3_nommu . * bfd-in2.h: Regenerate. * cpu-sh.c: Add sh3-nommu architecture. (bfd_to_arch_table): Create new table. (sh_get_arch_from_bfd_mach): Create new function. (sh_get_arch_up_from_bfd_mach): Create new function. (sh_merge_bfd_arch): Create new function. * elf32-sh.c (sh_ef_bfd_table): Add table. (sh_elf_check_relocs): Replace switch statement with use of sh_ef_bfd_table . (sh_elf_get_flags_from_mach): Add new function. (sh_find_elf_flags): Likewise. (sh_elf_copy_private_data): Replace most of non-elf contents with a call to sh_merge_bfd_arch() . gas: * Makefile.am: Regenerate dependecies. * Makefile.in: Regenerate. * config/tc-sh.c (valid_arch): Make unsigned. (preset_target_arch): Likewise. (md_begin): Use new architecture flags system. (get_specific): Likewise. (assemble_ppi): Likewise. (md_assemble): Likewise. Also fix error check for bad opcodes. (md_parse_option): Likewise. Also generate -isa values according to the table in bfd/cpu-sh.c instead of just constants. Also allow <arch>-up ISA variants. (sh_elf_final_processing): Replace if-else chain with a call to sh_find_elf_flags(). * testsuite/gas/sh/arch: New directory. * testsuite/gas/sh/arch/arch.exp: New test script. * testsuite/gas/sh/arch/arch_expected.txt: New file. * testsuite/gas/sh/arch/sh.s: New file. * testsuite/gas/sh/arch/sh2.s: New file. * testsuite/gas/sh/arch/sh-dsp.s: New file. * testsuite/gas/sh/arch/sh2e.s: New file. * testsuite/gas/sh/arch/sh3-nommu.s: New file. * testsuite/gas/sh/arch/sh3.s: New file. * testsuite/gas/sh/arch/sh3-dsp.s: New file. * testsuite/gas/sh/arch/sh3e.s: New file. * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file. * testsuite/gas/sh/arch/sh4-nofpu.s: New file. * testsuite/gas/sh/arch/sh4.s: New file. * testsuite/gas/sh/arch/sh4a-nofpu.s: New file. * testsuite/gas/sh/arch/sh4al-dsp.s: New file. * testsuite/gas/sh/arch/sh4a.s: New file. include/elf: * sh.h (EF_SH_HAS_DSP): Remove. (EF_SH_HAS_FP): Remove. (EF_SH_MERGE_MACH): Remove. (EF_SH4_NOFPU): Convert to decimal. (EF_SH4A_NOFPU): Likewise. (EF_SH4_NOMMU_NOFPU): Likewise. (EF_SH3_NOMMU): Add new macro. (EF_SH_BFD_TABLE): Likewise. (sh_find_elf_flags): Add prototype. (sh_elf_get_flags_from_mach): Likewise. opcodes: * sh-dis.c (target_arch): Make unsigned. (print_insn_sh): Replace (most of) switch with a call to sh_get_arch_from_bfd_mach(). Also use new architecture flags system. * sh-opc.h: Redefine architecture flags values. Add sh3-nommu architecture. Reorganise <arch>_up macros so they make more visual sense. (SH_MERGE_ARCH_SET): Define new macro. (SH_VALID_BASE_ARCH_SET): Likewise. (SH_VALID_MMU_ARCH_SET): Likewise. (SH_VALID_CO_ARCH_SET): Likewise. (SH_VALID_ARCH_SET): Likewise. (SH_MERGE_ARCH_SET_VALID): Likewise. (SH_ARCH_SET_HAS_FPU): Likewise. (SH_ARCH_SET_HAS_DSP): Likewise. (SH_ARCH_UNKNOWN_ARCH): Likewise. (sh_get_arch_from_bfd_mach): Add prototype. (sh_get_arch_up_from_bfd_mach): Likewise. (sh_get_bfd_mach_from_arch_set): Likewise. (sh_merge_bfd_arc): Likewise. ld: * testsuite/ld-sh/arch/arch.exp: New test script. * testsuite/ld-sh/arch/arch_expected.txt: New file. * testsuite/ld-sh/arch/sh.s: New file. * testsuite/ld-sh/arch/sh2.s: New file. * testsuite/ld-sh/arch/sh-dsp.s: New file. * testsuite/ld-sh/arch/sh2e.s: New file. * testsuite/ld-sh/arch/sh3-nommu.s: New file. * testsuite/ld-sh/arch/sh3.s: New file. * testsuite/ld-sh/arch/sh3-dsp.s: New file. * testsuite/ld-sh/arch/sh3e.s: New file. * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. * testsuite/ld-sh/arch/sh4-nofpu.s: New file. * testsuite/ld-sh/arch/sh4.s: New file. * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. * testsuite/ld-sh/arch/sh4al-dsp.s: New file. * testsuite/ld-sh/arch/sh4a.s: New file.
2004-05-28 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flagsAlan Modra4-241/+306
throughout file. * lexsup.c: Formatting. Wrap long lines. * ldwrite.c: Update copyright date.
2004-05-28Convert mode 5 addressing with zero offset into mode 2 addressing to save aNick Clifton6-0/+44
word.
2004-05-28 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.Alan Modra3-47/+31
(output_section_callback): Nor SEC_KEEP here. (gc_section_callback): Twiddle SEC_EXCLUDE here. (lang_gc_wild): Delete. Fold into.. (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage collecting. (lang_process): Always call lang_gc_sections. (lang_place_orphans): Handle SEC_EXCLUDE sections. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove SEC_EXCLUDE code.