aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-12 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByteAlan Modra2-18/+12
case with non CODE_64BIT case. Don't warn on "qword ptr" if not CODE_64BIT.
2002-07-12daily updateAlan Modra1-1/+1
2002-07-12*** empty log message ***gdbadmin1-1/+1
2002-07-11* monitor.c (monitor_fetch_register): Make name a constant.Grace Sainsbury2-2/+7
(monitor_store_register): Same.
2002-07-112002-07-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz12-143/+291
Based on patch from Daniel Berlin <dberlin@dberlin.org>. * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME. (finish_block) For non-function blocks, hash the symbol table. For function blocks, mark the symbol table as unhashed. * minsyms.c (msymbol_hash): Return hash value without taking modulus. (msymbol_hash_iw): Likewise. (add_minsym_to_hash_table): Take modulus of msymbol_hash's return value. (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw. (lookup_minimal_symbol): Likewise for both. * symtab.h (struct block): Add `hashtable' flag. Comment the hashtable. (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro. (ALL_BLOCK_SYMBOLS): Update. (BLOCK_SHOULD_SORT): Do not sort hashed blocks. (struct symbol): Add `hash_next' pointer. * symtab.c (lookup_block_symbol): Search using the hash table when possible. (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. (search_symbols, find_addr_symbol): Likewise. * dstread.c (process_dst_block): Clear hashtable bit for new block. (read_dst_symtab): Likewise. * jv-lang.c (get_java_class_symtab): Likewise. * mdebugread.c: Include "gdb_assert.h". (shrink_block): Assert that the block being modified is not hashed. * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS. * symmisc.c (free_symtab_block): Walk the hash table when freeing symbols. (dump_symtab): Recognize hashed blocks. * printcmd.c (print_frame_args): Assert that function blocks do not have hashed symbol tables. * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS. (fill_in_ada_prototype, debug_print_block): Likewise. (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables.
2002-07-11* configure.in: Remove two redundant tests.DJ Delorie2-7/+6
2002-07-11* configure.in (mips*-*-irix6*o32): Enable stabs.DJ Delorie2-0/+8
2002-07-11 * stack.c (print_frame): Use result of frame_address_in_block()Corinna Vinschen2-4/+10
instead of fi->pc when evaluating symbols. (backtrace_command_1): Ditto.
2002-07-11* cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.Andrew Cagney3-3/+10
Make static. * arm-tdep.c (arm_register_name): Make return type constant.
2002-07-11Fix some K&R isms.Andrew Cagney26-57/+91
2002-07-11 * elf32-i386.c (elf_i386_relocate_section): Don't complain aboutAlan Modra8-29/+39
unresolved debugging relocs in dynamic applications. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
2002-07-11 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.Alan Modra3-13/+47
(ppc_frob_file_before_adjust): New function. * config/tc-ppc.h (tc_frob_symbol): Don't define. (ppc_elf_frob_symbol): Don't declare. (tc_frob_file_before_adjust): Define. (ppc_frob_file_before_adjust): Declare.
2002-07-11 * config/tc-ppc.c (md_pseudo_table): Warning fix.Alan Modra3-91/+81
(ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode flags. (ppc_size): Delete. (ppc_xcoff64): Rename to ppc_obj64. (md_parse_option <m>): Encode old ppc_size value in ppc_cpu. (ppc_set_cpu): Set PPC_OPCODE_32 too. (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64 or bfd_mach_ppc. (ppc_target_format): Use ppc_obj64 to select format. (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu. (ppc_insert_operand): Use ppc_obj64 instead of ppc_size. (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE. (tc_frob_symbol): Likewise. (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on BFD_DEFAULT_TARGET_SIZE. (ppc_tc): Likewise. (ppc_is_toc_sym): Likewise. (md_apply_fix3): Likewise. * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on BFD_DEFAULT_TARGET_SIZE. (ELF_TC_SPECIAL_SECTIONS): Likewise. (tc_frob_symbol): Likewise.
2002-07-11 * gdb.base/attach.exp: Add patterns to match output from /proc-basedJoel Brobecker2-5/+26
systems. Move comments in expect statements to inside the actions, so that they don't get matched against.
2002-07-11daily updateAlan Modra1-1/+1
2002-07-11*** empty log message ***gdbadmin1-1/+1
2002-07-10* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "callMark Kettenis2-1/+6
function when asleep" test.
2002-07-10* wince.c (_initialize_wince): Rename _initialize_inftarg.Andrew Cagney4-3/+8
* win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg.
2002-07-10* gdb.base/page.exp: Rewrite to handle problems with very longAndrew Cagney2-3/+49
`info set' output. Update copyright.
2002-07-10* NEWS: Mention m68k, mcore multi-arching.Grace Sainsbury3-2/+8
* MAINTAINERS: Change status of m68k, mcore to reflect multi-arching.
2002-07-102002-07-10 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-0/+9
* valops.c (find_overload_match): Free oload_syms.
2002-07-10 * gdb.texinfo (Create a release candiate): Add the locationJoel Brobecker2-1/+7
where the proper version of autoconf can be retrieved.
2002-07-10 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,Jakub Jelinek4-1/+129
DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*. (get_section_type_name): Handle SHT_GNU_LIBLIST. (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ, DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED. (process_gnu_liblist): New. (process_file): Call it. * elf/common.h (SHT_GNU_LIBLIST, DT_GNU_PRELINKED, DT_GNU_CONFLICT*, DT_GNU_LIBLIST*): Define.
2002-07-10 * elf64-ppc.c (ONES): Define.Alan Modra2-46/+53
(ppc64_elf_howto_table): Use ONES here to avoid warnings. Fill in missing src_mask fields. Tweak R_PPC64_NONE, R_PPC64_COPY. Fill in missing dst_mask fields on R_PPC64_PLT32, R_PPC64_PLTREL32.
2002-07-10 * elf64-ppc.c (ppc64_elf_get_symbol_info): Delete.Alan Modra2-164/+13
(ppc64_elf_set_private_flags): Delete. (ppc64_elf_section_from_shdr): Delete. (ppc64_elf_merge_private_bfd_data): Remove flag checking/merging code. (ppc64_elf_fake_sections): Delete. (bfd_elf64_bfd_set_private_flags): Don't define. (bfd_elf64_get_symbol_info): Likewise. (elf_backend_section_from_shdr): Likewise. (elf_backend_fake_sections): Likewise.
2002-07-10 * elf.c: (assign_section_numbers) Set sh_entsize for .stab onlyAlan Modra3-2/+36
when not already set. * elf64-sparc.c: (sparc64_elf_fake_sections): New function. (elf_backend_fake_sections): Define.
2002-07-10merge from gccDJ Delorie3-1/+48
2002-07-10*** empty log message ***gdbadmin1-1/+1
2002-07-10daily updateAlan Modra1-1/+1
2002-07-09 * merge.c (_bfd_merge_section): Remove redundant output_section check.Alan Modra2-16/+10
Formatting. (_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections.
2002-07-09 Define HAVE_SYS_PROC_H if sys/proc.h existsJoel Brobecker4-3/+13
* configure.in: Add check for sys/proc.h * config.in: Regenerate. * configure: Regenerate.
2002-07-092002-07-09 Grace Sainsbury <graces@redhat.com>Grace Sainsbury2-390/+5
* config/m68k/tm-m68k.h: Remove macros wrapped in #if !GDB_MULTI_ARCH.
2002-07-092002-07-09 David O'Brien <obrien@FreeBSD.org>David O'Brien2-7/+16
* gdbserver/gdbreplay.c (stdlib.h, unistd.h): Conditionaly include. (perror_with_name, remote_close, remote_open, expect, play): Static.
2002-07-092002-07-09 Don Howard <dhoward@redhat.com>Don Howard2-2/+7
* gdb.texinfo (Command Files): Further describe the behavior of sourced command files.
2002-07-09 * config/tc-mips.c (macro_build): Handle MIPS16 insns.Thiemo Seufer7-7/+30
(mips_ip): Likewise. * mips.h (INSN_MIPS16): New define. * mips-dis.c (mips_isa_type): Add MIPS16 insn handling. * mips-opc.c (I16): New define. (mips_builtin_opcodes): Make jalx an I16 insn.
2002-07-09* config.in, configure: Regenerate.Andrew Cagney3-436/+419
2002-07-09 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.Alan Modra3-26/+26
(BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD. (md_apply_fix3): Formatting. Remove redundant test. (tc_gen_reloc): Remove redundant code. (tc_i386_force_relocation): Delete. Movy body of function to.. * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
2002-07-09 * ld-scripts/dynamic-sections*: New test.Richard Sandiford6-0/+34
2002-07-09 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.Alan Modra2-0/+7
2002-07-09oops, forgot to commit.Alan Modra1-0/+8
2002-07-09 * elf32-cris.c (cris_elf_relocate_section): Move sanity-check forHans-Peter Nilsson2-13/+31
NULL sym_hashes to just before use. <case R_CRIS_32_GOTREL>: In test for local symbol, accept also symbol with non-default visibility. <case R_CRIS_32_GOTREL, case R_CRIS_32_PLT_GOTREL>: Ditto. <case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>: Ditto. (cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for symbol with non-default visibility. (cris_elf_check_relocs): At tests for local symbol before increasing h->plt.refcount, also check for non-default visibility. Ditto when checking for local symbol to eliminate pc-relative runtime relocs.
2002-07-09 * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,Hans-Peter Nilsson5-0/+49
ld-cris/noglob1.d: New tests.
2002-07-09 * configure.tgt: Add hppaobsd.o.Alan Modra4-2/+20
* Makefile.am: Add support for alpha-*-openbsd*, hppa-*-openbsd*, powerpc-*-openbsd* and sparc64-*-openbsd*. * Makefile.in: Regenerate. * emulparams/hppaobsd.sh: New file.
2002-07-09 * configure.in: Add hppa-*-openbsd* target, changeAlan Modra3-247/+268
alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd* with sparc64 cpu. * configure: Regenerate.
2002-07-09Fix typo last changeHans-Peter Nilsson1-1/+1
2002-07-09merge from gccDJ Delorie2-1/+6
2002-07-09 * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.Hans-Peter Nilsson2-1/+5
2002-07-09* config/tc-mips.c (macro): Shift the 32-bit address rangeMaciej W. Rozycki2-2/+9
accessible with a lone "lui" down by 32768.
2002-07-09*** empty log message ***gdbadmin1-1/+1
2002-07-09daily updateAlan Modra1-1/+1