aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-13* avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit.Theodore A. Roth2-14/+10
(avr_pointer_to_address): Shift code addrs left 1 bit. (avr_convert_from_func_ptr_addr): Delete function since operation is better handled by avr_address_to_pointer and avr_pointer_to_address. (avr_gdbarch_init): Don't set convert_from_func_ptr_add method.
2003-06-13From Kelley Cook <kelleycook@wideopenwest.com>:Mark Kettenis7-61/+89
* configure.host: Accept i[34567]86 variants. * configure.tgt: Likewise. * nlm/configure.in: Likewise. * nlm/configure: Regenerated.
2003-06-13* gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test.Richard Earnshaw2-1/+5
2003-06-13* arm-tdep.c (solib-svr4.h): Dont' include it.Richard Earnshaw1-2/+2
(arm_linux_svr4_fetch_link_map_offsets): Move to ... * arm-linux-tdep.c: ... here. Make static. (arm_linux_init_abi): Register it. (solib-svr4.h): Include it. * Makefile.in: Update dependencies. * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. (arm_linux_svr4_fetch_link_map_offsets): Delete declaration.
2003-06-13* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.Richard Earnshaw2-0/+27
(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF, FPU_ARCH_FPA for AOUT. (md_begin): Don't try to guess the floating point architecture from the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
2003-06-13Missed include update in previous commit.Richard Earnshaw1-1/+0
2003-06-13* arm-tdep.c (solib-svr4.h): Dont' include it.Richard Earnshaw4-47/+58
(arm_linux_svr4_fetch_link_map_offsets): Move to ... * arm-linux-tdep.c: ... here. Make static. (arm_linux_init_abi): Register it. (solib-svr4.h): Include it. * Makefile.in: Update dependencies. * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. (arm_linux_svr4_fetch_link_map_offsets): Delete declaration.
2003-06-13Add i386-netbsd-gnu target.Nick Clifton7-171/+187
2003-06-13(GNU_ABI_TAG_NETBSD): New tag.Nick Clifton2-0/+7
(GNU_ABI_TAG_FREEBSD): New tag.
2003-06-13 * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM toCorinna Vinschen2-117/+160
indicate registers used for return values. (struct frame_extra_info): Drop args_pointer and locals_pointer. (h8300_examine_prologue): Remove initializing dropped frame_extra_info members. (h8300_init_extra_frame_info): Ditto. (h8300_frame_locals_address): Removed. (h8300_frame_args_address): Removed. (h8300_extract_return_value): Use new regcache structure. Only care for 16 bit CPUs. (h8300h_extract_return_value): Same function for 32 bit CPUs. (h8300_store_return_value): Use new regcache structure. Only care for 16 bit CPUs. (h8300h_store_return_value): Same function for 32 bit CPUs. (h8300_store_struct_return): Removed. (h8300_extract_struct_value_address): Use new regcache structure. (h8300h_extract_struct_value_address): Removed. (h8300_push_dummy_code): New function. (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. Remove call_dummy_words. Call set_gdbarch_extract_return_value and set_gdbarch_store_return_value architecture dependent. Call set_gdbarch_push_dummy_code and set_gdbarch_extract_struct_value_address. Remove calls to set_gdbarch_frame_args_address, set_gdbarch_frame_locals_address, set_gdbarch_deprecated_store_struct_return, set_gdbarch_deprecated_extract_return_value, set_gdbarch_deprecated_extract_struct_value_address, set_gdbarch_deprecated_call_dummy_words and set_gdbarch_deprecated_sizeof_call_dummy_words.
2003-06-13 * h8300-tdep.c (h8300_register_byte): Remove.Corinna Vinschen2-29/+18
(h8300h_register_byte): Remove. (h8300_register_virtual_type): Remove. Substitute by... (h8300_register_type): New function. (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. (h8300h_extract_struct_value_address): Ditto. (h8300_gdbarch_init): Drop calls to set_gdbarch_deprecated_register_byte and set_gdbarch_deprecated_register_virtual_type. Add call to set_gdbarch_register_type.
2003-06-132003-06-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney25-340/+363
* gdbarch.sh: Update comments on registers, re-order. (deprecated_register_byte): Rename register_byte. (deprecated_register_raw_size): Rename register_raw_size. (deprecated_register_virtual_size): Rename register_virtual_size. (deprecated_register_virtual_type): Rename register_virtual_type. * gdbarch.h, gdbarch.c: Re-generate. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ns32k-tdep.c: Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update.
2003-06-132003-06-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+6
* mips-tdep.c (mips_gdbarch_init): Replace remaining instances of mips_o32_use_struct_convention with always_use_struct_convention.
2003-06-13merge from gccDJ Delorie5-62/+105
2003-06-132003-06-12 David Carlton <carlton@kealia.com>David Carlton2-0/+15
* cp-namespace.c (cp_set_block_scope): Comment out processing_has_namespace_info branch.
2003-06-13Recognize and skip 64-bit PowerPC Linux linkage functions.Jim Blandy2-4/+274
* ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct insn_pattern, insns_match_pattern, d_field, ds_field): New functions, macros, and types for working with PPC instructions. (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, ppc64_skip_trampoline_code): New functions, variables, and macros for recognizing and skipping linkage functions. (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI.
2003-06-13* ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-areaJim Blandy2-11/+17
register offsets for both the 32- and 64-bit interfaces.
2003-06-13*** empty log message ***gdbadmin1-1/+1
2003-06-13daily updateAlan Modra1-1/+1
2003-06-12Actually finish the job started by my change of 2003-05-29.Jim Blandy2-6/+2
* config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the other #definition of this. (ppc_linux_skip_trampoline_code): Remove declaration. * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this static. (ppc_linux_init_abi): Register it as the skip_trampoline_code method for GDBARCH.
2003-06-12* config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This isJim Blandy1-0/+12
'long' on ppc64-*-linux*.
2003-06-12* ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQJim Blandy2-0/+8
isn't #defined, assume the register doesn't exist: act as if tdep->ppc_mq_regnum were -1.
2003-06-12* configure.host, configure.tgt: Add entries forJim Blandy5-0/+55
powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and powerpc/linux.mt. * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: New files.
2003-06-12* arch-utils.c (always_use_struct_convention): New function.Jim Blandy8-49/+36
* arch-utils.h (always_use_struct_convention): New prototype. * alpha-tdep.c (alpha_use_struct_convention): Delete. (alpha_gdbarch_init): Register always_use_struct_convention, instead of alpha_use_struct_convention. * cris-tdep.c (cris_use_struct_convention): Delete. (cris_gdbarch_init): Register always_use_struct_convention, instead of cris_use_struct_convention. * frv-tdep.c (frv_use_struct_convention): Delete. (frv_gdbarch_init): Register always_use_struct_convention, instead of frv_use_struct_convention. * h8300-tdep.c (h8300_use_struct_convention): Delete. (h8300_gdbarch_init): Register always_use_struct_convention, instead of h8300_use_struct_convention. * mips_o32-tdep.c (mips_o32_use_struct_convention): Delete. (mips_o32_gdbarch_init): Register always_use_struct_convention, instead of mips_o32_use_struct_convention.
2003-06-122003-06-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-17/+29
* wince.c: Include "mips-tdep.h". * mips-tdep.h (mips_next_pc): Declare. * mcore-tdep.c: Make more local functions static. * Makefile.in (wince.o): Update dependencies.
2003-06-122003-06-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+6
* gdb.base/float.exp: Add ia64 support.
2003-06-12 * ld-mips-elf/elf-rel-got-n64-linux.d: New file.Thiemo Seufer4-2/+781
* ld-mips-elf/elf-rel-xgot-n64-linux.d: New file. * ld-mips-elf/mips-elf.exp: Use the new files for Linux.
2003-06-12 * MAINTAINERS: Add myself as MIPS co-maintainer.Thiemo Seufer2-0/+5
2003-06-12Merge these:DJ Delorie5-75/+75
2003-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32. * configure. Regenerate. 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org> * configure.in: Disable serial configure by default. * configure: Regenerate. * Makefile.tpl: Abolish .NOTPARALLEL. * Makefile.in: Regenerate.
2003-06-122003-06-12 David Carlton <carlton@kealia.com>David Carlton2-21/+21
* symtab.c (lookup_symbol_aux_minsyms): Replace DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. (find_pc_sect_line, search_symbols, rbreak_command): Ditto. (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of SYMBOL_NATURAL_NAME.
2003-06-12 * Makefile.in (tuiDisassem.o): Update dependencies.Andreas Schwab9-10/+27
tui: * tuiSource.c (tuiVerticalSourceScroll): Use get_frame_pc. * tuiSourceWin.c (tuiHorizontalSourceScroll): Likewise. * tuiStack.c (tui_get_function_from_frame): Likewise. (tuiShowFrameInfo): Likewise. * tuiWin.c (_makeVisibleWithNewHeight): Likewise. * tui-hooks.c (tui_selected_frame_level_changed_hook): Likewise. * tuiDisassem.c (tuiVerticalDisassemScroll): Likewise. Include "disasm.h".
2003-06-122003-06-12 David Carlton <carlton@bactrian.org>David Carlton7-217/+245
* symtab.h: Delete declaration of make_symbol_overload_list. Add declaration of lookup_partial_symbol. * symtab.c (remove_params): Move to cp-support.c. (overload_list_add_symbol, make_symbol_overload_list) (sym_return_val_size, sym_return_val_index): Ditto. (lookup_partial_symbol): Make extern. * cp-support.h: Add declaration of make_symbol_overload_list. * cp-support.c: Include dictionary.h, objfiles.h, frame.h, symtab.h, and block.h. (remove_params): Move here from symtab.c. (overload_list_add_symbol, make_symbol_overload_list) (sym_return_val_size, sym_return_val_index): Ditto. * valops.c: Include cp-support.h. * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, frame_h, and block_h. (valops.o): Depend on cp_support_h.
2003-06-122003-06-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-7/+25
* config.guess: Update to 2003-06-06 version. * config.sub: Update to 2003-06-06 version.
2003-06-12 * doc/as.texinfo (Comm): Added @node. Moved before CFITom Tromey2-29/+37
directives node.
2003-06-12 * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely,Corinna Vinschen2-62/+138
substitute by NUM_REGS throughout. (h8300_register_name): Only care for H8/300 and H8/300H registers. (h8300s_register_name): New function for H8S registers. (h8300sx_register_name): Ditto for H8SX registers. (h8300_print_register): Revise register printing, avoid depending on 32 bit long. (h8300_register_byte); Only care for H8/300 registers. (h8300h_register_byte): New function for any other architecture. (h8300_register_raw_size): Remove. (h8300_register_virtual_type): Revise to return actually useful type. (h8300_extract_struct_value_address): Only care for H8/300 registers. (h8300h_extract_struct_value_address): New function for any other architecture. (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, set_gdbarch_register_name, set_gdbarch_register_byte, set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. Remove calls to set_gdbarch_deprecated_register_size, set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, set_gdbarch_deprecated_max_register_raw_size, set_gdbarch_register_virtual_size and set_gdbarch_deprecated_max_register_virtual_size entirely. Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and set_gdbarch_long_double_bit.
2003-06-12 * gdb.base/fileio.exp: Run only on remote targets.Corinna Vinschen2-0/+9
2003-06-12Add new switch to objcopy: --add-gnu-debuglink=<file>Nick Clifton6-111/+280
Allows packages to be shipped in two forms, a stripped executable and debug info file.
2003-06-12(i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3]): New target (was ↵Nick Clifton2-4/+32
i[3-7]86-*-openbsd* before). (i[3-7]86-*-openbsd*): Change to use bfd_elf32_i386_vec. (vax-*-openbsd*): New target.
2003-06-12 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulationsRichard Sandiford2-0/+6
to $targ_extra_libpath.
2003-06-12 * config/tc-mips.c (append_insn): In a compound relocation, take theRichard Sandiford6-74/+56
field width from the final (outermost) operator.
2003-06-12daily updateAlan Modra1-1/+1
2003-06-12*** empty log message ***gdbadmin1-1/+1
2003-06-112003-06-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+15
* doublest.c (convert_doublest_to_floatformat): When dealing with the implied integer bit, only alter mant_bits if we are processing a full 32 bits of mantissa.
2003-06-112003-06-11 David Carlton <carlton@bactrian.org>David Carlton21-372/+1330
* dictionary.h: New. * dictionary.c: New. * block.h: Add opaque declaration for struct dictionary. (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', 'sym' members. (BLOCK_DICT): New macro. Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, BLOCK_SHOULD_SORT. (ALL_BLOCK_SYMBOLS): Update definition. * Makefile.in (SFILES): Add dictionary.c. (dictionary_h): New. (COMMON_OBS): Add dictionary.o. (dictionary.o): New. (ada-lang.o): Depend on dictionary_h. (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) (mi-cmd-stack.o): Ditto. (gdbtk-cmds.o): Update dependencies. (gdbtk-stack.o): Ditto. * ada-lang.c: Include dictionary.h. (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. (fill_in_ada_prototype, debug_print_block): Ditto. (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable 'is_sorted'. * mdebugread.c: Include dictionary.h. (struct parse_stack): Delete 'maxsyms' member. (parse_symbol): Update calls to new_block. Delete calls to shrink_block. Use dictionary methods. (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. Update calls to new_symtab. Don't maintain maxsyms data. (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. (add_symbol): Just call dict_add_symbol. (new_symtab): Delete 'maxsyms' argument. (new_symtab): Update calls to new_block. (new_block): Delete 'maxsyms' argument; add 'function' argument. (shrink_block): Delete function. (fixup_sigtramp): Update call to new_block. Add symbol via dict_add_symbol. * jv-lang.c: Include dictionary.h. (get_java_class_symtab): Set the BLOCK_DICT of the blocks appropriately. Set class_symtab->free_func. Make sure the blockvector is big enough to hold two blocks. (add_class_symtab_symbol): Use dictionary methods. (free_class_block): New function. (type_from_class): Replace explicit iteration by ALL_BLOCK_SYMBOLS. * symtab.h (struct symtab): Replace 'free_ptr' method by 'free_func'. * dwarf2read.c (psymtab_to_symtab_1): Delete call to sort_symtab_syms. * dwarfread.c (psymtab_to_symtab_1): Delete call to sort_symtab_syms. * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. Include dictionary.h. (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to sort_symtab_syms. * objfiles.c: Include dictionary.h. (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. * buildsym.c: Include dictionary.h. (finish_block): Use dictionary methods. (end_symtab): Set free_func to NULL, not free_ptr. * tracepoint.c: Include dictionary.h. (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. (scope_info): Ditto. * stack.c: Include dictionary.h. (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. (print_block_frame_labels, print_frame_arg_vars) (print_frame_args): Ditto. * symmisc.c (free_symtab_block): Use dictionary methods. (dump_symtab): Ditto. (free_symtab): Replace use of 'free_ptr' by 'free_func'. Include dictionary.h. * symfile.h: Delete declarations of sort_block_syms, sort_symtab_syms. * symfile.c (sort_block_syms): Delete. (sort_symtab_syms): Delete. * symtab.c: Include dictionary.h. (lookup_block_symbol): Use dictionary iterators. (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. (search_symbols, make_symbol_completion_list): Ditto. (make_symbol_overload_list): Ditto. * valops.c (value_of_local): Use dict_empty. Include dictionary.h. 2003-06-11 David Carlton <carlton@bactrian.org> * generic/gdbtk-stack.c: Include dictionary.h. (gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS. (gdb_get_blocks, gdb_get_vars_command): Ditto. * generic/gdbtk-cmds.c: Include dictionary.h. (gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS. 2003-06-11 David Carlton <carlton@bactrian.org> * mi-cmd-stack.c: Include dictionary.h. (list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 * dw2gencfi.c (struct cfi_escape_data): New.Richard Henderson10-22/+110
(cfi_add_CFA_nop): Remove. (CFI_escape, dot_cfi_escape): New. (dot_cfi): Remove nop. (cfi_pseudo_table): Remove nop; add escape. (output_cfi_insn): Likewise. (select_cie_for_fde): Stop on escape. * dw2gencfi.h (cfi_add_CFA_nop): Remove. * read.c, read.h (do_parse_cons_expression): New. * doc/as.texinfo (.cfi_escape): New. * gas/cfi/cfi-common-3.[ds]: New. * gas/cfi/cfi.exp: Run it.
2003-06-11 * ld-mips-elf/relax-jalr.s: Fix testsuite breakage.Thiemo Seufer6-3/+16
* ld-mips-elf/relax-jalr-n32.d: Likewise. * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. * ld-mips-elf/relax-jalr-n64.d: Likewise. * ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
2003-06-11 * win32-nat.c (solib_symbols_add): Fix a small compilation error.Joel Brobecker3-4/+8
2003-06-112003-06-11 David Carlton <carlton@bactrian.org>David Carlton13-228/+32
* block.h (BLOCK_SHOULD_SORT): Delete. * symtab.c (lookup_block_symbol): Don't worry about sorted linear blocks. * ada-lang.c (ada_add_block_symbols): Ditto. * symfile.c (sort_block_syms): Delete. (sort_symtab_syms): Ditto. * symfile.h: Delete sort_symtabs_syms and sort_block_syms declarations. * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. * dwarf2read.c (psymtab_to_symtab_1): Ditto. * dwarfread.c (psymtab_to_symtab_1): Ditto. * hpread.c (hpread_psymtab_to_symtab_1): Ditto. * mdebugread.c (psymtab_to_symtab_1): Ditto. * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto.
2003-06-112003-06-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+6
* ia64-tdep.c (ia64_gdbarch_init): Set number of long double bits to 128.
2003-06-11 * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME): Use .MIPS.optionsThiemo Seufer5-8209/+8222
for n32, too. (MIPS_ELF_STUB_SECTION_NAME): Use .MIPS.stubs for n32, too. (mips_elf_rel_dyn_section): Use appropriate section alignment. (mips_elf_create_got_section): Likewise. (_bfd_mips_elf_create_dynamic_sections): Likewise. * ld-mips-elf/multi-got-1.d: Adjust addresses. * ld-mips-elf/rel32-n32.d: Likewise.