binutils-gdb.git
19 years ago * gdb.threads/staticthreads.exp: Override signal to check for hppa.
Daniel Jacobowitz [Sat, 30 Apr 2005 19:56:47 +0000 (19:56 +0000)]
* gdb.threads/staticthreads.exp: Override signal to check for hppa.
Slightly relax "sem_post" name checking.

19 years ago* solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
Mark Kettenis [Sat, 30 Apr 2005 12:59:57 +0000 (12:59 +0000)]
* solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
(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.

19 years agodaily update
Alan Modra [Sat, 30 Apr 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 30 Apr 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoFix bugs related to inferior function calls on FRV using the FDPIC ABI.
Kevin Buettner [Fri, 29 Apr 2005 21:48:28 +0000 (21:48 +0000)]
Fix bugs related to inferior function calls on FRV using the FDPIC ABI.

19 years ago2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Fri, 29 Apr 2005 21:08:24 +0000 (21:08 +0000)]
2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.base/unload.exp: Use new shared library infrastructure.

19 years ago2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Fri, 29 Apr 2005 20:45:32 +0000 (20:45 +0000)]
2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.base/so-impl-ld.exp: Use new shared library
        infrastructure.

19 years ago * configure.tgt: Add h8300*-*-rtemscoff.
Daniel Jacobowitz [Fri, 29 Apr 2005 18:43:35 +0000 (18:43 +0000)]
* configure.tgt: Add h8300*-*-rtemscoff.
Switch h8300*-*-rtems* to elf.

19 years ago * config.bfd: Add h8300*-*-rtemscoff.
Daniel Jacobowitz [Fri, 29 Apr 2005 18:41:45 +0000 (18:41 +0000)]
* config.bfd: Add h8300*-*-rtemscoff.
Switch h8300*-*-rtems* to elf.

19 years ago2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 29 Apr 2005 16:56:12 +0000 (16:56 +0000)]
2005-04-29  H.J. Lu  <hongjiu.lu@intel.com>

* hash.c: Undo the last change.
* hash.h: Likewise.

19 years ago2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 29 Apr 2005 16:49:20 +0000 (16:49 +0000)]
2005-04-29  H.J. Lu  <hongjiu.lu@intel.com>

* bucomm.c: Undo the last change.
* bucomm.h: Likewise.

19 years ago2005-04-29 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 29 Apr 2005 14:48:03 +0000 (14:48 +0000)]
2005-04-29  Paul Brook  <paul@codesourcery.com>

* 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.

19 years ago * gdb.asm/asm-source.exp: Add h8300 to supported targets.
Corinna Vinschen [Fri, 29 Apr 2005 14:22:28 +0000 (14:22 +0000)]
* gdb.asm/asm-source.exp: Add h8300 to supported targets.
* gdb.asm/h8300.inc: New file.

19 years ago * MAINTAINERS: Revert h8300 state to un-deleted.
Corinna Vinschen [Fri, 29 Apr 2005 14:21:22 +0000 (14:21 +0000)]
* MAINTAINERS: Revert h8300 state to un-deleted.
* 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.

19 years agobfd/
Daniel Jacobowitz [Fri, 29 Apr 2005 14:03:55 +0000 (14:03 +0000)]
bfd/
* 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.

19 years ago2005-04-29 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 29 Apr 2005 14:00:03 +0000 (14:00 +0000)]
2005-04-29  Paolo Bonzini  <bonzini@gnu.org>

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.

19 years ago* more static'ing.
Ben Elliston [Fri, 29 Apr 2005 01:15:21 +0000 (01:15 +0000)]
* more static'ing.

* 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.

19 years agoMissed in earlier check-in.
Ben Elliston [Fri, 29 Apr 2005 00:26:01 +0000 (00:26 +0000)]
Missed in earlier check-in.

19 years ago * Makefile.am (GAS_CFILES): Remove bignum-copy.c.
Ben Elliston [Fri, 29 Apr 2005 00:22:29 +0000 (00:22 +0000)]
* Makefile.am (GAS_CFILES): Remove bignum-copy.c.
(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.

19 years ago* parse.c (namecopy): Change allocation conventions.
Jim Blandy [Fri, 29 Apr 2005 00:04:06 +0000 (00:04 +0000)]
* parse.c (namecopy): Change allocation conventions.
(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.

19 years ago * ar.c (mri_mode): Make static.
Ben Elliston [Fri, 29 Apr 2005 00:03:33 +0000 (00:03 +0000)]
* ar.c (mri_mode): Make static.
* 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.

19 years agodaily update
Alan Modra [Fri, 29 Apr 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 29 Apr 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * ldgram.y (lang_memory_region_type): Make static.
Ben Elliston [Thu, 28 Apr 2005 23:54:33 +0000 (23:54 +0000)]
* ldgram.y (lang_memory_region_type): Make static.
(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.

19 years ago2005-04-19 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Thu, 28 Apr 2005 23:21:22 +0000 (23:21 +0000)]
2005-04-19  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.base/shlib-call.exp: Change to use new shared library
        infrastructure.

19 years ago2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Thu, 28 Apr 2005 23:04:28 +0000 (23:04 +0000)]
2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>

* gdb.base/pending.exp: Change to use new shared library
 infrastructure.

19 years ago2005-04-28 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 28 Apr 2005 23:02:05 +0000 (23:02 +0000)]
2005-04-28  Paul Brook  <paul@codesourcery.com>

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.

19 years ago2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Thu, 28 Apr 2005 22:31:33 +0000 (22:31 +0000)]
2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>

* gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler
        and use test_compiler_info instead of gcc_compiled.

19 years ago * cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
Eli Zaretskii [Thu, 28 Apr 2005 20:32:42 +0000 (20:32 +0000)]
* cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
set, use symtab_to_fullname, instead of trying to do its job.  Use
xstrprintf instead of malloc and sprintf.

19 years ago * remote.c (init_remote_state): Eliminate use of
Kevin Buettner [Thu, 28 Apr 2005 18:15:16 +0000 (18:15 +0000)]
* remote.c (init_remote_state): Eliminate use of
deprecated_register_bytes().

19 years ago2005-04-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 28 Apr 2005 16:15:19 +0000 (16:15 +0000)]
2005-04-28  Andrew Cagney  <cagney@gnu.org>

* 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.

19 years ago2005-04-28 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 28 Apr 2005 14:07:54 +0000 (14:07 +0000)]
2005-04-28  Paul Brook  <paul@codesourcery.com>

* exceptions.c (print_flush): Handle NULL gdb_stdout_serial.

19 years agoApplied this patch for Julian Brown <julian@codesourcery.com>
Nick Clifton [Thu, 28 Apr 2005 10:31:24 +0000 (10:31 +0000)]
Applied this patch for Julian Brown  <julian@codesourcery.com>
* elflink.c (_bfd_elf_provide_symbol): Provide symbol for weak import.

19 years agoSet BFD_VERSION_DATE to 20050428.
H.J. Lu [Thu, 28 Apr 2005 02:42:22 +0000 (02:42 +0000)]
Set BFD_VERSION_DATE to 20050428.

19 years ago2005-04-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 28 Apr 2005 02:41:40 +0000 (02:41 +0000)]
2005-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* 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.

19 years ago*** empty log message ***
gdbadmin [Thu, 28 Apr 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Wed, 27 Apr 2005 21:45:16 +0000 (21:45 +0000)]
2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
        shared objects being adjusted and update copyright.

19 years ago* solib-svr4.c (_initialize_svr4_solib)
Mark Kettenis [Wed, 27 Apr 2005 20:51:52 +0000 (20:51 +0000)]
* solib-svr4.c (_initialize_svr4_solib)
[SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
svr4_legacy_fetch_link_map_offsets.

19 years ago* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
Mark Kettenis [Wed, 27 Apr 2005 20:48:25 +0000 (20:48 +0000)]
* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
(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.

19 years ago2005-04-27 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 27 Apr 2005 20:38:08 +0000 (20:38 +0000)]
2005-04-27  Paul Brook  <paul@codesourcery.com>

* common/Make-common.in: Add $(EXEEXT) to "run".

19 years ago2005-04-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 27 Apr 2005 20:16:08 +0000 (20:16 +0000)]
2005-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* 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.

19 years agoRemove spurious spaces added by previous delta
Nick Clifton [Wed, 27 Apr 2005 16:46:23 +0000 (16:46 +0000)]
Remove spurious spaces added by previous delta

19 years ago * ChangeLog: Correct some 2003-01-13 dates.
Daniel Jacobowitz [Wed, 27 Apr 2005 16:35:15 +0000 (16:35 +0000)]
* ChangeLog: Correct some 2003-01-13 dates.
* 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.

19 years ago* solib-svr4.c: Update copyright year. Include "gdb_assert.h".
Mark Kettenis [Wed, 27 Apr 2005 14:30:15 +0000 (14:30 +0000)]
* solib-svr4.c: Update copyright year.  Include "gdb_assert.h".
(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.

19 years agoSet BFD_VERSION_DATE to 20050427.
H.J. Lu [Wed, 27 Apr 2005 14:23:48 +0000 (14:23 +0000)]
Set BFD_VERSION_DATE to 20050427.

19 years ago * gdb.texinfo (Backtrace): Describe backtraces with arguments that
Eli Zaretskii [Wed, 27 Apr 2005 13:02:15 +0000 (13:02 +0000)]
* gdb.texinfo (Backtrace): Describe backtraces with arguments that
were optimized away.

19 years ago(elf_link_input_bfd): Handle the case where a badly formatted input file results
Nick Clifton [Wed, 27 Apr 2005 10:09:43 +0000 (10:09 +0000)]
(elf_link_input_bfd): Handle the case where a badly formatted input file results
in a reloc which has no associated global symbol

19 years ago * link.cmd: Remove.
Ben Elliston [Wed, 27 Apr 2005 01:56:53 +0000 (01:56 +0000)]
* link.cmd: Remove.

19 years ago * syslex.l: Adjust top-of-file comment: this file is part of GNU
Ben Elliston [Wed, 27 Apr 2005 01:29:58 +0000 (01:29 +0000)]
* syslex.l: Adjust top-of-file comment: this file is part of GNU
binutils, not GNU ld.

19 years ago*** empty log message ***
gdbadmin [Wed, 27 Apr 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* configure.tgt (*-*-freebsd*): Set gdb_osabi to
Mark Kettenis [Tue, 26 Apr 2005 21:47:21 +0000 (21:47 +0000)]
* configure.tgt (*-*-freebsd*): Set gdb_osabi to
GDB_OSABI_FREEBSD_ELF.  Partial fix for PR gdb/1922.

19 years ago* ld-fastcall/fastcall.exp: Don't run on i*86-*-openbsd*.
Mark Kettenis [Tue, 26 Apr 2005 19:11:14 +0000 (19:11 +0000)]
* ld-fastcall/fastcall.exp: Don't run on i*86-*-openbsd*.

19 years ago* ld-srec/srec.exp (run_srec_test): Deal with ProPolice on
Mark Kettenis [Tue, 26 Apr 2005 18:56:50 +0000 (18:56 +0000)]
* ld-srec/srec.exp (run_srec_test): Deal with ProPolice on
*-*-openbsd*.

19 years agogas/
H.J. Lu [Tue, 26 Apr 2005 17:15:22 +0000 (17:15 +0000)]
gas/

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.

19 years agoUpdate BFD_VERSION_DATE to 20050426.
H.J. Lu [Tue, 26 Apr 2005 16:08:31 +0000 (16:08 +0000)]
Update BFD_VERSION_DATE to 20050426.

19 years ago2005-04-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 26 Apr 2005 14:57:22 +0000 (14:57 +0000)]
2005-04-26  Andrew Cagney  <cagney@gnu.org>

* 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.

19 years ago * configure.in: Fix the check for basename declaration.
Jerome Guitton [Tue, 26 Apr 2005 10:24:45 +0000 (10:24 +0000)]
* configure.in: Fix the check for basename declaration.
* configure: Regenerate.

19 years ago * bfd.m4 (BFD_NEED_DECLARATION): Restore.
Jerome Guitton [Tue, 26 Apr 2005 09:43:17 +0000 (09:43 +0000)]
* bfd.m4 (BFD_NEED_DECLARATION): Restore.

19 years ago2005-04-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 26 Apr 2005 05:03:41 +0000 (05:03 +0000)]
2005-04-26  Andrew Cagney  <cagney@gnu.org>

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.

19 years agomerge from gcc
DJ Delorie [Tue, 26 Apr 2005 01:02:02 +0000 (01:02 +0000)]
merge from gcc

19 years ago*** empty log message ***
gdbadmin [Tue, 26 Apr 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * event-loop.c (gdb_select): Program defensively.
Mark Mitchell [Mon, 25 Apr 2005 23:51:33 +0000 (23:51 +0000)]
* event-loop.c (gdb_select): Program defensively.

19 years ago * elfxx-sparc.c (sparc_elf_append_rela_64): Add BFD64 protection.
David S. Miller [Mon, 25 Apr 2005 21:53:38 +0000 (21:53 +0000)]
* elfxx-sparc.c (sparc_elf_append_rela_64): Add BFD64 protection.
(sparc_elf_r_info_64, _bfd_sparc_elf_finish_dynamic_symbol,
sparc64_finish_dyn, _bfd_sparc_elf_finish_dynamic_sections):
Likewise.

19 years ago * event-loop.c (gdb_assert.h): Include.
Mark Mitchell [Mon, 25 Apr 2005 21:45:56 +0000 (21:45 +0000)]
* event-loop.c (gdb_assert.h): Include.
(<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).

19 years agobfd/
H.J. Lu [Mon, 25 Apr 2005 14:59:09 +0000 (14:59 +0000)]
bfd/

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.

19 years agoPR872
Nick Clifton [Mon, 25 Apr 2005 14:27:00 +0000 (14:27 +0000)]
PR872
* objcopy.c (copy_archive): Initialise 'obfd' field of new name_list structure.

19 years agoOops - forgot one place where -K is documented.
Nick Clifton [Mon, 25 Apr 2005 09:25:57 +0000 (09:25 +0000)]
Oops - forgot one place where -K is documented.

19 years ago* objcopy.c (copy_usage): Fix description of -K switch.
Nick Clifton [Mon, 25 Apr 2005 09:23:24 +0000 (09:23 +0000)]
* objcopy.c (copy_usage): Fix description of -K switch.
* doc/binutils.texi (strip, objcopy): Fix description of -K switch.

19 years ago * corefile.h (core_num_syms): Remove unused extern declaration.
Ben Elliston [Mon, 25 Apr 2005 07:52:25 +0000 (07:52 +0000)]
* corefile.h (core_num_syms): Remove unused extern declaration.
(core_syms): Likewise.
(min_insn_size): Likewise.

19 years ago* armemu.c (handle_v6_insn): New function - emulate a few of the v6 instructions...
Nick Clifton [Mon, 25 Apr 2005 07:48:59 +0000 (07:48 +0000)]
* armemu.c (handle_v6_insn): New function - emulate a few of the v6 instructions - the ones now generated by GCC.
  (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is found.
* armdefs.h (struct ARMul_State): Add new field: is_v6.#
  (ARM_v6_Prop): Define.
* arminit.c (ARMul_NewState): Initialise the v6 flag.
  (ARMul_SelectProcessor): Determine if the v6 flag should be set.
* wrapper.c (sim_create_inferior): For unknown architectures, default to allowing the v6 instructions.

19 years agogas/
Jan Beulich [Mon, 25 Apr 2005 06:43:46 +0000 (06:43 +0000)]
gas/
2005-04-25  Jan Beulich  <jbeulich@novell.com>

* macro.c (macro_expand_body): Replace locals indicator parameters
with actual macro_entry. New local variables macro_line and err.
Don't return when encountering an error, just record the fact.
Detect local symbol name colliding with parameter. Track line number
inside of macro expansion.
(do_formals): Move local variable name to wider scope. Check
parameter of the same name doesn't already exist. In MRI mode, also
check it doesn't collide with the argument count pseudo-parameter).
(define_macro): Add file and line number parameters. Remove local
variable namestr. New local variable error. Initialize macro_entry
members file, line, and name. Don't return when encountering an
error, just record the fact. Use %s in some diagnostics for read.c
to insert the macro name. Free macro_entry on error.
(macro_expand): Pass macro_entry to macro_epand_body. Don't return
when encountering an error, just record the fact.
(expand_irp): Don't return when encountering an error, just record
the fact.
* macro.h (macro_struct): New members name, file, and line.
(define_macro): Add file and line number parameters.
* read.c (s_macro): Pass file and line to define_macro. Tag warning
regarding pseudo-op redefinition with the file/line that macro
definition started at.

gas/testsuite/
2005-04-25  Jan Beulich  <jbeulich@novell.com>

* gas/macros/badarg.s: Add tests for collisions between/among macro
parameters and local symbols.
* gas/macros/badarg.l: Adjust.

19 years ago*** empty log message ***
gdbadmin [Mon, 25 Apr 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* configure.host: Add *-*-openbsd support.
Mark Kettenis [Sun, 24 Apr 2005 20:26:38 +0000 (20:26 +0000)]
* configure.host: Add *-*-openbsd support.

19 years ago*** empty log message ***
gdbadmin [Sun, 24 Apr 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* sparc64-tdep.c: Include "dwarf2-frame.h".
Mark Kettenis [Sat, 23 Apr 2005 20:20:16 +0000 (20:20 +0000)]
* sparc64-tdep.c: Include "dwarf2-frame.h".
(sparc64_dwarf2_frame_init_reg): New function.
* Makefile.in (sparc64-tdep.o): Update dependencies.

19 years ago * corefile.c (core_num_syms): Make static.
Ben Elliston [Sat, 23 Apr 2005 17:13:31 +0000 (17:13 +0000)]
* corefile.c (core_num_syms): Make static.
(core_syms): Likewise.
(min_insn_size): Likewise.
* gprof.c (abfd): Remove unused variable.
* hist.c (hist_dimension): Make static.
(hist_dimension_abbrev): Likewise.
* sym_ids.c (id_list): Likewise.
(table_name): Likewise.

19 years ago* sparc64-tdep.c: Include "dwarf2-frame.h".
Mark Kettenis [Sat, 23 Apr 2005 15:40:54 +0000 (15:40 +0000)]
* sparc64-tdep.c: Include "dwarf2-frame.h".
(sparc64_dwarf2_frame_init_reg): New function.
* Makefile.in (sparc64-tdep.o): Update dependencies.

19 years ago*** empty log message ***
gdbadmin [Sat, 23 Apr 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-04-22 David S. Miller <davem@davemloft.net>
David S. Miller [Fri, 22 Apr 2005 23:08:06 +0000 (23:08 +0000)]
2005-04-22  David S. Miller  <davem@davemloft.net>

* sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to
sparc64_init_abi().

19 years ago * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
Bob Wilson [Fri, 22 Apr 2005 21:37:31 +0000 (21:37 +0000)]
* config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
(future_alignment_required): Remove ifdefs that use it.

19 years ago* ser-base.c: Include "ser-base.h" instead of "ser-unix.h".
Mark Kettenis [Fri, 22 Apr 2005 21:23:28 +0000 (21:23 +0000)]
* ser-base.c: Include "ser-base.h" instead of "ser-unix.h".

19 years ago * ser-base.c (<sys/time.h>): Include.
Mark Mitchell [Fri, 22 Apr 2005 20:32:01 +0000 (20:32 +0000)]
* ser-base.c (<sys/time.h>): Include.

19 years ago* ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
Mark Kettenis [Fri, 22 Apr 2005 20:29:14 +0000 (20:29 +0000)]
* ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.

19 years ago * config/tc-xtensa.c (xg_get_build_instr_size): Remove.
Bob Wilson [Fri, 22 Apr 2005 20:21:59 +0000 (20:21 +0000)]
* config/tc-xtensa.c (xg_get_build_instr_size): Remove.
(xg_is_narrow_insn, xg_expand_narrow): Remove.  Merge into...
(xg_is_single_relaxable_insn): ...here.  Add "targ" and "narrow_only"
parameters.
(xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.

19 years ago* sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
Mark Kettenis [Fri, 22 Apr 2005 19:59:07 +0000 (19:59 +0000)]
* sparc-linux-tdep.c: Reorder includes.  Tweak a few comments.
(LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
(LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
macros.
(sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
instructions.
* sparc64-linux-tdep.c: Reorder includes.  Tweak a few comments.
(LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
macros.
(sparc64_linux_rt_sigframe): Hardcode instructions.
* Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update

19 years ago* sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
Mark Kettenis [Fri, 22 Apr 2005 19:52:21 +0000 (19:52 +0000)]
* sparc-linux-tdep.c: Reorder includes.  Tweak a few comments.
(LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
(LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
macros.
(sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
instructions.
* sparc64-linux-tdep.c: Reorder includes.  Tweak a few comments.
(LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
macros.
(sparc64_linux_rt_sigframe): Hardcode instructions.
* Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
dependencies.

19 years ago* sparc-linux-tdep.c: Update copyright year.
Mark Kettenis [Fri, 22 Apr 2005 19:06:23 +0000 (19:06 +0000)]
* sparc-linux-tdep.c: Update copyright year.
(sparc32_linux_init_abi): Set skip_trampoline_code and
solib_svr4_fetch_link_map_offsets.  Set TDEP->plt_entry_size.
Don't set software_single_step and don't call
sparc32_sol2_init_abi.
* sparc64-linux-tdep.c: Update copyright year.
(sparc64_linux_init_abi): Set skip_trampoline_code and
solib_svr4_fetch_link_map_offsets.  Set TDEP->plt_entry_size.
Don't set software_single_step and don't call
sparc64_sol2_init_abi.

19 years ago * configure.in: Replace BFD_NEED_DECLARATION checks by the
Jerome Guitton [Fri, 22 Apr 2005 13:58:14 +0000 (13:58 +0000)]
* configure.in: Replace BFD_NEED_DECLARATION checks by the
corresponding AC_CHECK_DECLS.
* sysdep.h: Replace NEED_DECLARATION_* checks by the corresponding
HAVE_DECL_*.
* bfd.m4 (BFD_NEED_DECLARATION): Remove, obsolete.
* configure: Regenerate.
* config.in: Ditto.

19 years ago * gdb.texinfo (Remote configuration): Document "set/show
Eli Zaretskii [Fri, 22 Apr 2005 13:09:30 +0000 (13:09 +0000)]
* gdb.texinfo (Remote configuration): Document "set/show
get-thread-local-storage-address".  Add cross-reference to the
description of the qGetTLSAddr packet.
(General Query Packets): Mention "set remote
get-thread-local-storage-address" and add a reference to its
description.

19 years ago * remote-st.c (_initialize_remote_st2000): Remove the extraneous
Eli Zaretskii [Fri, 22 Apr 2005 12:49:27 +0000 (12:49 +0000)]
* remote-st.c (_initialize_remote_st2000): Remove the extraneous
"<command>" string from the call to add_com.
* remote-sim.c (_initialize_remote_sim): Ditto.
* remote-utils.c (_initialize_sr_support): Ditto.
* remote-mips.c (_initialize_remote_mips): Ditto.

19 years ago2005-04-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 22 Apr 2005 05:21:49 +0000 (05:21 +0000)]
2005-04-21  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (INCLUDES): New. Add -D_GNU_SOURCE.
(chew.o): Use it.
* Makefile.in: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Fri, 22 Apr 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 22 Apr 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
David S. Miller [Thu, 21 Apr 2005 22:04:04 +0000 (22:04 +0000)]
* sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
(sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames.
(sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start,
sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p,
sparc32_linux_sigtramp_frame_cache,
sparc32_linux_sigtramp_frame_this_id,
sparc32_linux_sigtramp_frame_prev_register,
sparc32_linux_sigtramp_frame_unwind,
sparc32_linux_sigtramp_frame_sniffer): Delete.
(sparc32_linux_init_abi): Register new tramp unwinders.  Kill
register of old sigtramp sniffer.
* sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New
function.
(sparc64_linux_rt_sigframe): New tramp frame.
(sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
sparc64_linux_sigtramp_frame_cache,
sparc64_linux_sigtramp_frame_this_id,
sparc64_linux_sigtramp_frame_prev_register,
sparc64_linux_sigtramp_frame_unwind,
sparc64_linux_sigtramp_frame_sniffer): Delete.
(sparc64_linux_init_abi): Register new tramp unwinders.  Kill
register of old sigtramp sniffer.
Makefile.in (sparc64-linux-tdep.o): Update dependencies.
(sparc-linux-tdep.o): Likewise.

19 years ago* ser-base.c: Include "gdb_string.h".
Mark Kettenis [Thu, 21 Apr 2005 21:23:25 +0000 (21:23 +0000)]
* ser-base.c: Include "gdb_string.h".
* Makefile.in (ser-base.o): Update dependencies.

19 years ago * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
Christian Groessler [Thu, 21 Apr 2005 20:03:57 +0000 (20:03 +0000)]
* config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
array.

19 years ago * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
David S. Miller [Thu, 21 Apr 2005 19:38:20 +0000 (19:38 +0000)]
* sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
signal return stub symbol names, __restore and __restore_rt are
the i386 symbol names not the sparc ones.
(sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h
as where the offsets were obtained from.
* sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0,
LINUX64_RT_SIGTRAMP_INSN1): New defines.
(sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
sparc64_linux_sigtramp_frame_cache,
sparc64_linux_sigtramp_frame_this_id,
sparc64_linux_sigtramp_frame_prev_register,
sparc64_linux_sigtramp_frame_sniffer): New functions.
(sparc64_linux_sigtramp_frame_unwind): New frame unwinder.
(sparc64_linux_init_abi): Register sigtramp frame sniffer.
* Makefile.in (sparc64-linux-tdep.o): Update dependencies.

19 years ago * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
Andreas Schwab [Thu, 21 Apr 2005 12:19:55 +0000 (12:19 +0000)]
* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
unsigned from type of dynamic_interpreter.
* elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove
casts again.

19 years ago * elf.c (assign_section_numbers): Fix comment.
Andreas Schwab [Thu, 21 Apr 2005 12:13:37 +0000 (12:13 +0000)]
* elf.c (assign_section_numbers): Fix comment.

19 years ago * som.c (som_bfd_print_private_bfd_data): Add explicit cast to long
Jerome Guitton [Thu, 21 Apr 2005 10:47:49 +0000 (10:47 +0000)]
* som.c (som_bfd_print_private_bfd_data): Add explicit cast to long
for struct som_exec_auxhdr fields.