aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-05-23* configure.in: Check for td_pcb in `struct thread'.Mark Kettenis4-188/+237
* configure, config.in: Regenerated.
2004-05-23 * expr.c (operand, operator): Don't reject '++' and '--'.Alan Modra2-6/+13
2004-05-23 * configure.in (is_release): Remove.Ben Elliston6-1025/+362
(bfd_version_date, bfd_version, bfd_version_string): Likewise. (AC_OUTPUT): Don't output bfdver.h from version.h. * configure: Regenerate. * Makefile.am (RELEASE): New variable. (bfdver.h): New target. * Makefile.in: Regenerate. * doc/Makefile.in: Likewise.
2004-05-23daily updateAlan Modra1-1/+1
2004-05-23*** empty log message ***gdbadmin1-1/+1
2004-05-22* dpx2-nat.c: Remove file.Mark Kettenis3-85/+5
* Makefile.in (ALLDEPFILES): Remove dpx2-nat.c. (dpx2-nat.o): Remove dependencies.
2004-05-22* amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",Mark Kettenis4-3/+88
<sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h". (amd64obsd_supply_pcb): New function. (_initialize_amd64obsd_nat): Enable libkvm interface. * Makefile.in (amd64obsd-nat.o): Update dependencies. * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o (LOADLIBES): New variable.
2004-05-22* sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",Mark Kettenis4-2/+52
<sys/types.h>, <machine/pcb.h> and "bsd-kvm.h". (sparc32nbsd_supply_pcb): New function. (_initialize_sparcnbsd_nat): Enable libkvm interface. * Makefile.in (sparcnbsd-nat.o): Update dependencies. * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable.
2004-05-22* bsd-kvm.c, bsd-kvm.h: New files.Mark Kettenis6-5/+324
* i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h". (i386fbsd_supply_pcb): New function. * Makefile.in (ALLDEPFILES): Add bsd-kvm.c. (i386fbsd-nat.o): Update dependencies. (bsd_kvm_h): New variable. (bsd-kvm.o): New dependency. * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable.
2004-05-22* regset.c: Tweak comment.Mark Kettenis12-53/+84
(regset_alloc): Remove descr argument. Use GDBARCH_OBSTACK_ZALLOC macro. * regset.h: Update copyright year. (struct regset): Remove `descr' member, add `gdbarch' member. (regset_alloc): Adjust prototype and comment. * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch. (i386_supply_fpregset): Likewise. (i386_regset_from_core_section): Update call to regset_alloc. * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from REGSET->arch. (i386obsd_aout_regset_from_core_section): Update call to regset_alloc. * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from REGSET->arch. (i386nbsd_aout_regset_from_core_section): Update call to regset_alloc. * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from REGSET->arch. (amd64_regset_from_core_section): Update call to regset_alloc. * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from REGSET->arch. (amd64obsd_regset_from_core_section): Update call to regset_alloc. * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass &sparc32nbsd_gregset in sparc32_supply_gregset call. (sparc32nbsd_init_abi): Update call to regset_alloc. * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass &sparc64obsd_core_gregset in sparc64_supply_gregset call. (sparc64obsd_init_abi): Update call to regset_alloc. * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass &sparc64nbsd_gregset in sparc64_supply_gregset call. (sparc64nbsd_init_abi): Update call to regset_alloc. * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass &sparc64fbsd_gregset in sparc64_supply_gregset call. (sparc64fbsd_init_abi): Update call to regset_alloc.
2004-05-22* gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.Mark Kettenis2-1/+5
2004-05-22 * Makefile.am (config.status): Don't depend on version.h.Ben Elliston3-6/+9
* Makefile.in: Regenerate.
2004-05-22* ppc-tdep.h (spe_register_p): New declaration.Jim Blandy3-0/+49
(struct gdbarch_tdep): New members: ppc_acc_regnum and ppc_spefscr_regnum. * rs6000-tdep.c (spe_register_p): New function. (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and spefscr. (rs6000_gdbarch_init): Initialize the new members of the tdep structure.
2004-05-22 * merge.c (_bfd_merged_section_offset): Remove "addend" param.Alan Modra9-28/+45
* libbfd-in.h (_bfd_merged_section_offset): Adjust prototype. * libbfd.h: Regenerate. * elf.c (_bfd_elf_rela_local_sym): Adjust call. (_bfd_elf_rel_local_sym): Likewise. * elflink.c (_bfd_elf_link_sec_merge_syms): Likewise. (elf_link_input_bfd): Likewise. * elf32-ppc.c (ppc_elf_relax_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. (elfNN_ia64_relocate_section): Likewise.
2004-05-22*** empty log message ***gdbadmin1-1/+1
2004-05-22daily updateAlan Modra1-1/+1
2004-05-21* ppc-linux-nat.c (fetch_register): Move code back to be nextJim Blandy2-1/+5
to the comment that describes it. (Moved code, instead of comment, for symmetry with store_register.)
2004-05-21Allocate regset structures in the gdbarch's obstack, not usingJim Blandy12-28/+56
xmalloc. * regset.c (regset_alloc): Renamed from regset_xmalloc. Add 'arch' argument. Allocate the regset on arch's obstack, not using xmalloc. * regset.h (regset_alloc): Update declaration. * am64-tdep.c (amd64_regset_from_core_section): Update call; pass gdbarch argument. * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same. * i386-tdep.c (i386_regset_from_core_section): Same. * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same. * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same. * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same. * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same. * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same. * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
2004-05-212004-05-21 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini4-113/+3417
* Makefile.tpl: Whenever a recursive target is defined, wrap it in a special @if/@endif block, and prepare its maybe dependency in the @if/@endif block * configure.in: Instead of writing maybe dependencies, remove the @if/@endif statements, and remove the @if/@endif blocks that remain. * configure: Regenerate. * Makefile.in: Regenerate.
2004-05-21 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching theJoel Brobecker2-1/+7
GDB prompt.
2004-05-21 * config/djgpp/fnchange.lst: Undo previous change, was useless.Joel Brobecker2-2/+4
2004-05-212004-05-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+12
* observer.texi (GDB Observers): Document "inferior_created".
2004-05-21Add --hash-size switch to the linkerNick Clifton12-22/+131
2004-05-21* libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD.Mark Kettenis3-0/+29
* netbsd-core.c (netbsd_core_file_p): Set architecture for alpha, arm, m68k, m88k and hppa core files.
2004-05-21Do not use iovec if it is NULL.Nick Clifton2-8/+51
2004-05-21* dwarf2expr.c (execute_stack_op): Add 'break' statements afterJim Blandy2-0/+7
cases for DW_OP_div and DW_OP_shr. (Thanks to Reva Cuthbertson.)
2004-05-21 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction.Ben Elliston2-1/+5
2004-05-21*** empty log message ***gdbadmin1-1/+1
2004-05-21daily updateAlan Modra1-1/+1
2004-05-202004-05-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/ia64/dv-srlz.d: Fix a typo.
2004-05-20* rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.Jim Blandy2-5/+11
2004-05-20* regset.h: Make prototype const-correct.Mark Kettenis3-2/+7
* regset.c (regset_xmalloc): Make const-correct.
2004-05-20 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead ofUlrich Weigand2-3/+14
setjmp/longjmp. Use sigaction instead of signal.
2004-05-20 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16Richard Sandiford2-2/+12
dwarf tables.
2004-05-20* symtab.h (SYMBOL_SEARCH_NAME): New definition.Paul N. Hilfinger6-10/+53
(SYMBOL_MATCHES_SEARCH_NAME): New definition. (symbol_search_name): Declare. * dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME. (iter_name_next_hashed): Ditto. (iter_name_next_linear): Ditto. (insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME. * symtab.c (lookup_partial_symbol): Assume symbols ordered by search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME. (symbol_search_name): New function. * symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME. * minsyms.c (build_minimal_symbol_hash_tables): Change test for adding to demangled hash table to check for difference between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
2004-05-20Fix up last ChangeLog commit.Jim Blandy1-0/+7
2004-05-20Use a constructor function to create regset structures.Jim Blandy13-59/+104
* regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs. (struct regset): Use supply_regset_ftype. Add new 'collect_regset' member. (regset_xmalloc): New declaration. * regset.c: New file. * am64-tdep.c (amd64_regset_from_core_section): Use regset_xmalloc to construct regset structures. * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same. * i386-tdep.c (i386_regset_from_core_section): Same. * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same. * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same. * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same. * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same. * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same. * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same. * Makefile.in (COMMON_OBS): Add regset.o. (regset.o): New rule.
2004-05-20*** empty log message ***gdbadmin1-1/+1
2004-05-20daily updateAlan Modra1-1/+1
2004-05-19 * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.expJoel Brobecker2-0/+7
and pthread_cond_wait.c.
2004-05-19 * gdb.threads/pthread_cond_wait.c: New file.Joel Brobecker3-0/+155
* gdb.threads/pthread_cond_wait.exp: New testcase.
2004-05-19Add code to cope with nested archives.Nick Clifton2-14/+27
2004-05-19 * NEWS: Mention new linker map file generation and theJoern Rennecke7-9/+149
--reduce-memory-overheads option. * ld.texinfo: Document --reduce-memory-overheads option. * ld.h (map_symbol_def): New struct. (struct user_section_struct, section_userdata_type): Rename to: (struct lean_user_section_struct, lean_section_userdata_type). (struct fat_user_section_struct, fat_section_userdata_type): New. (SECTION_USERDATA_SIZE): Define. (args_type): New member reduce_memory_overheads. * ldlang.c (map_obstack): New static variable. (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. (lang_map): Unless command_line.reduce_memory_overheads is set, initialize lists of defined symbols for each section. (print_input_section): Unless command_line.reduce_memory_overheads is set, use print_all_symbols. (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. * ldmain.c (main): Initialize command_line.reduce_memory_overheads. * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. (ld_options): Add entry for --reduce-memory-overheads. (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
2004-05-19 * ldgram.y (sect_constraint): New.Jakub Jelinek10-21/+174
(ONLY_IF_RO, ONLY_IF_RW): New tokens. (section): Add sect_constraint. Pass additional argument to lang_enter_output_section_statement. * mri.c (mri_draw_tree): Pass additional argument to lang_enter_output_section_statement. * emultempl/pe.em (place_orphan): Likewise. (output_prev_sec_find): Disregard output section statements with constraint == -1. * emultempl/mmo.em (output_prev_sec_find): Likewise. (mmo_place_orphan): Pass additional argument to lang_enter_output_section_statement. * emultempl/elf32.em (output_prev_sec_find): Disregard output section statements with constraint == -1. (place_orphan): Pass additional argument to lang_enter_output_section_statement. * ldlang.c (lang_enter_overlay_section): Likewise. (lang_output_section_find_1): New. (lang_output_section_find): Use it. (lang_output_section_statement_lookup_1): New. (lang_output_section_statement_lookup): Use it. (check_section_callback, check_input_sections): New. (map_input_to_output_sections): Check if all input sections are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. (strip_excluded_output_sections): Disregard output section statements with constraint == -1. (lang_record_phdrs): Likewise. (lang_enter_output_section_statement): Add constraint argument. Use lang_output_section_statement_lookup_1. * ldlang.h (lang_output_section_statement_type): Add constraint and all_input_readonly fields. (lang_enter_output_section_statement): Adjust prototype. * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text segment if all input sections are readonly.
2004-05-19Remove redundant fileNick Clifton2-46/+4
2004-05-19 * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many asAlan Modra2-3/+13
well as when -mpower4.
2004-05-19* rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fieldsJim Blandy2-26/+27
before the mach-specific switch, and then let the individual cases override the defaults, rather than leaving them uninitialized until the switch and then setting them in each case.
2004-05-192004-05-18 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+6
* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for millicode functions.
2004-05-192004-05-18 Randolph Chung <tausq@debian.org>Randolph Chung2-7/+9
* somsolib.c (som_solib_remove_inferior_hook): Make all the size references to dld_flags_buffer consistent.
2004-05-192004-05-18 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+38
* hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use it for unwinding the stack.