binutils-gdb.git
20 years agodaily update
Alan Modra [Mon, 16 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago* config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
Mark Kettenis [Sun, 15 Aug 2004 16:10:23 +0000 (16:10 +0000)]
* config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
Remove defines.

20 years ago* linux-nat.c (kill_inferior): Add missing third and fourth
Mark Kettenis [Sun, 15 Aug 2004 15:51:40 +0000 (15:51 +0000)]
* linux-nat.c (kill_inferior): Add missing third and fourth
arguments to ptrace call.  Don't use PTRACE_ARG3_TYPE.

20 years ago* infptrace.c (child_xfer_memory): Replace PTRACE_XFER_TYPE with
Mark Kettenis [Sun, 15 Aug 2004 15:33:21 +0000 (15:33 +0000)]
* infptrace.c (child_xfer_memory): Replace PTRACE_XFER_TYPE with
PTRACE_TYPE_RET.

20 years ago* proc-why.c (proc_prettyfprint_why): Fix format string.
Mark Kettenis [Sun, 15 Aug 2004 12:12:47 +0000 (12:12 +0000)]
* proc-why.c (proc_prettyfprint_why): Fix format string.

20 years ago* solib-osf.c (osf_current_sos): Remove unsused label.
Mark Kettenis [Sun, 15 Aug 2004 12:08:49 +0000 (12:08 +0000)]
* solib-osf.c (osf_current_sos): Remove unsused label.

20 years ago* gdb.base/unload.c (main): Make local variable msg const.
Mark Kettenis [Sun, 15 Aug 2004 10:24:08 +0000 (10:24 +0000)]
* gdb.base/unload.c (main): Make local variable msg const.

20 years ago2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sun, 15 Aug 2004 10:15:58 +0000 (10:15 +0000)]
2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
to bug-gnu@prep.ai.mit.edu.
* gdb.mi/mi-disassemble.exp: Likewise.
* gdb.mi/mi-eval.exp: Likewise.
* gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
default line number.
* gdb.mi/mi-return.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
number with explicit range test.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-break.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-disassemble.exp: Likewise.
* gdb.mi/mi2-eval.exp: Likewise.
* gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
default line number.
* gdb.mi/mi2-return.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
number with explicit range test.
* gdb.mi/mi2-watch.exp: Likewise.

20 years ago* configure.in: Add <ncurses/ncurses.h> to the list of possible
Mark Kettenis [Sun, 15 Aug 2004 10:06:05 +0000 (10:06 +0000)]
* configure.in: Add <ncurses/ncurses.h> to the list of possible
curses headers.
* configure, config.in: Regenerate.
* gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include
<ncurses/ncurses.h>.

20 years ago2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sun, 15 Aug 2004 09:17:30 +0000 (09:17 +0000)]
2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
* gdb.cp/m-static.exp: Likewise.
* gdb.cp/rtti.exp: Likewise.

20 years ago*** empty log message ***
gdbadmin [Sun, 15 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sun, 15 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago* config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define.
Mark Kettenis [Sat, 14 Aug 2004 23:56:49 +0000 (23:56 +0000)]
* config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define.
* config/nm-nbsd.h: Update copyright year.
(PTRACE_ARG3_TYPE): Remove define.

20 years ago* sparc-nat.c (fetch_inferior_registers)
Mark Kettenis [Sat, 14 Aug 2004 23:44:47 +0000 (23:44 +0000)]
* sparc-nat.c (fetch_inferior_registers)
(store_inferior_registers, sparc_xfer_wcookie):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.

20 years agoReally s/PTRACE_ARG3_TYPE/PTRACE_TYPE_ARG3/g
Mark Kettenis [Sat, 14 Aug 2004 23:43:33 +0000 (23:43 +0000)]
Really s/PTRACE_ARG3_TYPE/PTRACE_TYPE_ARG3/g

20 years ago* alphabsd-nat.c (fetch_inferior_registers):
Mark Kettenis [Sat, 14 Aug 2004 23:37:04 +0000 (23:37 +0000)]
* alphabsd-nat.c (fetch_inferior_registers):
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* amd64bsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* armnbsd-nat.c: Update copyright year.
(fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs)
(store_register, store_regs, store_fp_register, store_fp_regs):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* hppabsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* i386bsd-nat.c (fetch_inferior_registers)
(store_inferior_registers, i386bsd_dr_set, i386bsd_dr_get_status):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* m68kbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* m88kbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* mipsnbsd-nat.c: Update copyright year.
(fetch_inferior_registers, store_inferior_registers):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* ns32knbsd-nat.c: Update copyright year.
(fetch_inferior_registers, store_inferior_registers):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* ppcnbsd-nat.c (fetch_inferior_registers):
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* ppcobsd-nat.c (fetch_inferior_registers):
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* shnbsd-nat.c: Update copyright year.
(fetch_inferior_registers, store_inferior_registers):
Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* vaxbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.

20 years ago* inferior.h (call_ptrace): Replace PTRACE_ARG3_TYPE with
Mark Kettenis [Sat, 14 Aug 2004 23:14:34 +0000 (23:14 +0000)]
* inferior.h (call_ptrace): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace, child_resume, attach, detach)
(U_REGS_OFFSET, fetch_register, store_register, child_xfer_memory)
(udot_info): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
* inftarg.c (ptrace_me): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.

20 years ago* gdbint.texinfo (Host Definition): Delete description of
Mark Kettenis [Sat, 14 Aug 2004 21:11:43 +0000 (21:11 +0000)]
* gdbint.texinfo (Host Definition): Delete description of
FCLOSE_PROVIDED and GETENV_PROVIDED.

20 years ago* defs.h: Remove out-of-date comment.
Mark Kettenis [Sat, 14 Aug 2004 20:56:27 +0000 (20:56 +0000)]
* defs.h: Remove out-of-date comment.
[!FCLOSE_PROVIDED] (fclose): Remove prototype.
[!GETENV_PROVIDED] (getenv): Remove prototype.

20 years ago* standalone.c: Remove file.
Mark Kettenis [Sat, 14 Aug 2004 20:40:15 +0000 (20:40 +0000)]
* standalone.c: Remove file.
* Makefile.in (standalone.o): Remove dependency.

20 years agoRemove accidentally committed entry.
Mark Kettenis [Sat, 14 Aug 2004 20:21:53 +0000 (20:21 +0000)]
Remove accidentally committed entry.

20 years ago* gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
Mark Kettenis [Sat, 14 Aug 2004 20:17:43 +0000 (20:17 +0000)]
* gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.

* lib/gdb.exp: Recognize relative path names as well as absolute
ones.

20 years ago* i386-linux-nat.c (dummy_sse_values): Remove function and
Mark Kettenis [Sat, 14 Aug 2004 16:01:39 +0000 (16:01 +0000)]
* i386-linux-nat.c (dummy_sse_values): Remove function and
prototype.
(i386_linux_dr_get): Fix typo in comment.
(LINUX_SYSCALL_REGNUM): Define as I386_EAX_REGNUM.

20 years ago* config/i386/obsd64.mt (TDEPFILES): Add i386obsd-tdep.o.
Mark Kettenis [Sat, 14 Aug 2004 13:45:53 +0000 (13:45 +0000)]
* config/i386/obsd64.mt (TDEPFILES): Add i386obsd-tdep.o.

20 years ago* defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
Mark Kettenis [Sat, 14 Aug 2004 13:37:51 +0000 (13:37 +0000)]
* defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
from declaration.
* top.c (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
from definition.

20 years ago * ChangeLog: Prefix Local Variables with semi-colons and indent
Eli Zaretskii [Sat, 14 Aug 2004 13:23:24 +0000 (13:23 +0000)]
* ChangeLog: Prefix Local Variables with semi-colons and indent
the reference to older ChangeLog files, to fix fontification in
Emacs.

20 years ago*** empty log message ***
gdbadmin [Sat, 14 Aug 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sat, 14 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2004-08-13 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 13 Aug 2004 22:32:31 +0000 (22:32 +0000)]
2004-08-13  Nathanael Nerode  <neroden@gcc.gnu.org>

* Add ACX_{TARGET,HOST,BUILD}_NONCANONICAL,
which do an automatic AC_SUBST on _GCC_TOPLEV_*_NONCANONICAL.
The intention is that we will migrate to these bit by bit.

20 years ago* configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use
Mark Kettenis [Fri, 13 Aug 2004 20:16:46 +0000 (20:16 +0000)]
* configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use
parenthesis in definition.
* configure: Regenerated.

20 years agoAdd and handle new --alternate command line option.
Nick Clifton [Fri, 13 Aug 2004 19:53:52 +0000 (19:53 +0000)]
Add and handle new --alternate command line option.

20 years ago* symconst.h (langMax): Fix typo in comment.
Mark Kettenis [Fri, 13 Aug 2004 19:17:39 +0000 (19:17 +0000)]
* symconst.h (langMax): Fix typo in comment.

20 years ago2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 13 Aug 2004 16:31:11 +0000 (16:31 +0000)]
2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>

* PROBLEMS: Mention build/1411.

20 years ago2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 13 Aug 2004 16:21:29 +0000 (16:21 +0000)]
2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.mi/mi-break.exp: Use gdb_get_line_number.
* gdb.mi/mi2-break.exp: Likewise.

20 years agoConvert file to ISO C90
Nick Clifton [Fri, 13 Aug 2004 15:35:22 +0000 (15:35 +0000)]
Convert file to ISO C90

20 years ago2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 13 Aug 2004 10:43:20 +0000 (10:43 +0000)]
2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.gdb/selftest.exp: Revert removal of call to init_malloc.

20 years ago2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 13 Aug 2004 10:24:52 +0000 (10:24 +0000)]
2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/inherit.exp: Use cp_test_ptype_class.

20 years ago2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 13 Aug 2004 08:48:46 +0000 (08:48 +0000)]
2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/classes.exp: Remove unused declarations.  Just let
test names default instead of providing special names.  Remove
extraneous demangler test.

20 years ago PR 293
Alan Modra [Fri, 13 Aug 2004 08:41:51 +0000 (08:41 +0000)]
PR 293
* elf32-hppa.c (elf32_hppa_hide_symbol): Use init_refcount to
zero the plt field.

20 years agoO_JSR): Do not allow VECIND addressing for non-SX processors.
Nick Clifton [Fri, 13 Aug 2004 08:14:02 +0000 (08:14 +0000)]
O_JSR): Do not allow VECIND addressing for non-SX processors.

20 years agobfd/
Alan Modra [Fri, 13 Aug 2004 03:16:01 +0000 (03:16 +0000)]
bfd/
* bfd.c (_bfd_default_error_handler): Handle %A and %B.
(bfd_archive_filename, bfd_get_section_ident): Delete.
* ecofflink.c (bfd_ecoff_debug_accumulate_other): Don't call
bfd_archive_filename.
* elflink.c (elf_link_input_bfd): Don't use callbacks->error_handler
to warn about symbols in discarded sections.  Use _bfd_error_handler.
* aout-adobe.c (aout_adobe_callback): See below.
* aout-cris.c (swap_ext_reloc_in): ..
* coff-arm.c (find_thumb_glue, find_arm_glue,
coff_arm_relocate_section, bfd_arm_process_before_allocation,
coff_arm_merge_private_bfd_data, _bfd_coff_arm_set_private_flags,
coff_arm_copy_private_bfd_data): ..
* coff-i860.c (i860_reloc_processing): ..
* coff-mcore.c (mcore_coff_unsupported_reloc,
coff_mcore_relocate_section): ..
* coff-ppc.c (coff_ppc_relocate_section): ..
* coff-rs6000.c (xcoff_create_csect_from_smclas
* coff-sh.c (sh_relax_section, sh_relax_delete_bytes,
sh_swap_insns, sh_relocate_section): ..
* coff-tic54x.c (tic54x_reloc_processing): ..
* coff-tic80.c (coff_tic80_relocate_section): ..
* coff64-rs6000.c (xcoff64_create_csect_from_smclas): ..
* coffcode.h (styp_to_sec_flags, coff_slurp_line_table,
coff_slurp_symbol_table, coff_classify_symbol,
coff_slurp_reloc_table): ..
* coffgen.c (_bfd_coff_read_string_table): ..
* cofflink.c (coff_link_add_symbols, _bfd_coff_link_input_bfd,
_bfd_coff_generic_relocate_section): ..
* cpu-arm.c (bfd_arm_merge_machines): ..
* cpu-sh.c (sh_merge_bfd_arch): ..
* elf-hppa.h (elf_hppa_relocate_section): ..
* elf.c (bfd_elf_string_from_elf_section, setup_group,
_bfd_elf_setup_group_pointers, bfd_section_from_shdr,
assign_section_numbers, _bfd_elf_symbol_from_bfd_symbol,
copy_private_bfd_data, _bfd_elf_validate_reloc): ..
* elf32-arm.h (find_thumb_glue, find_arm_glue,
bfd_elf32_arm_process_before_allocation, elf32_thumb_to_arm_stub,
elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate,
elf32_arm_relocate_section, elf32_arm_set_private_flags,
elf32_arm_copy_private_bfd_data, elf32_arm_merge_private_bfd_data): ..
* elf32-cris.c (cris_elf_relocate_section, cris_elf_check_relocs,
cris_elf_merge_private_bfd_data
* elf32-frv.c (elf32_frv_relocate_section, elf32_frv_check_relocs): ..
* elf32-gen.c (elf32_generic_link_add_symbols): ..
* elf32-hppa.c (hppa_add_stub, hppa_build_one_stub,
elf32_hppa_check_relocs, get_local_syms, final_link_relocate,
elf32_hppa_relocate_section): ..
* elf32-i370.c (i370_elf_merge_private_bfd_data,
i370_elf_check_relocs, i370_elf_relocate_section): ..
* elf32-i386.c (elf_i386_info_to_howto_rel, elf_i386_check_relocs,
elf_i386_relocate_section): ..
* elf32-m32r.c (m32r_elf_relocate_section,
m32r_elf_merge_private_bfd_data): ..
* elf32-m68hc1x.c (m68hc12_add_stub,
_bfd_m68hc11_elf_merge_private_bfd_data): ..
* elf32-m68k.c (elf_m68k_relocate_section): ..
* elf32-mcore.c (mcore_elf_unsupported_reloc,
mcore_elf_relocate_section): ..
* elf32-ppc.c (ppc_elf_merge_private_bfd_data, bad_shared_reloc,
ppc_elf_check_relocs, ppc_elf_relocate_section,
ppc_elf_begin_write_processing): ..
* elf32-s390.c (elf_s390_check_relocs, invalid_tls_insn,
elf_s390_relocate_section): ..
* elf32-sh-symbian.c (sh_symbian_import_as,
sh_symbian_process_embedded_commands,
sh_symbian_relocate_section): ..
* elf32-sh.c (sh_elf_relax_section, sh_elf_relax_delete_bytes,
sh_elf_swap_insns, sh_elf_relocate_section, sh_elf_check_relocs,
sh_elf_merge_private_data): ..
* elf32-sparc.c (elf32_sparc_check_relocs,
elf32_sparc_relocate_section,
elf32_sparc_merge_private_bfd_data): ..
* elf32-v850.c (v850_elf_check_relocs,
v850_elf_merge_private_bfd_data): ..
* elf32-xtensa.c (elf_xtensa_check_relocs,
elf_xtensa_relocate_section, elf_xtensa_merge_private_bfd_data): ..
* elf64-alpha.c (elf64_alpha_relax_with_lituse,
elf64_alpha_relax_got_load, elf64_alpha_size_got_sections,
elf64_alpha_relocate_section_r, elf64_alpha_relocate_section): ..
* elf64-gen.c (elf64_generic_link_add_symbols): ..
* elf64-ppc.c (ppc64_elf_merge_private_bfd_data, ppc_add_stub,
ppc64_elf_check_relocs, ppc64_elf_edit_opd,
ppc64_elf_relocate_section): ..
* elf64-s390.c (elf_s390_check_relocs, invalid_tls_insn,
elf_s390_relocate_section): ..
* elf64-sh64.c (sh_elf64_relocate_section): ..
* elf64-sparc.c (sparc64_elf_check_relocs,
sparc64_elf_add_symbol_hook, sparc64_elf_relocate_section,
sparc64_elf_merge_private_bfd_data): ..
* elf64-x86-64.c (elf64_x86_64_check_relocs,
elf64_x86_64_relocate_section): ..
* elflink.c (_bfd_elf_add_default_symbol,
_bfd_elf_link_assign_sym_version, elf_link_read_relocs_from_section,
_bfd_elf_link_output_relocs, elf_link_add_object_symbols,
bfd_elf_size_dynamic_sections, elf_link_output_extsym,
elf_get_linked_section_vma, elf_fixup_link_order,
bfd_elf_final_link, bfd_elf_gc_record_vtinherit,
bfd_elf_gc_record_vtinherit, _bfd_elf_section_already_linked): ..
* elfxx-ia64.c (elfNN_ia64_relax_section,
elfNN_ia64_relocate_section, elfNN_ia64_merge_private_bfd_data): ..
* elfxx-mips.c (mips_elf_perform_relocation,
_bfd_mips_elf_check_relocs,
_bfd_mips_elf_merge_private_bfd_data): ..
* ieee.c (ieee_slurp_external_symbols): ..
* ihex.c (ihex_bad_byte, ihex_scan, ihex_read_section): ..
* libbfd.c (_bfd_generic_verify_endian_match): ..
* linker.c (_bfd_generic_link_add_one_symbol,
_bfd_generic_section_already_linked): ..
* pdp11.c (translate_to_native_sym_flags): ..
* pe-mips.c (coff_pe_mips_relocate_section): ..
* peicode.h (pe_ILF_build_a_bfd): ..
* srec.c (srec_bad_byte): ..
* stabs.c (_bfd_link_section_stabs): ..
* xcofflink.c (xcoff_link_add_symbols, xcoff_link_input_bfd): ..
Replace all uses of bfd_archive_filename and bfd_get_section_ident
with corresponding %B and %A in _bfd_error_handler format string.
Replace occurrences of "fprintf (stderr," with _bfd_error_handler
calls to use %A and %B.  Fix "against symbol .. from section" and
similar error messages.  Combine multiple _bfd_error_handler calls
where they were separated due to bfd_archive_filename deficiencies.
* bfd-in2.h: Regenerate.
include/
* bfdlink.h (struct bfd_link_callbacks): Remove "error_handler".
(LD_DEFINITION_IN_DISCARDED_SECTION): Delete.
ld/
* ldmain.c (link_callbacks): Remove "error_handler".
* ldmisc.c: Include elf-bfd.h.
(vfinfo): Sort comment.  Handle %A.  Use %A instead of
bfd_get_section_indent.
(error_handler): Delete.
* ldmisc.h (error_handler): Delete declaration.

20 years ago*** empty log message ***
gdbadmin [Fri, 13 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Fri, 13 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * Makefile.def, configure.in, src-release: Remove useless, bogus
Nathanael Nerode [Thu, 12 Aug 2004 22:59:53 +0000 (22:59 +0000)]
* Makefile.def, configure.in, src-release: Remove useless, bogus
references to tix.
* Makefile.in, configure: Regenerate.

20 years ago2004-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 12 Aug 2004 22:43:07 +0000 (22:43 +0000)]
2004-08-12  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release: Stop distributing mmalloc with gdb (which doesn't
use it).
* Makefile.def: GDB doesn't depend on mmalloc anymore.
* Makefile.in: Regenerate.

20 years ago2004-08-09 Robert Millan <robertmh@gnu.org>
Nathanael Nerode [Thu, 12 Aug 2004 22:29:56 +0000 (22:29 +0000)]
2004-08-09  Robert Millan  <robertmh@gnu.org>

Committed by Nathanael Nerode.
* configure.host: Match kfreebsd*-gnu and knetbsd*-gnu.
* configure.tgt: Match kfreebsd*-gnu and knetbsd*-gnu.

20 years ago2004-08-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 12 Aug 2004 21:44:19 +0000 (21:44 +0000)]
2004-08-12  Andrew Cagney  <cagney@gnu.org>

* NEWS: Mention fixes in GDB 6.2.1.
* PROBLEMS: Remove mention of mips-irix.

20 years ago2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 Aug 2004 20:22:59 +0000 (20:22 +0000)]
2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.base/unload.exp: New test for breakpoints in dynamically
        loaded libraries.
        * gdb.base/unload.c: Ditto.
        * gdb.base/unloadshr.c: Ditto.

20 years ago2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Thu, 12 Aug 2004 18:51:41 +0000 (18:51 +0000)]
2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/classes.exp (test_ptype_class_objects): Call
cp_test_ptype_class.
(test_enums): Likewise.

20 years ago2004-08-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 Aug 2004 16:01:22 +0000 (16:01 +0000)]
2004-08-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (R_386_USED_BY_INTEL_200): New.

20 years ago2004-08-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 Aug 2004 15:56:05 +0000 (15:56 +0000)]
2004-08-12  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Report unrecognized
relocation.

20 years ago * config/powerpc/xm-aix.h: Delete.
Joel Brobecker [Thu, 12 Aug 2004 06:28:13 +0000 (06:28 +0000)]
    * config/powerpc/xm-aix.h: Delete.
        * config/powerpc/aix.mh (MH_FILE): Remove.
        * config/powerpc/aix432.mh (MH_FILE): Remove.

20 years ago * config/powerpc/aix.mh: Remove obsolete comment.
Joel Brobecker [Thu, 12 Aug 2004 05:19:10 +0000 (05:19 +0000)]
    * config/powerpc/aix.mh: Remove obsolete comment.
        * config/powerpc/aix432.mh: Likewise.

20 years ago * config/powerpc/xm-aix.h (UINT_MAX): Remove undef.
Joel Brobecker [Thu, 12 Aug 2004 05:01:17 +0000 (05:01 +0000)]
    * config/powerpc/xm-aix.h (UINT_MAX): Remove undef.

20 years agodaily update
Alan Modra [Thu, 12 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Thu, 12 Aug 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * config/rs6000/xm-aix4.h: Remove "config/xm-aix4.h" include,
Joel Brobecker [Wed, 11 Aug 2004 22:40:45 +0000 (22:40 +0000)]
    * config/rs6000/xm-aix4.h: Remove "config/xm-aix4.h" include,
        this file is now empty.
        * config/xm-aix4.h: Remove, this file is no longer included
        anywhere.

20 years ago * config/powerpc/xm-aix.h: Remove "config/xm-aix4.h", that file
Joel Brobecker [Wed, 11 Aug 2004 22:28:34 +0000 (22:28 +0000)]
    * config/powerpc/xm-aix.h: Remove "config/xm-aix4.h", that file
        is now empty.
        (termdef): Remove prototype, function no longer used.

20 years ago * doc/gdbint.texinfo (Host Definition): Remove documentation
Joel Brobecker [Wed, 11 Aug 2004 22:23:05 +0000 (22:23 +0000)]
    * doc/gdbint.texinfo (Host Definition): Remove documentation
        for USE_O_NOCTTY, no longer used.
        * config/xm-aix4.h (USE_O_NOCTTY): Remove, no longer used.
        * config/rs6000/xm-rs6000.h (USE_O_NOCTTY): Likewise.

20 years ago * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used.
Joel Brobecker [Wed, 11 Aug 2004 21:51:29 +0000 (21:51 +0000)]
    * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used.
        * config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise.
        * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.

20 years agomerge from gcc:
DJ Delorie [Wed, 11 Aug 2004 17:32:56 +0000 (17:32 +0000)]
merge from gcc:
2004-08-09  Mark Mitchell  <mark@codesourcery.com>

* configure.in (arm*-*-eabi*): New target.
* configure: Regenerate.

2004-08-03  Paul Brook  <paul@codesourcery.com>

* configure.in: Check for MPFR as well as GMP.
* configure: Regenerate.

20 years ago* infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5
Mark Kettenis [Wed, 11 Aug 2004 09:17:39 +0000 (09:17 +0000)]
* infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5
instead of FIVE_ARG_PTRACE.

20 years ago* inflow.c (O_NOCTTY): Define to zero if not already defined.
Mark Kettenis [Wed, 11 Aug 2004 09:00:57 +0000 (09:00 +0000)]
* inflow.c (O_NOCTTY): Define to zero if not already defined.
(new_tty): Use O_NOCTTY unconditionally.

20 years ago* procfs.c (procfs_detach): Cleanup. Print process ID, not LWP
Mark Kettenis [Wed, 11 Aug 2004 06:55:15 +0000 (06:55 +0000)]
* procfs.c (procfs_detach): Cleanup.  Print process ID, not LWP
ID.  Use comma in output.  Use gdb_flush on gdb_stdout instead of
fflush on stdout.

20 years ago * expr.c (operand): Handle the "~", "-", and "!" operators applied
Mark Mitchell [Wed, 11 Aug 2004 02:11:58 +0000 (02:11 +0000)]
* expr.c (operand): Handle the "~", "-", and "!" operators applied
to bignums.

* gas/arm/bignum1.s: New test.
* gas/arm/arm.exp: Run it.

20 years ago*** empty log message ***
gdbadmin [Wed, 11 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

20 years ago * xcoff_symfile_finish: Replace last call to xmfree by call
Joel Brobecker [Tue, 10 Aug 2004 23:48:29 +0000 (23:48 +0000)]
    * xcoff_symfile_finish: Replace last call to xmfree by call
        to xfree.

20 years ago2004-08-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 10 Aug 2004 22:36:39 +0000 (22:36 +0000)]
2004-08-10  Andrew Cagney  <cagney@gnu.org>

* main.c (captured_main): Delete call to init_malloc.
* defs.h (init_malloc): Delete declaration.
* utils.c (mmalloc, mrealloc, mcalloc, mfree)
(init_malloc): Delete functions.

Index: testsuite/ChangeLog
2004-08-10  Andrew Cagney  <cagney@gnu.org>

* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
init_malloc call.

20 years ago2004-08-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 10 Aug 2004 21:52:05 +0000 (21:52 +0000)]
2004-08-10  Andrew Cagney  <cagney@gnu.org>

* defs.h (xmfree): Delete.
* utils.c (xmfree): Delete function.
(xfree): Inline calls to xmfree and mfree.
* symmisc.c (free_symtab_block, free_symtab): Use xfree.
* symfile.c (reread_symbols, init_psymbol_list): Ditto.
* source.c (forget_cached_source_info, find_and_open_source): Ditto.
* somread.c (som_symfile_finish): Ditto.
* objfiles.c (allocate_objfile, free_objfile):
* nlmread.c (nlm_symfile_finish): Ditto.
* hpread.c (hpread_symfile_finish): Ditto.
* elfread.c (free_elfinfo, elf_symfile_finish): Ditto.
* dbxread.c (dbx_symfile_finish, free_bincl_list): Ditto.
* coffread.c (coff_symfile_finish): Ditto.

20 years ago2004-08-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 10 Aug 2004 21:16:13 +0000 (21:16 +0000)]
2004-08-10  Andrew Cagney  <cagney@gnu.org>

* defs.h (xmcalloc): Delete declaration.
* utils.c (xmcalloc): Delete.
(xcalloc): Inline calls to xmcalloc and mcalloc.
* ada-lang.c (_initialize_ada_language): Use htab_create_alloc,
xcalloc and xfree.
* symtab.c (create_demangled_names_hash): Ditto.

20 years ago2004-08-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 10 Aug 2004 20:03:32 +0000 (20:03 +0000)]
2004-08-10  Andrew Cagney  <cagney@gnu.org>

* defs.h (xmrealloc): Delete.
* utils.c (xmrealloc): Delete.
(xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc.
* symmisc.c (extend_psymbol_list): Use xrealloc.
* source.c (find_source_lines): Ditto.
* hpread.c (hpread_lookup_type): Ditto.
* dbxread.c (add_bincl_to_list): Ditto.

20 years ago2004-08-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 10 Aug 2004 19:37:47 +0000 (19:37 +0000)]
2004-08-10  Andrew Cagney  <cagney@gnu.org>

* utils.c (xmmalloc): Delete.
(xmalloc): Inline xmmalloc and mmalloc calls.
(msavestring): Use xmalloc.
* defs.h (xmmalloc): Delete declaration.
* xcoffread.c (xcoff_symfile_init): Use xmalloc instead of
xmmalloc.
* symmisc.c (extend_psymbol_list): Ditto.
* symfile.c (init_psymbol_list): Ditto.
* source.c (find_source_lines): Ditto.
* hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto.
* elfread.c (elf_symtab_read): Ditto.
* dbxread.c (dbx_symfile_init, init_bincl_list): Ditto.
* coffread.c (coff_symfile_init): Ditto.

20 years ago2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 10 Aug 2004 19:13:35 +0000 (19:13 +0000)]
2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>

* ChangeLog: Add copyright notice.  The notice is copied
from emacs 21.3 top level ChangeLog.

20 years ago2004-08-10 David Carlton <carlton@bactrian.org>
David Carlton [Tue, 10 Aug 2004 16:36:15 +0000 (16:36 +0000)]
2004-08-10  David Carlton  <carlton@bactrian.org>

* MAINTAINERS: Remove David Carlton from c++ testsuite
maintainers.

20 years ago * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
Jerome Guitton [Tue, 10 Aug 2004 16:09:54 +0000 (16:09 +0000)]
* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
print a line feed before the prompt.

20 years ago* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
Mark Kettenis [Tue, 10 Aug 2004 16:05:38 +0000 (16:05 +0000)]
* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.

20 years agobfd/
Alan Modra [Tue, 10 Aug 2004 11:23:03 +0000 (11:23 +0000)]
bfd/
* elf64-ppc.c (struct ppc_link_hash_entry): Add was_undefined.
(struct ppc_link_hash_table): Remove no_multi_toc, multi_toc_needed.
Make emit_stub_syms, stub_error and has_14bit_branch bit-fields.
Add twiddled_syms.
(link_hash_newfunc): Init was_undefined.
(add_symbol_adjust): Don't set undefined dot symbols to defweak;
Use undefweak instead.
(ppc64_elf_check_directives): Fix undefs chain.
(ppc64_elf_next_toc_section): Remove no_multi_toc and multi_toc_needed
references.
(ppc64_elf_size_stubs): Adjust for add_symbol_adjust change.
(undo_symbol_twiddle, ppc64_elf_restore_symbols): New functions.
* elf64-ppc.h (ppc64_elf_restore_symbols): Declare.
ld/
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
ppc64_elf_restore_symbols.

20 years ago General cleanup of the AIX xm include file:
Joel Brobecker [Tue, 10 Aug 2004 05:42:22 +0000 (05:42 +0000)]
    General cleanup of the AIX xm include file:
        * config/xm-aix4.h (fd_set): Remove undefine.
        Remove include of <sys/select.h>.
        (HAVE_TERMIO): Remove define.
        (USG): Likewise.
        (NULL): Remove redefine.
        (alloca): Remove #pragma.
        (vfork): Remove define.
        (termdef): Remove.
        (SIGWINCH_HANDLER): Remove.
        (SIGWINCH_HANDLER_BODY): Remove.

20 years agodaily update
Alan Modra [Tue, 10 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 10 Aug 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 9 Aug 2004 22:47:50 +0000 (22:47 +0000)]
2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>

* lib/cp-support.exp: New file.
* lib/cp-support.exp (cp_test_type_class): New function.
* gdb.cp/derivation.exp: Use cp_test_ptype_class.
* gdb.cp/virtfunc.exp (test_one_ptype): Removed.
* gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
cp_test_ptype_class.

20 years ago2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 9 Aug 2004 22:21:54 +0000 (22:21 +0000)]
2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
gdb.mi/mi2-watch.exp: Update copyright years.

20 years ago* configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to
Mark Kettenis [Mon, 9 Aug 2004 21:20:28 +0000 (21:20 +0000)]
* configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to
GDB_OSABI_OPENBSD_ELF.

20 years ago* bsd-kvm.c: Check for nlist.h before including it.
Mark Kettenis [Mon, 9 Aug 2004 21:10:20 +0000 (21:10 +0000)]
* bsd-kvm.c: Check for nlist.h before including it.

20 years ago* i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct
Mark Kettenis [Mon, 9 Aug 2004 20:40:14 +0000 (20:40 +0000)]
* i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct
sigcontext' offset consistency checks for ancient BSD.

20 years ago* gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>
Mark Kettenis [Mon, 9 Aug 2004 19:29:27 +0000 (19:29 +0000)]
* gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>

20 years ago* configure.in: Check for <sys/types.h>. Check return and
Mark Kettenis [Mon, 9 Aug 2004 19:20:13 +0000 (19:20 +0000)]
* configure.in: Check for <sys/types.h>.  Check return and
argument types of ptrace.
* configure, config.in: Regenerate.

20 years ago* gdb.base/sigaltstack.exp: Provide proper anchoring.
Mark Kettenis [Mon, 9 Aug 2004 19:09:30 +0000 (19:09 +0000)]
* gdb.base/sigaltstack.exp: Provide proper anchoring.

20 years ago* rs6000-tdep.c (set_sim_regno, init_sim_regno_table,
Jim Blandy [Mon, 9 Aug 2004 18:43:21 +0000 (18:43 +0000)]
* rs6000-tdep.c (set_sim_regno, init_sim_regno_table,
rs6000_register_sim_regno): Doc fixes.

20 years ago2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 9 Aug 2004 16:32:44 +0000 (16:32 +0000)]
2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
gdb.mi/mi-watch.exp: Update copyright years.

20 years ago PR gdb/1738
Daniel Jacobowitz [Mon, 9 Aug 2004 13:17:34 +0000 (13:17 +0000)]
PR gdb/1738
* gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
from a breakpoint with a pending signal.

20 years ago PR gdb/1736
Daniel Jacobowitz [Mon, 9 Aug 2004 13:16:16 +0000 (13:16 +0000)]
PR gdb/1736
* lib/gdb.exp (gdb_test_multiple): Handle return -code return.
* gdb.base/sigaltstack.exp (finish_test): Consume output until
the prompt.
* gdb.base/sigstep.exp: Add KFAIL for gdb/1736.

20 years ago * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
Daniel Jacobowitz [Mon, 9 Aug 2004 13:15:26 +0000 (13:15 +0000)]
* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.

20 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): For -fno-pic
Jakub Jelinek [Mon, 9 Aug 2004 08:53:51 +0000 (08:53 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): For -fno-pic
error, test input_section flags rather than sec.

20 years ago * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
Alan Modra [Mon, 9 Aug 2004 06:48:37 +0000 (06:48 +0000)]
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
.toc is too large on relocatable linking.

20 years ago * elf-bfd.h (struct elf_backend_data): Add
Alan Modra [Mon, 9 Aug 2004 06:02:03 +0000 (06:02 +0000)]
* elf-bfd.h (struct elf_backend_data): Add
elf_backend_archive_symbol_lookup.
(_bfd_elf_archive_symbol_lookup): Declare.
* elflink.c (_bfd_elf_archive_symbol_lookup): New function..
(elf_link_add_archive_symbols): ..extracted from here.  Call the
backend version.
* elfxx-target.h (elf_backend_archive_symbol_lookup): Provide default.
(elfNN_bed): Init new field.
* elf64-ppc.c (elf_backend_check_directives): Define.
(elf_backend_archive_symbol_lookup): Define.
(struct ppc_link_hash_table): Add tls_get_add_fd.  Make tls_get_add
a ppc_link_hash_entry pointer.
(get_fdh): Move.
(ppc64_elf_archive_symbol_lookup, opd_entry_value): New functions.
(add_symbol_adjust, ppc64_elf_check_directives): New functions.
(ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, func_desc_adjust,
ppc64_elf_adjust_dynamic_symbol, ppc64_elf_tls_setup,
ppc64_elf_tls_optimize, allocate_dynrelocs, ppc_type_of_stub,
ppc_build_one_stub, ppc64_elf_size_stubs, ppc64_elf_relocate_section,
ppc64_elf_finish_dynamic_symbol): Handle branch relocs to function
descriptor symbols.

20 years ago * mips-tdep.c: Include "floatformat.h".
Joel Brobecker [Mon, 9 Aug 2004 05:45:20 +0000 (05:45 +0000)]
    * mips-tdep.c: Include "floatformat.h".
        (n32n64_floatformat_always_valid): New function.
        (floatformat_n32n64_long_double_big): New constant.
        (mips_gdbarch_init): Set size and format of long double
        for N32 and N64 ABIs.
        * Makefile.in (mips-tdep.o): Update dependencies.

20 years ago * elf64-ppc.c (struct ppc_link_hash_entry): Expand adjust_done comment.
Alan Modra [Mon, 9 Aug 2004 05:38:48 +0000 (05:38 +0000)]
* elf64-ppc.c (struct ppc_link_hash_entry): Expand adjust_done comment.
(ppc64_elf_add_symbol_hook): Test for NULL section.
(get_sym_h): Formatting.
(ppc64_elf_size_stubs): Include reloc addend in value stored as
stub target_value.

20 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Combine handling of
Alan Modra [Mon, 9 Aug 2004 05:12:14 +0000 (05:12 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Combine handling of
long branch stubs with code handling plt and r2off branch stubs.