aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-04-30* solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)Mark Kettenis3-22/+63
(TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK) (TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS) (TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines. * solib.c (solib_data): New variable. (solib_init, solib_ops): New functions. (solib_open, solib_map_sections, free_so, update_solib_list) (solib_add, clear_solib, solib_create_inferior_hook) (in_solib_dynsym_resolve_code): Call architecture-dependent code using solib_ops. (_initialize_solib): Register SOLIB_DATA.
2005-04-30daily updateAlan Modra1-1/+1
2005-04-30*** empty log message ***gdbadmin1-1/+1
2005-04-29Fix bugs related to inferior function calls on FRV using the FDPIC ABI.Kevin Buettner3-0/+18
2005-04-292005-04-29 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-42/+18
* gdb.base/unload.exp: Use new shared library infrastructure.
2005-04-292005-04-29 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-57/+23
* gdb.base/so-impl-ld.exp: Use new shared library infrastructure.
2005-04-29 * configure.tgt: Add h8300*-*-rtemscoff.Daniel Jacobowitz4-4/+14
Switch h8300*-*-rtems* to elf.
2005-04-29 * config.bfd: Add h8300*-*-rtemscoff.Daniel Jacobowitz2-1/+11
Switch h8300*-*-rtems* to elf.
2005-04-292005-04-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+71
* hash.c: Undo the last change. * hash.h: Likewise.
2005-04-292005-04-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-1/+8
* bucomm.c: Undo the last change. * bucomm.h: Likewise.
2005-04-292005-04-29 Paul Brook <paul@codesourcery.com>Paul Brook5-269/+280
* common/callback.c (PIPE_BUF): Provide default refinition. (os_lstat): Use stat if lstat is not available on the host. (os_ftruncate): Return EINVAL if not available on the host. (os_truncate): Ditto. * common/configure.ac: Check for lstat, truncate and ftruncate. * common/configure: Regenerate. * common/config.in: Regenerate.
2005-04-29 * gdb.asm/asm-source.exp: Add h8300 to supported targets.Corinna Vinschen3-0/+59
* gdb.asm/h8300.inc: New file.
2005-04-29 * MAINTAINERS: Revert h8300 state to un-deleted.Corinna Vinschen4-443/+433
* Makefile.in: Re-add h8300-tdep.o dependencies. * h8300-tdep.c: Slightly rearrange type definitions and functions. (struct frame_extra_info): Remove. (struct h8300_frame_cache): Replace locals with differently defined uses_fp member. (h8300_unwind_pc): Simplify. (h8300_unwind_sp): New function. (h8300_unwind_dummy_id): Simplify. (h8300_init_frame_cache): New function. (h8300_is_argument_spill): Use reworked defines for opcode scanning. (h8300_skip_prologue): Rewrite. (h8300_alloc_frame_cache): Remove. (h8300_analyze_frame_setup): Remove. (h8300_analyze_register_saves): Remove. (h8300_analyze_prologue): Rewrite. (h8300_frame_cache): Use h8300_init_frame_cache instead of h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to accomodate 16 bit mode. Fix saved_sp and register offset evaluation. (h8300_frame_this_id): Correctly calculate this_id using saved stack pointer instead of base. (h8300_frame_prev_register): Drop needless braces. (h8300_frame_base_address): New function. (h8300_frame_base): New frame_base. (h8300_push_dummy_call): Return correct CFA value. (h8300h_extract_return_value): Fix 8 byte value handling. (h8300_use_struct_convention): New function. (h8300h_use_struct_convention): New function. (h8300h_store_return_value): Fix 8 byte value handling. (h8300_return_value): New function. (h8300h_return_value): New function. (h8300_extract_struct_value_address): Remove deprecated functionality. (h8300_push_dummy_code): Remove. (h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and set_gdbarch_store_return_value calls by set_gdbarch_return_value. Remove calls to set_gdbarch_deprecated_fp_regnum, set_gdbarch_deprecated_extract_struct_value_address, set_gdbarch_deprecated_use_struct_convention and set_gdbarch_push_dummy_code. Add calls to set_gdbarch_unwind_sp and frame_base_set_default. Slightly rearrange code.
2005-04-29bfd/Daniel Jacobowitz8-821/+395
* doc/Makefile.am: Remove stamp rules. Depend on chew.c instead of $(MKDOC). * aclocal.m4, Makefile.in, doc/Makefile.in: Regnerated. gas/ * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead of Makefile. (DISTCLEANFILES): Remove. (MAINTAINERCLEANFILES): Add asconfig.texi. * doc/Makefile.in: Regenerated.
2005-04-292005-04-29 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini6-99/+111
Sync from gcc: 2005-04-22 Bernd Schmidt <bernd.schmidt@analog.com> * config.sub: Update from master copy. 2005-04-19 Hans-Peter Nilsson <hp@axis.com> * configure.in <crisv32-*-*, cris-*-*>: New local variable libgcj_ex_libffi. Have specific match for *-*-linux*. Separate matches for "*-*-aout" and "*-*-elf". Don't disable libffi for "*-*-elf" and "*-*-linux*". * configure: Regenerate. config: 2005-04-29 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_PROG_GNAT): Remove stray break.
2005-04-29* more static'ing.Ben Elliston7-45/+37
* syslex.l (word, number, unit): Remove unused variables. * nlmheader.y (keyword_tokens): Make static. * coffdump.c (dump_coff_symbol, coff_dump): Make static. * coffgrok.c (lofile, last_function_symbol, last_function_type, last_struct, last_enum, cur_sfile): Make variables static. * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS, sysroff_swap_tr_in, sysroff_print_tr_out): Make static. * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth, names, pnames): Likewise.
2005-04-29Missed in earlier check-in.Ben Elliston1-1/+1
2005-04-29 * Makefile.am (GAS_CFILES): Remove bignum-copy.c.Ben Elliston26-382/+153
(GENERIC_OBJS): Likewise, remove bignum-copy.o. (bignum-copy.o): Remove. * Makefile.in: Regenerate. * makefile.vms (OBJS): Remove bignum-copy.obj. * symbols.h (local_symbol_make): Remove declaration. (verify_symbol_chain_2): Likewise. * symbols.c (local_symbol_make): Make static. (max_indent_level): Likewise. (verify_symbol_chain_2): Remove. * macro.c (macro_hash): Make static. * messages.c (fprint_value): Remove. * read.h (get_absolute_expr): Remove. (emit_leb128_expr): Likewise. (do_s_func): Likewise. * read.c (do_s_func): Make static. (emit_leb128_expr): Likewise. (get_absolute_expr): Likewise. * as.h (as_howmuch): Remove declaration. (fprint_value): Likewise. * as.c (myname): Make static. * input-scrub.c (as_howmuch): Remove. (as_1_char): Likewise. * input-file.h (input_file_is_open): Remove. * input-file.c (input_file_is_open): Likewise. * expr.h (expr_build_unary): Remove declaration. (expr_build_binary): Likewise. * expr.c (expr_build_unary): Remove. (expr_build_binary): Likewise. * hash.h (hash_replace): Remove declaration. (hash_delete): Likewise. * hash.c (hash_replace): Remove. (hash_delete): Likewise. * bignum-copy.c (bignum_copy): Move from here .. * config/tc-vax.c (bignum_copy): .. to here. * bignum.h (LOG_TO_BASE_2_OF_10): Remove. (bignum_copy): Remove extern declaration. * sb.h (string_count): Remove extern declaration. (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise. (sb_name): Likewise. * sb.c (dsize): Replace preprocessor macro with static int. (string_count): Make static. (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise. (sb_name): Likewise. * config/obj-coff.c (dim_index): Make static. * config/tc-i386.c (GOT_symbol): Likewise. (output_invalid_buf): Likewise. * doc/internals.texi (Warning and error messages): Remove the prototype for fprint_value.
2005-04-29* parse.c (namecopy): Change allocation conventions.Jim Blandy2-2/+26
(namecopy_size): New variable. (copy_name): Allocate namecopy using xrealloc, instead of assuming it has adequate space allocated to it. (parse_exp_1): Don't try to allocate space for namecopy here.
2005-04-29 * ar.c (mri_mode): Make static.Ben Elliston12-124/+96
* arsup.c (obfd, real_name, outfile): Likewise. * binemul.c (ar_emul_create): Remove unused function. (ar_emul_default_create): Likewise. * binemul.h (ar_emul_create): Remove declaration. (ar_emul_default_create): Likewise. (struct bin_emulation_xfer_struct): Remove ar_create member. * bucomm.c (report): Make static. * bucomm.h (report): Remove declaration. * cxxfilt.c (mbuffer): Make static. (main): Use unsigned ints for some loop control variables. * readelf.c: Make many global variables static. * size.c (berkeley_format): Make static. (long_options): Likewise. * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create structure initialiser. (bin_aix5_emulation): Likewise. * emul_vanilla.c (bin_vanilla_emulation): Likewise.
2005-04-29daily updateAlan Modra1-1/+1
2005-04-29*** empty log message ***gdbadmin1-1/+1
2005-04-28 * ldgram.y (lang_memory_region_type): Make static.Ben Elliston9-23/+30
(ldgram_want_filename): Likewise. * ldemul.c (ld_emulation): Make static. * ldfile.h (ldfile_find_command_file): Remove extern. * ldfile.c (ldfile_find_command_file): Make static. * ldlang.h (unique_section_list): Remove extern declaration. * ldlang.c (unique_section_list): Make static. * mri.h (symbol_truncate): Remove extern declaration. * mri.c (symbol_truncate): Make static. (order, only_load, address, alias): Likewise. (alignment, subalignment): Likewise.
2005-04-282005-04-19 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-65/+21
* gdb.base/shlib-call.exp: Change to use new shared library infrastructure.
2005-04-282005-04-28 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-57/+18
* gdb.base/pending.exp: Change to use new shared library infrastructure.
2005-04-282005-04-28 Paul Brook <paul@codesourcery.com>Paul Brook2-2/+17
Merge changes only applied to Makefile.in. * Makefile.am (BFD32_BACKENDS): Add elfxx-sparc.lo (BFD32_BACKENDS_CFILES): Add elfxx-sparc.c (elfxx-sparc.lo): New rule. (elf32-sparc.lo): Add elfxx-sparc.h dependency. (elf64-sparc.lo): Likewise.
2005-04-282005-04-28 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-30/+78
* gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler and use test_compiler_info instead of gcc_compiled.
2005-04-28 * cli/cli-cmds.c (edit_command): If symtab->fullname is not yetEli Zaretskii2-15/+22
set, use symtab_to_fullname, instead of trying to do its job. Use xstrprintf instead of malloc and sprintf.
2005-04-28 * remote.c (init_remote_state): Eliminate use ofKevin Buettner2-6/+8
deprecated_register_bytes().
2005-04-282005-04-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-14/+23
* valops.c (check_field): Make buffer a bfd_byte. * value.c (unpack_long, unpack_double, unpack_pointer) (unpack_field_as_long, modify_field): Ditto. * value.h: Update declarations.
2005-04-282005-04-28 Paul Brook <paul@codesourcery.com>Paul Brook2-2/+9
* exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
2005-04-28Applied this patch for Julian Brown <julian@codesourcery.com>Nick Clifton2-1/+8
* elflink.c (_bfd_elf_provide_symbol): Provide symbol for weak import.
2005-04-28Set BFD_VERSION_DATE to 20050428.H.J. Lu1-1/+1
2005-04-282005-04-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+20
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): Use the first SEC_ALLOC section which isn't SEC_READONLY or the last SEC_ALLOC section if such a section doesn't exist.
2005-04-28*** empty log message ***gdbadmin1-1/+1
2005-04-272005-04-27 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2-1/+11
* gdb.base/annota1.exp : Deal with messages caused by breakpoints in shared objects being adjusted and update copyright.
2005-04-27* solib-svr4.c (_initialize_svr4_solib)Mark Kettenis2-5/+4
[SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable svr4_legacy_fetch_link_map_offsets.
2005-04-27* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.Mark Kettenis6-49/+58
(sh_gdbarch_init): Remove redundant prototype. * sh-linux-tdep.c: New file. * config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets): Remove prototype. (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. * config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove solib-legacy.o. * Makefile.in (sh-linux-tdep.o): New.
2005-04-272005-04-27 Paul Brook <paul@codesourcery.com>Paul Brook2-3/+7
* common/Make-common.in: Add $(EXEEXT) to "run".
2005-04-272005-04-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu8-33/+56
* elf-bfd.h (bfd_elf_sym_name): Also take "asection *". * elf.c (bfd_elf_sym_name): Updated. (group_signature): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_edit_opd): Likewise. (ppc64_elf_edit_toc): Likewise. (ppc64_elf_relocate_section): Likewise. * elfcode.h (elf_slurp_symbol_table): Likewise. * elflink.c (elf_link_input_bfd): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Call bfd_elf_sym_name to get local symbol name when reporting errors.
2005-04-27Remove spurious spaces added by previous deltaNick Clifton1-1/+1
2005-04-27 * ChangeLog: Correct some 2003-01-13 dates.Daniel Jacobowitz12-13/+22
* gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp, gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp, gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp, gdb.trace/collection.exp, gdb.trace/passc-dyn.exp, gdb.trace/tfind.exp: Update copyright years.
2005-04-27* solib-svr4.c: Update copyright year. Include "gdb_assert.h".Mark Kettenis3-93/+84
(SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already defined. (legacy_fetch_link_map_offsets): Remove prototype. (fetch_link_map_offsets_gdbarch_data): Remove. (LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY) (first_link_map_member, open_symbol_file_object, svr4_current_sos) (svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets instead of SVR4_FETCH_LINK_MAP_OFFSETS. (solib_svr4_data): New variable. (struct solib_svr4_ops): New. (solib_svr4_init): New fynction. (legacy_fetch_link_map_offsets, init_fetch_link_map_offsets): Remove functions. (svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite using the new `struct solib_svr4_ops'. (_initialize_svr4_solib): Replace registration of per-architecture data. Add temporary hack to set svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS is set. * Makefile.in (solib-svr4.o): Update dependencies.
2005-04-27Set BFD_VERSION_DATE to 20050427.H.J. Lu1-1/+1
2005-04-27 * gdb.texinfo (Backtrace): Describe backtraces with arguments thatEli Zaretskii2-0/+34
were optimized away.
2005-04-27(elf_link_input_bfd): Handle the case where a badly formatted input file resultsNick Clifton2-0/+23
in a reloc which has no associated global symbol
2005-04-27 * link.cmd: Remove.Ben Elliston2-10/+4
2005-04-27 * syslex.l: Adjust top-of-file comment: this file is part of GNUBen Elliston2-3/+8
binutils, not GNU ld.
2005-04-27*** empty log message ***gdbadmin1-1/+1
2005-04-26* configure.tgt (*-*-freebsd*): Set gdb_osabi toMark Kettenis2-0/+6
GDB_OSABI_FREEBSD_ELF. Partial fix for PR gdb/1922.