OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years agodaily update
Alan Modra [Tue, 26 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 26 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2004-10-25 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 25 Oct 2004 18:50:09 +0000 (18:50 +0000)]
2004-10-25  Andrew Cagney  <cagney@gnu.org>

* NEWS: Add Changes since GDB 6.3 section.

19 years ago2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 25 Oct 2004 09:47:25 +0000 (09:47 +0000)]
2004-10-21  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, us4, us5 (respectively).
  Remove unsupported 'popa' instruction.
Reverse operands order in store co-processor instructions.

19 years ago2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 25 Oct 2004 09:45:36 +0000 (09:45 +0000)]
2004-10-21  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, us4, us5 (respectively).
Remove unsupported 'popa' instruction.
Reverse operands order in store co-processor instructions.

19 years ago2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 25 Oct 2004 09:44:27 +0000 (09:44 +0000)]
2004-10-21  Tomer Levi  <Tomer.Levi@nsc.com>

* opcode/crx.h (operand_type): Remove redundant types i3, i4, i5, i8, i12.
Add new unsigned immediate types us3, us4, us5, us16.

19 years agodaily update
Alan Modra [Mon, 25 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 25 Oct 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * mmo.c: Adjust to ISO C.
Hans-Peter Nilsson [Sun, 24 Oct 2004 22:50:43 +0000 (22:50 +0000)]
* mmo.c: Adjust to ISO C.

19 years ago * mmo.c (mmo_write_section_description): New function broken out
Hans-Peter Nilsson [Sun, 24 Oct 2004 21:40:36 +0000 (21:40 +0000)]
* mmo.c (mmo_write_section_description): New function broken out
of mmo_internal_write_section.
(mmo_internal_write_section): For each of .text and .data, call
mmo_write_section_description before outputting contents if it has
nontrivially deducible vma or contents.
(mmo_has_leading_or_trailing_zero_tetra_p): New function.
(mmo_canonicalize_symtab): Adjust absolute symbols to .data
symbols if found within the .data address range.

19 years ago * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.
Daniel Jacobowitz [Sun, 24 Oct 2004 18:45:38 +0000 (18:45 +0000)]
* opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.

19 years ago * mmo.c (File Layout): Correct place of misplaced blurb about
Hans-Peter Nilsson [Sun, 24 Oct 2004 14:09:16 +0000 (14:09 +0000)]
* mmo.c (File Layout): Correct place of misplaced blurb about
special data.

19 years ago*** empty log message ***
gdbadmin [Sun, 24 Oct 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 24 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * configure.in: Use an absolute path to install-sh.
Daniel Jacobowitz [Sat, 23 Oct 2004 20:30:02 +0000 (20:30 +0000)]
* configure.in: Use an absolute path to install-sh.
* configure: Regenerated.

19 years ago * ada-lang.c (grow_vect): Return the new array instead of
Andreas Schwab [Sat, 23 Oct 2004 19:13:26 +0000 (19:13 +0000)]
* ada-lang.c (grow_vect): Return the new array instead of
expecting pointer to pointer to avoid violation of aliasing rules.
* ada-lang.h (GROW_VECT): Adapt call to grow_vect.

19 years ago * s390-tdep.c (enum pv_boolean): Remove.
Ulrich Weigand [Sat, 23 Oct 2004 16:31:23 +0000 (16:31 +0000)]
* s390-tdep.c (enum pv_boolean): Remove.
(pv_is_array_ref): Remove.
(s390_on_stack): Remove.
(S390_NUM_SPILL_SLOTS): Remove.
(struct s390_prologue_data): Remove members 'spill' and 'back_chain',
add members 'gpr_slot', 'fpr_slot', and 'back_chain_saved_p'.
(s390_store): Track all stores of orginal incoming registers to the
stack constant offsets relative to the CFA, instead of only tracking
stores into specific spill slots.
(s390_load): Likewise.
(s390_analyze_prologue): Adapt to struct s390_prologue_data changes.
(s390_prologue_frame_unwind_cache): Likewise.  Only track registers
defined as call-saved by the ABI.
(s390_push_dummy_call): Use bottom of dummy call argument save area
as return value, not the top.  Do not store to the called function's
register save area.
(s390_unwind_dummy_id): Adapt accordingly.

19 years ago2004-10-23 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 23 Oct 2004 16:18:09 +0000 (16:18 +0000)]
2004-10-23  Andrew Cagney  <cagney@gnu.org>

* objfiles.h (struct objfile): Rename obj_private to
deprecated_obj_private, sym_private to deprecated_sym_private, and
sym_stab_info to deprecated_sym_stab_info.
* gdb-stabs.h: Update.
* elfread.c: Update.
* dbxread.c: Update.
* coffread.c: Update.
* xcoffread.c: Update.
* symfile.c: Update.
* somread.c: Update.
* nlmread.c: Update.
* mdebugread.c: Update.
* hpread.c: Update.
* coffread.c: Update.

19 years ago * gdb.texinfo (Core File Generation): New section.
Eli Zaretskii [Sat, 23 Oct 2004 15:05:29 +0000 (15:05 +0000)]
* gdb.texinfo (Core File Generation): New section.

19 years ago (Calling): Expand and elaborate text. Add "print". Add the
Eli Zaretskii [Sat, 23 Oct 2004 14:34:54 +0000 (14:34 +0000)]
(Calling): Expand and elaborate text.  Add "print".  Add the
description of problems with weak aliases.

19 years ago2004-10-23 Eli Zaretskii <eliz@gnu.org>
Eli Zaretskii [Sat, 23 Oct 2004 14:21:44 +0000 (14:21 +0000)]
2004-10-23  Eli Zaretskii  <eliz@gnu.org>

* gdb.texinfo (Starting): Fix whitespace; make "elaboration" stand
out where it is first used, and add an index entry for the term.

19 years ago2004-10-23 Eli Zaretskii <eliz@gnu.org>
Eli Zaretskii [Sat, 23 Oct 2004 14:11:33 +0000 (14:11 +0000)]
2004-10-23  Eli Zaretskii  <eliz@gnu.org>

* gdb.texinfo(Files): Add a tip for decreasing memory used for
symtabs from shared libraries.

19 years ago * gdb.texinfo (SVR4 Process Information): Document subcommands of
Eli Zaretskii [Sat, 23 Oct 2004 13:52:37 +0000 (13:52 +0000)]
* gdb.texinfo (SVR4 Process Information): Document subcommands of
"info proc" that are already implemented.  Add index entries.
(Working Directory): Add a cross-reference to "info proc" command.

19 years ago* config.bfd: Add mips64*-*-openbsd.
Mark Kettenis [Sat, 23 Oct 2004 12:23:15 +0000 (12:23 +0000)]
* config.bfd: Add mips64*-*-openbsd.

19 years ago* mips64obsd-nat.c, mips64obsd-tdep.c: New files.
Mark Kettenis [Sat, 23 Oct 2004 12:14:02 +0000 (12:14 +0000)]
* mips64obsd-nat.c, mips64obsd-tdep.c: New files.
* configure.host: Add mips64*-*-openbsd*.
* configure.tgt: Add mips64*-*-openbsd*.
* Makefile.in (ALLDEPFILES): Add mips64obsd-nat.o,
mips64obsd-tdep.c.
(mips64obsd-nat.o, mips64obsd-tdep.o): New dependecies.
* config/mips/obsd64.mh, config/mips/obsd64.mt: New files.

19 years agodaily update
Alan Modra [Sat, 23 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 23 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * symtab.c (symbol_search_name): Minor reformatting.
Joel Brobecker [Fri, 22 Oct 2004 20:58:56 +0000 (20:58 +0000)]
    * symtab.c (symbol_search_name): Minor reformatting.

19 years ago2004-10-21 msnyder <msnyder@redhat.com>
Michael Snyder [Fri, 22 Oct 2004 00:34:42 +0000 (00:34 +0000)]
2004-10-21  msnyder  <msnyder@redhat.com>

* mn10300-tdep.c: Replace struct mn10300_unwind_cache with
struct trad_frame_cache.  Don't seem to need any more.
(mn10300_frame_unwind_cache): Use trad_frame_cache.
Tentatively try using SP or A3 reg as frame base.
(mn10300_frame_dummy_this_id): Rename to mn10300_frame_this_id.
Call trad_frame_get_id.
(mn10300_frame_prev_reg): Call trad_frame_get_reg.
(mn10300_frame_base_address): Call trad_frame_get_this_base.
(mn10300_frame_args_address, mn10300_frame_locals_address):
Delete.  Substitute mn10300_frame_base_address.
(mn10300_frame_unwind_init): Call dwarf2_frame_sniffer (even
though it doesn't seem to work yet).

19 years ago*** empty log message ***
gdbadmin [Fri, 22 Oct 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 22 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * elf32-xtensa.c (ebb_propose_action): Put declarations before
Bob Wilson [Thu, 21 Oct 2004 16:29:11 +0000 (16:29 +0000)]
* elf32-xtensa.c (ebb_propose_action): Put declarations before
statements.

19 years ago2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 21 Oct 2004 15:32:41 +0000 (15:32 +0000)]
2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94.
* configure: Regenerate.

19 years agobfd/
H.J. Lu [Thu, 21 Oct 2004 15:28:31 +0000 (15:28 +0000)]
bfd/

2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>

PR 463
* aoutx.h (aout_link_input_section_std): Pass proper hash entry
to linker reloc_overflow callback.
(aout_link_input_section_ext): Likewise.
(aout_link_reloc_link_order): Likewise.
* coff-a29k.c (coff_a29k_relocate_section): Likewise.
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents):
Likewise.
(alpha_relocate_section): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-h8300.c (h8300_reloc16_extra_cases): Likewise.
* coff-h8500.c (extra_case): Likewise.
* coff-i960.c (coff_i960_relocate_section): Likewise.
* coff-mcore.c (coff_mcore_relocate_section): Likewise.
* coff-mips.c (mips_relocate_section): Likewise.
* coff-or32.c (coff_or32_relocate_section): Likewise.
* coff-ppc.c (coff_ppc_relocate_section): Likewise.
* coff-rs6000.c (xcoff_ppc_relocate_section): Likewise.
* coff-sh.c (sh_relocate_section): Likewise.
* coff-tic80.c (coff_tic80_relocate_section): Likewise.
* coff-w65.c (w65_reloc16_extra_cases): Likewise.
* coff-z8k.c (extra_case): Likewise.
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
* cofflink.c (_bfd_coff_reloc_link_order): Likewise.
(_bfd_coff_generic_relocate_section): Likewise.
* ecoff.c (ecoff_reloc_link_order): Likewise.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-crx.c (elf32_crx_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elflink.c (elf_reloc_link_order): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
(_bfd_elf_mips_get_relocated_section_contents): Likewise.
* linker.c (_bfd_generic_reloc_link_order): Likewise.
* pdp11.c (pdp11_aout_link_input_section): Likewise.
(aout_link_reloc_link_order): Likewise.
* reloc.c (bfd_generic_get_relocated_section_contents):
Likewise.
* xcofflink.c (xcoff_reloc_link_order): Likewise.
* simple.c (simple_dummy_reloc_overflow): Updated.

include/

2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>

PR 463
* bfdlink.h (bfd_link_callbacks): Add a pointer to struct
bfd_link_hash_entry to reloc_overflow.

ld/

2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>

PR 463
* ldmain.c (reloc_overflow): Accept a pointer to struct
bfd_link_hash_entry. Report symbol location for relocation
overflow.

19 years ago * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.
Joel Brobecker [Thu, 21 Oct 2004 04:10:48 +0000 (04:10 +0000)]
    * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.
        (ARCH_SET_FS): Likewise.
        (ARCH_GET_FS): Likewise.
        (ARCH_GET_GS): Likewise.

19 years ago * gdb.ada/null_record.exp: Check where we stopped after
Joel Brobecker [Thu, 21 Oct 2004 03:55:08 +0000 (03:55 +0000)]
    * gdb.ada/null_record.exp: Check where we stopped after
        sending the start command, instead of where the associated
        temporary breakpoint was inserted.

19 years ago * symtab.h: Fix typo in comment.
Joel Brobecker [Thu, 21 Oct 2004 00:52:30 +0000 (00:52 +0000)]
    * symtab.h: Fix typo in comment.

19 years agodaily update
Alan Modra [Thu, 21 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 21 Oct 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elf32-m68k.c (elf_m68k_plt_sym_val): New function.
Andreas Schwab [Wed, 20 Oct 2004 21:29:45 +0000 (21:29 +0000)]
* elf32-m68k.c (elf_m68k_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.

19 years ago * config.bfd: Set targ_underscore=yes for PE COFF targets.
Danny Smith [Wed, 20 Oct 2004 01:58:47 +0000 (01:58 +0000)]
* config.bfd: Set targ_underscore=yes for PE COFF targets.

19 years agodaily update
Alan Modra [Wed, 20 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 20 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* dwarf2read.c (struct comp_unit_head): Fix coding style.
Mark Kettenis [Tue, 19 Oct 2004 20:28:56 +0000 (20:28 +0000)]
* dwarf2read.c (struct comp_unit_head): Fix coding style.
(dwarf_decode_line_header): Likewise.

19 years ago2004-10-19 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 19 Oct 2004 19:43:50 +0000 (19:43 +0000)]
2004-10-19  Michael Chastain  <mec.gnu@mindspring.com>

* NEWS: GDB works with GCC -feliminate-dwarf2-dups.

19 years ago2004-10-19 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 19 Oct 2004 18:52:04 +0000 (18:52 +0000)]
2004-10-19  Andrew Cagney  <cagney@gnu.org>

* src-release (do-djunpack, do-md5sum): Install the generated file
directly into the proto-toplev/ directory.

19 years ago2004-10-19 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 19 Oct 2004 18:18:40 +0000 (18:18 +0000)]
2004-10-19  Andrew Cagney  <cagney@gnu.org>

GDB 6.3 branch created.
* version.in: Bump to version 6.3.50_2004-10-19-cvs.

19 years ago2004-10-19 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 19 Oct 2004 18:11:16 +0000 (18:11 +0000)]
2004-10-19  Andrew Cagney  <cagney@gnu.org>

* src-release (GDB_SUPPORT_DIRS): Remove utils and intl.

19 years ago * elf64-ppc.c (opd_entry_value): Handle --just-symbols objects.
Alan Modra [Tue, 19 Oct 2004 12:00:58 +0000 (12:00 +0000)]
* elf64-ppc.c (opd_entry_value): Handle --just-symbols objects.
(ppc64_elf_edit_opd): Likewise.

19 years ago * elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment.
Mark Mitchell [Tue, 19 Oct 2004 06:02:46 +0000 (06:02 +0000)]
* elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment.
* elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT,
set SEC_ALLOC and SEC_LOAD.

19 years agodaily update
Alan Modra [Tue, 19 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 19 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoCompute 'name' for relocs against both local and global symbols.
Nick Clifton [Mon, 18 Oct 2004 08:06:31 +0000 (08:06 +0000)]
Compute 'name' for relocs against both local and global symbols.

19 years agodaily update
Alan Modra [Mon, 18 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 18 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 17 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 17 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agobfd/
Daniel Jacobowitz [Sat, 16 Oct 2004 18:13:52 +0000 (18:13 +0000)]
bfd/
* bfd-in2.h: Regenerate.
* bfd.c (struct bfd): Add no_export.
* elflink.c (elf_link_add_object_symbols): Handle no_export.
ld/
* ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
(check_excluded_libs): New.
(load_symbols): Call check_excluded_libs.
* ldlang.h (add_excluded_libs): New prototype.
* emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
(gld${EMULATION_NAME}_add_options): Add --exclude-libs.
(gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
* ld.texinfo (Command Line Variables): Document --exclude-libs.
(Options Specific to i386 PE Targets): Remove --exclude-libs.
ld/testsuite/
* ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New.

19 years ago * linux-i386-low.c (ps_get_thread_area): New.
Daniel Jacobowitz [Sat, 16 Oct 2004 17:42:00 +0000 (17:42 +0000)]
* linux-i386-low.c (ps_get_thread_area): New.
* linux-x86-64-low.c (ps_get_thread_area): New.
* linux-low.c: Include <sys/syscall.h>.
(linux_kill_one_process): Don't kill the first thread here.
(linux_kill): Kill the first thread here.
(kill_lwp): New function.
(send_sigstop, linux_send_signal): Use it.
* proc-service.c: Clean up #ifdefs.
(fpregset_info): Delete.
(ps_lgetregs): Update and enable implementation.
(ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled
implementations.
* remote-utils.c (struct sym_cache, symbol_cache): New.
(input_interrupt): Print a clearer message.
(async_io_enabled): New variable.
(enable_async_io, disable_async_io): Use it.  Update comments.
(look_up_one_symbol): Use the symbol cache.
* thread-db.c (thread_db_look_up_symbols): New function.
(thread_db_init): Update comments.  Call thread_db_look_up_symbols.

19 years ago * configure.in: Test for -rdynamic.
Daniel Jacobowitz [Sat, 16 Oct 2004 16:18:54 +0000 (16:18 +0000)]
* configure.in: Test for -rdynamic.
* configure: Regenerated.
* Makefile (INTERNAL_LDFLAGS): New.
(gdbserver, gdbreplay): Use it.

19 years ago * dwarf2read.c (set_cu_language): Set language to Ada for
Joel Brobecker [Sat, 16 Oct 2004 00:41:00 +0000 (00:41 +0000)]
    * dwarf2read.c (set_cu_language): Set language to Ada for
        DW_LANG_Ada83 and DW_LANG_Ada95.

19 years agodaily update
Alan Modra [Sat, 16 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 16 Oct 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2004-10-15 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 15 Oct 2004 16:17:34 +0000 (16:17 +0000)]
2004-10-15  Michael Chastain  <mec.gnu@mindspring.com>

From Andreas Schwab <schwab@suse.de>:
* Makefile.in (.y.c, .l.c.): Fix the substitutions for
for xmalloc and xrealloc.

19 years ago2004-10-15 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 15 Oct 2004 13:29:33 +0000 (13:29 +0000)]
2004-10-15  Andrew Cagney  <cagney@gnu.org>

* ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out.
* inf-ptrace.c: Include "gdb_wait.h" instead of <wait.h>.
* Makefile.in (.y.c, .l.c): Don't replace xmalloc with xxmalloc.
Update dependencies.

19 years ago* ada-lang.c (ada_lookup_symbol): Correct comment.
Paul N. Hilfinger [Fri, 15 Oct 2004 09:12:24 +0000 (09:12 +0000)]
* ada-lang.c (ada_lookup_symbol): Correct comment.
(ada_evaluate_subexp): Change error message for
OP_FUNCALL case so as not to indicate an internal error.

From Joel Brobecker; committed by Paul Hilfinger.
* ada-lang.c (ada_template_to_fixed_record_type_1): Detect bogus
type sizes in XVE/XVU types, and emit a warning when that happens,
instead of rounding up the size of the resulting type.
Some minor reformatting.
(ada_is_aligner_type): Do not consider a type as an aligner type
if there is a corresponding XVS type as well.
(ada_evaluate_subexp): For TERNOP_SLICE, handle cases where we
have several levels of pointer indirection to the array.

From Jerome Guitton; committed by Paul Hilfinger.
* ada-lang.c (check_size): New function.
(coerce_unspec_val_to_type): call check_size to make sure
that the object size is reasonable.
(ada_evaluate_subexp): in UNOP_IND: Ditto. In TERNOP_SLICE:
Implements the case when we get a reference when we evaluate
the expression of one of the bounds of the slice.
(ada_value_struct_elt): when a packed array field is
a reference, use ada_coerce_ref to dereference it; use
ada_value_ind only if it is a pointer.

19 years ago * mips-tdep.c (mips32_scan_prologue): Move the implementation up
Joel Brobecker [Fri, 15 Oct 2004 07:25:04 +0000 (07:25 +0000)]
    * mips-tdep.c (mips32_scan_prologue): Move the implementation up
        a bit to avoid the necessity of an advance declaration. Remove
        declaration.
        (set_reg_offset): Move implemenation up.
        (mips16_get_imm): Likewise.
        (mips16_scan_prologue): Likewise.
        (reset_saved_regs): Likewise.
        (mips32_scan_prologue): Likewise.

19 years ago * mips-tdep.c (mips32_scan_prologue): Add advance declaration.
Joel Brobecker [Fri, 15 Oct 2004 07:09:10 +0000 (07:09 +0000)]
    * mips-tdep.c (mips32_scan_prologue): Add advance declaration.
        Remove sp as a parameter, compute it internally instead. Move
        prologue scanning limit from heuristic_proc_desc to here.
        (mips16_scan_prologue): Likewise.
        (mips_insn16_frame_cache): Replace call to heuristic_proc_desc
        by call to mips16_scan_prologue.
        (mips_insn32_frame_cache): Replace call to heuristic_proc_desc
        by call to mips32_scan_prologue.
        (heuristic_proc_desc): Remove code that's no longer necessary.
        Update calls to mips16_scan_prologue and mips32_scan_prologue.
        (mips_skip_prologue): Update calls to mips16_scan_prologue
        and mips32_scan_prologue.

19 years ago * Makefile.am: Run "make dep-am"
Alan Modra [Fri, 15 Oct 2004 05:48:51 +0000 (05:48 +0000)]
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.

19 years ago * config.bfd: Whitespace cleanup.
Alan Modra [Fri, 15 Oct 2004 05:47:11 +0000 (05:47 +0000)]
* config.bfd: Whitespace cleanup.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.

19 years ago * elflink.c (struct already_linked_section): Removed.
Jakub Jelinek [Fri, 15 Oct 2004 05:19:19 +0000 (05:19 +0000)]
* elflink.c (struct already_linked_section): Removed.
(try_match_symbols_in_sections, already_linked): Removed.
(_bfd_elf_section_already_linked): Skip ^\.gnu\.linkonce\.[^.]*\.
prefix of section names when finding already_linked_table
chain.  Compare section names.  Instead of calling already_linked,
do it inline and only for sections in the same already_linked_list.

19 years ago * mips-tdep.c (mips16_scan_prologue): Merge code from
Joel Brobecker [Fri, 15 Oct 2004 04:29:23 +0000 (04:29 +0000)]
    * mips-tdep.c (mips16_scan_prologue): Merge code from
        mips16_skip_prologue.  Now return the address of the first
        instruction past the function prologue.
        (mips16_skip_prologue): Remove, no longer necessary.
        (mips_skip_prologue): Replace call to mips16_skip_prologue
        by call to mips16_scan_prologue.

19 years agodaily update
Alan Modra [Fri, 15 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 15 Oct 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info"
Alan Modra [Thu, 14 Oct 2004 23:38:08 +0000 (23:38 +0000)]
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info"
parameter.  If called after _bfd_elf_write_section_eh_frame,
don't allow a -2 return unless need_* bit is already set, and
handle offsets adjusted for output_offset.
* elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype.
* elf.c (_bfd_elf_section_offset): Update call.

19 years ago * mips-tdep.c (mips32_scan_prologue): Merge code from
Joel Brobecker [Thu, 14 Oct 2004 22:34:25 +0000 (22:34 +0000)]
    * mips-tdep.c (mips32_scan_prologue): Merge code from
        mips32_skip_prologue.  Now return the address of the first
        instruction past the function prologue.
        (mips32_skip_prologue): Remove.  No longer necessary.
        (mips16_skip_prologue): Add parameter end_pc instead of
        computing it.
        (mips_skip_prologue): Compute the upper limit for the
        prologue scanning. Update call to mips16_skip_prologue.
        Replace call to mips32_skip_prologue by call to
        mips32_scan_prologue.

19 years ago* hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
Mark Kettenis [Thu, 14 Oct 2004 21:08:06 +0000 (21:08 +0000)]
* hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
NetBSD system call stubs that store %rp in the ERP slot of the
stack frame.

19 years agoFix changelog (but not mine :-)
Andrew Cagney [Thu, 14 Oct 2004 19:15:24 +0000 (19:15 +0000)]
Fix changelog (but not mine :-)

19 years ago2004-10-14 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 14 Oct 2004 19:13:24 +0000 (19:13 +0000)]
2004-10-14  Andrew Cagney  <cagney@gnu.org>

* gdb.mi/gdb701.c (main): Return 0.

19 years ago* source.c: Always define O_BINARY to 0 if not defined already.
Mark Kettenis [Thu, 14 Oct 2004 13:19:30 +0000 (13:19 +0000)]
* source.c: Always define O_BINARY to 0 if not defined already.
(openp): Unconditionally use O_BINARY.

19 years ago* top.c (gdb_readline): Always accept "rn" as a line-ending.
Mark Kettenis [Thu, 14 Oct 2004 12:44:24 +0000 (12:44 +0000)]
* top.c (gdb_readline): Always accept "rn" as a line-ending.
* event-top.c (gdb_readline2): Likewise.

19 years ago2004-10-14 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Thu, 14 Oct 2004 12:10:29 +0000 (12:10 +0000)]
2004-10-14  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (_initialize_cris_tdep): Re-add call to
deprecated_add_core_fns which was removed by mistake.

19 years agodaily update
Alan Modra [Thu, 14 Oct 2004 00:00:14 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 14 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * ia64-linux-nat.c (fill_gregset, fill_fpregset): Replace
Kevin Buettner [Wed, 13 Oct 2004 21:40:41 +0000 (21:40 +0000)]
* ia64-linux-nat.c (fill_gregset, fill_fpregset): Replace
references to deprecated_registers[] with equivalent code.

19 years ago * dw2-intercu.S, dw2-intercu.exp: New files.
Daniel Jacobowitz [Wed, 13 Oct 2004 19:07:11 +0000 (19:07 +0000)]
* dw2-intercu.S, dw2-intercu.exp: New files.

19 years ago2004-10-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 13 Oct 2004 18:14:40 +0000 (18:14 +0000)]
2004-10-13  H.J. Lu  <hongjiu.lu@intel.com>

PR 440
* coffcode.h (coff_compute_section_file_positions): Cast to
bfd_vma when computing page alignment.

19 years ago * elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
Mark Mitchell [Wed, 13 Oct 2004 17:45:30 +0000 (17:45 +0000)]
* elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED.

* scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
loadable segment.

19 years ago * rs6000-tdep.c (rs6000_push_dummy_call): Replace references to
Kevin Buettner [Wed, 13 Oct 2004 16:38:22 +0000 (16:38 +0000)]
* rs6000-tdep.c (rs6000_push_dummy_call): Replace references to
``deprecated_registers'' with equivalent code.  Use gdb_assert()
instead of explicit test and print statement.

19 years ago * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt
Mark Mitchell [Wed, 13 Oct 2004 03:09:28 +0000 (03:09 +0000)]
* elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt
relocations use a virtual address, not a section offset.

19 years agodaily update
Alan Modra [Wed, 13 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 13 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agomerge from gcc
DJ Delorie [Tue, 12 Oct 2004 23:40:03 +0000 (23:40 +0000)]
merge from gcc
2004-10-12  Kelley Cook  <kcook@gcc.gnu.org>
* configure.in (*-*-cygwin*): Supress warning if newlib not present.
* configure: Regenerate.

19 years agobfd ChangeLog
Bob Wilson [Tue, 12 Oct 2004 23:05:30 +0000 (23:05 +0000)]
bfd ChangeLog

* elf32-xtensa.c (elf_xtensa_get_private_bfd_flags): Delete.
(narrow_instruction, widen_instruction): Remove unnecessary calls to
xtensa_format_encode.
(ebb_propose_action): Inline call to ebb_add_proposed_action.
(ebb_add_proposed_action): Delete.

gas ChangeLog

* config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq.
(is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode,
is_windowed_return_opcode): Delete.
(xtensa_frob_label): Use get_subseg_target_freq.
(md_assemble): Inline call to is_entry_opcode.
(xtensa_handle_align): Inline call to get_frag_is_literal.
(relaxation_requirements): Inline call to is_jx_opcode.
(emit_single_op): Inline call to is_movi_opcode.
(xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn,
get_frag_is_no_transform, is_entry_opcode, and
set_frag_is_specific_opcode.  Use get_subseg_total_freq.
(xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags,
xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed):
Inline calls to get_frag_is_no_transform.
(next_instrs_are_b_retw): Inline call to is_windowed_return_opcode.
(xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and
get_frag_is_no_transform.
(convert_frag_immed_finish_loop): Inline calls to get_expression_value
and set_frag_is_no_transform.
(get_expression_value): Delete.
(subseg_map struct): Rename cur_total_freq to total_freq.  Rename
cur_target_freq to target_freq.
(get_subseg_info): Split out code to create a new map entry into ...
(add_subseg_info): ... this new function.
(get_last_insn_flags): Check if get_subseg_info succeeded.
(set_last_insn_flags): Call add_subseg_info if needed.
(get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New.
(xtensa_reorder_segments): Compute last_sec while counting sections.
Remove call to get_last_sec.
(get_last_sec): Delete.
(cache_literal_section): Inline call to retrieve_literal_seg and its
callees, seg_present and add_seg_list.
(retrieve_literal_seg, seg_present, add_seg_list): Delete.
(get_frag_is_insn, get_frag_is_no_transform,
set_frag_is_specific_opcode, set_frag_is_no_transform): Delete.
* config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15.

19 years ago2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 12 Oct 2004 22:49:17 +0000 (22:49 +0000)]
2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.threads/schedlock.c: Add comment markers to use to find
        line numbers.
        * gdb.threads/schedlock.exp: Adjust regex to handle the new
        comments.
        * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
        breakpoint lines.

19 years ago* sparc-nat.c: Include "inf-ptrace.h".
Mark Kettenis [Tue, 12 Oct 2004 22:18:55 +0000 (22:18 +0000)]
* sparc-nat.c: Include "inf-ptrace.h".
(sparc_target): New function.
* sparc-nat.h: Update copyright year.
(sparc_target): New prototype.
* sparcnbsd-nat.c: Don't include "gdbcore.h", include "target.h".
(_initialize_sparcnbsd_nat): Construct and add target vector.
* sparc64nbsd-nat.c: Include "target.h".
(_initialize_sparc64nbsd_nat): Construct and add target vector.
* Makefile.in (sparc-nat.o, sparcnbsd-nat.o, sparc64nbsd-nat.o):
Update dependencies.
* config/sparc/nbsd64.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o.
* config/sparc/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o and bsd-kvm.o.
(NAT_FILE): Set to nm-bsd.h.
(LOADLIBES): New variable.
* config/sparc/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
infarg.o, add inf-ptrace.o.
* config/sparc/nm-nbsdaout.h: Remove file.
* config/sparc/fbsd.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux64.mh (NATDEPFILES): Add inf-ptrace.o.

19 years ago2004-10-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 12 Oct 2004 19:14:31 +0000 (19:14 +0000)]
2004-10-12  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Versions and Branches): New chapter.
(Releasing GDB): Delete "Versions and Branches" section.
(Top): Add "Versions and Branches".

19 years agobfd ChangeLog
Bob Wilson [Tue, 12 Oct 2004 18:33:17 +0000 (18:33 +0000)]
bfd ChangeLog

* elf32-xtensa.c: Use ISO C90 formatting.

gas ChangeLog

* config/tc-xtensa.c: Use ISO C90 formatting.
* config/tc-xtensa.h: Likewise.
* config/xtensa-istack.h: Likewise.
* config/xtensa-relax.c: Likewise.
* config/xtensa-relax.h: Likewise.

ld ChangeLog

* emultempl/xtensaelf.em: Use ISO C90 formatting.

opcodes ChangeLog

* xtensa-dis.c: Use ISO C90 formatting.

19 years ago * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
Daniel Jacobowitz [Tue, 12 Oct 2004 15:55:06 +0000 (15:55 +0000)]
* gdb.dwarf2/dw2-basic.exp: Run on Hurd also.

19 years ago * elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error
Paul Brook [Tue, 12 Oct 2004 14:51:42 +0000 (14:51 +0000)]
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error
message.