aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-04-26* ld-fastcall/fastcall.exp: Don't run on i*86-*-openbsd*.Mark Kettenis2-1/+3
2005-04-26* ld-srec/srec.exp (run_srec_test): Deal with ProPolice onMark Kettenis2-1/+13
*-*-openbsd*.
2005-04-26gas/H.J. Lu6-6/+44
2005-04-26 H.J. Lu <hongjiu.lu@intel.com> * config/obj-multi.h (FAKE_LABEL_NAME): Defined. * read.c (pseudo_set): Disallow symbol set to common symbol. PR 857 * write.c (write_object_file): Report common symbol name when disallowing local symbol set to common symbol. (adjust_reloc_syms): Disallow local symbol set to undefined symbol. gas/testsuite/ 2005-04-26 H.J. Lu <hongjiu.lu@intel.com> * gas/all/assign.s: Make `x' and `y' global.
2005-04-26Update BFD_VERSION_DATE to 20050426.H.J. Lu1-1/+1
2005-04-262005-04-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-63/+42
* remote.c (remote_open_1): Move "ex"'s declaration to where it is used. (remote_get_thread_local_address): Use throw_error, include a printed string. * linux-thread-db.c (thread_db_get_thread_local_address): Ditto. * dwarf2loc.c (dwarf_expr_tls_address): Ditto. * cli/cli-script.c (script_from_file): Mark up throw_error message. * linespec.c (symtab_from_filename, decode_variable): Ditto.
2005-04-26 * configure.in: Fix the check for basename declaration.Jerome Guitton3-3/+7
* configure: Regenerate.
2005-04-26 * bfd.m4 (BFD_NEED_DECLARATION): Restore.Jerome Guitton2-0/+34
2005-04-262005-04-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney16-70/+90
Rename 'struct exception' to 'struct gdb_exception'. * wrapper.c: Update. * varobj.c: Update. * tui/tui-interp.c: Update. * remote.c: Update. * mi/mi-main.c: Update. * mi/mi-interp.c: Update. * linux-thread-db.c: Update. * interps.h: Update. * interps.c: Update. * exceptions.h: Update. * exceptions.c: Update. * dwarf2loc.c: Update. * cli/cli-interp.c: Update. * cli/cli-script.c: Update. * breakpoint.c: Update.
2005-04-26merge from gccDJ Delorie5-11/+52
2005-04-26*** empty log message ***gdbadmin1-1/+1
2005-04-25 * event-loop.c (gdb_select): Program defensively.Mark Mitchell2-5/+12
2005-04-25 * elfxx-sparc.c (sparc_elf_append_rela_64): Add BFD64 protection.David S. Miller2-2/+21
(sparc_elf_r_info_64, _bfd_sparc_elf_finish_dynamic_symbol, sparc64_finish_dyn, _bfd_sparc_elf_finish_dynamic_sections): Likewise.
2005-04-25 * event-loop.c (gdb_assert.h): Include.Mark Mitchell3-7/+95
(<windows.h>): Include under Windows. (<io.h>): Likeiwse. (gdb_select): New function. (gdb_wait_for_event): Use it. * Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
2005-04-25bfd/H.J. Lu6-3/+17
2005-04-25 H.J. Lu <hongjiu.lu@intel.com> PR 858 * elflink.c (elf_link_input_bfd): Make non-debugging reference to discarded section an error. ld/testsuite/ 2005-04-25 H.J. Lu <hongjiu.lu@intel.com> * ld-discard/extern.d: Expect error. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.
2005-04-25PR872Nick Clifton2-0/+6
* objcopy.c (copy_archive): Initialise 'obfd' field of new name_list structure.
2005-04-25Oops - forgot one place where -K is documented.Nick Clifton1-1/+1
2005-04-25* objcopy.c (copy_usage): Fix description of -K switch.Nick Clifton3-5/+11
* doc/binutils.texi (strip, objcopy): Fix description of -K switch.
2005-04-25 * corefile.h (core_num_syms): Remove unused extern declaration.Ben Elliston2-3/+6
(core_syms): Likewise. (min_insn_size): Likewise.