aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-07-192003-07-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+6
* po/Make-in (.po.gmo): Do check if the .gmo file is writable before generating it.
2003-07-192003-07-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+8
* elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change.
2003-07-192003-07-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-6/+14
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo. (SYMBOL_CALLS_LOCAL): Likewise. * elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE immediately if symbol isn't defined locally.
2003-07-19*** empty log message ***gdbadmin1-1/+1
2003-07-19daily updateAlan Modra1-1/+1
2003-07-182003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-90/+14
* gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. * gdbarch.h, gdbarch.c: Re-generate. * i386-tdep.c (i386_gdbarch_init): Do not set DWARF2_BUILD_FRAME_INFO. * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info unconditionally. * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set DWARF2_BUILD_FRAME_INFO.
2003-07-18 * elflink.c (_bfd_elf_dynamic_symbol_p): New.Richard Henderson7-154/+120
* elf-bfd.h (_bfd_elf_dynamic_symbol_p): Declare it. (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use it. * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Likewise. * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. * elf64-hppa.c (elf64_hppa_dynamic_symbol_p): Likewise. * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Likewise. Update all callers to provide the relocation being resolved.
2003-07-182003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+6
From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: * disasm.c (gdb_disassemble_info): Initilize di.arch.
2003-07-182003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-18/+17
* dwarf2-frame.c (dwarf2_frame_sniffer): Use frame_unwind_address_in_block, instead of frame_pc_unwind. (dwarf2_frame_cache): Ditto.
2003-07-182003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-1/+9
* user-regs.h (struct gdbarch): Declare opaque. * ui-out.h (struct ui_file): Declare opaque. * dwarf2-frame.h (struct frame_info): Declare opaque.
2003-07-182003-07-18 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2-4/+11
* nto-procfs.c: Clean ARI hits. Change #include <..> to #include .... (procfs_meminfo): Change strerror to safe_strerror. (procfs_can_run): Remove K&R badness.
2003-07-18* objdump.c (main) :Accept multiple -M switch.Nick Clifton5-34/+38
* doc/binutils.texi: Document that multiple -M switches are accepted and that a single -M switch can contain comma separated options. * arm-dis.c (parse_arm_disassembler_option): Do not expect option string to be NUL terminated. (parse_disassembler_options): Allow options to be space or comma separated.
2003-07-182003-07-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+6
* remote-sim.c: Comment typo fix.
2003-07-182003-07-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-10/+12
* compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
2003-07-182003-07-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+7
* compile.c (decode): IMM16 is always zero-extended.
2003-07-18daily updateAlan Modra1-1/+1
2003-07-18*** empty log message ***gdbadmin1-1/+1
2003-07-172003-07-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-11/+11
* defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by configure. * sparc-tdep.c (sparc_intreg_size): Make non-static. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_PARTIAL.
2003-07-17 * objdump.c (main): Issue a warning message if multiple -MNick Clifton3-1/+23
switches are used. * doc/binutils.texi (objdump): Update documentation about -M option.
2003-07-17Add libcygwin to the lib autofiler listNick Clifton2-0/+5
2003-07-17 (IMAGE_FILE_NET_RUN_FROM_SWAP): Define.Nick Clifton2-19/+50
(IMAGE_FILE_MACHINE_WCEMIPSV2): Define. (IMAGE_FILE_MACHINE_SH3DSP): Define. (IMAGE_FILE_MACHINE_SH3E): Define. (IMAGE_FILE_MACHINE_SH5): Define. (IMAGE_FILE_MACHINE_AM33): Define. (IMAGE_FILE_MACHINE_POWERPCFP): Define. (IMAGE_FILE_MACHINE_AXP64): Define. (IMAGE_FILE_MACHINE_TRICORE): Define. (IMAGE_FILE_MACHINE_CEF): Define. (IMAGE_FILE_MACHINE_EBC): Define. (IMAGE_FILE_MACHINE_AMD64): Define. (IMAGE_FILE_MACHINE_M32R): Define. (IMAGE_FILE_MACHINE_CEE): Define.
2003-07-17Define ARM_COFF_BUGFIX for arm-wince-pe targetsNick Clifton2-1/+6
2003-07-17Update translationsNick Clifton20-6239/+8648
2003-07-172003-07-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-1/+48
* Makefile.in (x86-64-linux-nat.o): Update dependencies. * x86-64-linux-nat.c (ps_get_thread_area): New function. Add include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h.
2003-07-17daily updateAlan Modra1-1/+1
2003-07-17*** empty log message ***gdbadmin1-1/+1
2003-07-16* avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue found.Theodore A. Roth2-76/+69
(avr_frame_unwind_cache): Don't unwind FP for main. Update a comment. Save the computed prev_sp. (avr_saved_regs_unwinder): Remove function. (avr_frame_prev_register): Use PC unwind logic from avr_saved_regs_unwinder, otherwise use trad_frame_prev_register.
2003-07-16 * config.bfd, configure.host, configure.in: Remove ia64-aix support.Richard Henderson7-488/+318
* elfxx-ia64.c, targets.c: Likewise.
2003-07-162003-07-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney16-116/+107
* frame-base.h (frame_base_p_ftype): Delete definition. (frame_base_append_predicate): Delete declaration. * frame-unwind.h (frame_unwind_p_ftype): Delete definition. (frame_unwind_append_predicate): Delete declaration. * frame-unwind.c (struct frame_unwind_table): Delete field "p". (append_predicate): Delete parameter "p". (frame_unwind_append_predicate): Delete function. (frame_unwind_append_sniffer): Update call to append_predicate. (frame_unwind_free): Delete function. (_initialize_frame_unwind): Pass NULL as "free" to register_gdbarch_data. (frame_unwind_init): Append the dummy_frame_sniffer. (frame_unwind_find_by_frame): Simplify. * frame-base.c (struct frame_base_table): Delete field "p". (append_predicate): Delete parameter "p". (frame_base_append_predicate): Delete function. (frame_base_append_sniffer): Update call to append_predicate. (frame_base_free): Delete function. (frame_base_find_by_frame): Simplify. (_initialize_frame_base): Pass NULL as "free" to register_gdbarch_data. * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". (x86_64_sigtramp_frame_sniffer): Replace "x86_64_sigtramp_frame_p". (x86_64_init_abi): Set the frame unwind sniffers. * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" (m68k_gdbarch_init): Set the frame unwind sniffers. * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace "i386_sigtramp_frame_p". (i386_frame_sniffer): Replace "i386_frame_p". (i386_gdbarch_init): Set the frame unwind sniffers. * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". (avr_gdbarch_init): Set the frame unwind sniffers. * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace "alpha_sigtramp_frame_p" (alpha_heuristic_frame_sniffer): Replace "alpha_heuristic_frame_p". (alpha_gdbarch_init): Set the frame unwind sniffers. (alpha_dwarf2_init_abi): Ditto. * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace "alpha_debug_frame_p". (alpha_mdebug_frame_base_sniffer): Replace "alpha_mdebug_frame_base_p". (alpha_mdebug_init_abi): Set the frame unwind sniffers. * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". (d10v_gdbarch_init): Set the frame unwind sniffer. * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p".
2003-07-16 * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return falseRichard Henderson2-5/+9
for symbols defined locally plus -Bsymbolic. Tidy logic.
2003-07-16 * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dspCorinna Vinschen2-320/+364
should go thru sh_dsp_register_sim_regno, else the dsp regs will not get the right values. * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to deprecated_store_floating by call to store_typed_floating. (sh_sh4_register_convert_to_raw): Substitute call to deprecated_extract_floating by call to extract_typed_floating. * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to register_size and calls to REGISTER_VIRTUAL_TYPE by calls to gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch as possible. (do_pseudo_register): Remove. (sh_push_dummy_code): New function. (sh64_store_struct_return): Rename from sh_store_struct_return. Only called for sh64 now. (sh_extract_struct_value_address): Regcache'ify. (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify and accomodate new tasks. (sh64_push_return_address): Rename from sh_push_return_address. Only called for sh64 now. (sh_default_extract_return_value): Rename from sh_extract_return_value. Regcache'ify. (sh3e_sh4_extract_return_value): Regcache'ify. (sh_default_store_return_value): Ditto. (sh3e_sh4_store_return_value): Ditto. (sh_default_register_byte): Remove. (sh_sh4_register_byte): Remove. (sh_default_register_raw_size): Remove. (sh_sh4_register_raw_size): Remove. (sh_register_virtual_size): Remove. (sh_sh3e_register_virtual_type): Remove. (sh_sh3e_register_type): New function. (sh_sh4_register_virtual_type): Remove. (sh_sh4_register_type): New function. (sh_default_register_virtual_type): Remove. (sh_default_register_type): New function. (do_fv_register_info): Add parameters to accomodate call from sh_print_registers_info. (do_dr_register_info): Ditto. (sh_print_pseudo_register): Rename from sh_do_pseudo_register. Add parameters to accomodate call from sh_print_registers_info. (sh_do_fp_register): Ditto. (sh64_do_pseudo_register): Call do_dr_register_info, do_fv_register_info and sh_do_fp_register with default parameters. (sh_do_register): Add parameters to accomodate call from sh_print_registers_info. (sh_print_register): Ditto. (sh_print_registers_info): Rename from sh_do_registers_info. Add parameters to be used as gdbarch_print_registers_info implementation. Accomodate removed do_pseudo_register function pointer. (sh_compact_do_registers_info): Accomodate removed do_pseudo_register function pointer. Call sh_print_register with default parameters. (sh64_do_registers_info): Call sh_print_registers_info instead of sh_do_registers_info. (sh_gdbarch_init): Rearrange to cleanup and to allow easier detection of deprecated vs. non-deprecated functionality. Rename sh_call_dummy_words to sh64_call_dummy_words. Remove function pointer assignments by direct function calls.
2003-07-16 * config.if: Remove unused libc_interface determination.Nathanael Nerode2-51/+4
2003-07-16 * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.Alan Modra2-10/+12
(generic_dwarf2_emit_offset): Don't define function when TC__DWARF2_EMIT_OFFSET is defined.
2003-07-16*** empty log message ***gdbadmin1-1/+1
2003-07-16daily updateAlan Modra1-1/+1
2003-07-152003-07-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-63/+142
* frame.c (get_frame_id): Use frame_unwind_find_by_frame. (frame_register_unwind, create_new_frame): Ditto. (legacy_get_prev_frame, get_frame_type): Ditto. (get_frame_base_address): Use frame_base_find_by_frame. (get_frame_locals_address): Use frame_base_find_by_frame. (get_frame_args_address): Use frame_base_find_by_frame. * frame-base.h (frame_base_sniffer_ftype): Declare. (frame_base_append_sniffer): Declare. (frame_base_find_by_frame): Replace frame_base_find_by_pc. * frame-base.c (append_predicate): Add a "sniffer" parameter. (frame_base_append_sniffer): New function. (frame_base_append_predicate): Add a NULL sniffer. (frame_base_find_by_frame): Replace "frame_base_find_by_pc". (struct frame_base_table): Add "sniffer". (frame_base_free): Free the "sniffer" table. * frame-unwind.h (frame_unwind_sniffer_ftype): Define. (frame_unwind_append_sniffer): Declare. (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. (struct frame_unwind_table): Add "sniffer", delete "middle". (append_predicate): Add "sniffer" parameter, append the sniffer. (frame_unwind_init): Update append_predicate call. (frame_unwind_append_sniffer): New function. (frame_unwind_append_predicate): Update append_predicate call. (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.
2003-07-152003-07-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-30/+94
* frame.c (get_prev_frame): Move disabled inside_entry_func to before code inhibiting repeated unwind attempts. Add to commentary on that test's problems. * blockframe.c (inside_main_func): Look for "main" in the minimal symbol table. * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are identical. Index: testsuite/ChangeLog 2003-07-15 Andrew Cagney <cagney@redhat.com> * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2003-07-152003-07-15 Michael Chastain <mec@shout.net>Michael Chastain3-0/+142
* gdb.base/gdb1250.exp: New file. * gdb.base/gdb1250.c: New file.
2003-07-152003-07-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-11/+29
* complaints.c (struct explanation): Define. (struct complaints): Change type of "explanation" to "struct explanation". (symfile_explanations): Convert to a "struct explanation" table. (vcomplaint): Update.
2003-07-15Oops, forgot to add x86-64-linux-tdep.h in previous commit.Michal Ludvig1-0/+39
2003-07-152003-07-15 Michal Ludvig <mludvig@suse.cz>Michal Ludvig5-32/+134
* x86-64-linux-nat.c (regmap): Removed. (supply_gregset, fill_gregset): Call x86_64_linux_(fill,supply)_gregset functions. * x86-64-linux-tdep.c (USER_*): New defines. (user_to_gdb_regmap, x86_64_core_fns): New structure. (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): New functions. (fetch_core_registers): Ditto. (_initialize_x86_64_linux_tdep): Call add_core_fns(). * x86-64-linux-tdep.h: New file. * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o and core-regset.o. * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o.
2003-07-15 * doc/c-mips.texi: Document -march=rm9000.Richard Sandiford2-0/+2
2003-07-15include/opcode/Richard Sandiford15-1/+62
* mips.h (CPU_RM7000): New macro. (OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns. bfd/ * archures.c (bfd_mach_mips7000): New. * bfd-in2.h: Regenerated. * cpu-mips.c (arch_info_struct): Add an entry for mips:7000. * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000. (mips_mach_extensions): Add an entry for it. opcodes/ * mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries. gas/ * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000. (mips_cpu_info_table): Add rm7000 and rm9000 entries. gas/testsuite/ * gas/mips/rm7000.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-07-15 * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixupsAlan Modra2-55/+59
only for V850_OPERAND_DISP operands.
2003-07-15 * frags.c (frag_more): Move segment checks to..Alan Modra2-15/+31
(frag_alloc_check): ..here. New function. (frag_append_1_char): Call frag_alloc_check.
2003-07-152003-07-14 Christian Groessler <chris@groessler.org>Jason Eckhardt2-0/+7
* i860.h (AOUTSZ): Define properly for i860 coff.
2003-07-15daily updateAlan Modra1-1/+1
2003-07-15*** empty log message ***gdbadmin1-1/+1
2003-07-14 * Makefile.in: Regenerate, correctly this time.Nathanael Nerode2-0/+73
2003-07-14Import from gcc repository:Zack Weinberg3-0/+168
2003-07-07 Zack Weinberg <zack@codesourcery.com> * gettext.m4: Delete all former contents. (ZW_GNU_GETTEXT_SISTER_DIR): New macro. * progtest.m4: New file. 2003-07-04 Zack Weinberg <zack@codesourcery.com> * gettext.m4: New file - copy of gettext.m4 from binutils