aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-08-11 * config/rs6000/xm-aix4.h: Remove "config/xm-aix4.h" include,Joel Brobecker3-26/+9
this file is now empty. * config/xm-aix4.h: Remove, this file is no longer included anywhere.
2004-08-11 * config/powerpc/xm-aix.h: Remove "config/xm-aix4.h", that fileJoel Brobecker2-5/+6
is now empty. (termdef): Remove prototype, function no longer used.
2004-08-11 * doc/gdbint.texinfo (Host Definition): Remove documentationJoel Brobecker4-15/+7
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.
2004-08-11 * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used.Joel Brobecker4-8/+6
* config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise. * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
2004-08-11merge from gcc:DJ Delorie3-98/+156
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.
2004-08-11* infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5Mark Kettenis2-3/+6
instead of FIVE_ARG_PTRACE.
2004-08-11* inflow.c (O_NOCTTY): Define to zero if not already defined.Mark Kettenis2-5/+9
(new_tty): Use O_NOCTTY unconditionally.
2004-08-11* procfs.c (procfs_detach): Cleanup. Print process ID, not LWPMark Kettenis2-10/+21
ID. Use comma in output. Use gdb_flush on gdb_stdout instead of fflush on stdout.
2004-08-11 * expr.c (operand): Handle the "~", "-", and "!" operators appliedMark Mitchell5-0/+41
to bignums. * gas/arm/bignum1.s: New test. * gas/arm/arm.exp: Run it.
2004-08-11*** empty log message ***gdbadmin1-1/+1
2004-08-11daily updateAlan Modra1-1/+1
2004-08-10 * xcoff_symfile_finish: Replace last call to xmfree by callJoel Brobecker2-1/+6
to xfree.
2004-08-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-45/+10
* 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.
2004-08-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney13-41/+45
* 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.
2004-08-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-26/+26
* 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.
2004-08-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-34/+33
* 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.
2004-08-102004-08-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-51/+45
* 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.
2004-08-102004-08-10 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-0/+10
* ChangeLog: Add copyright notice. The notice is copied from emacs 21.3 top level ChangeLog.
2004-08-102004-08-10 David Carlton <carlton@bactrian.org>David Carlton2-1/+5
* MAINTAINERS: Remove David Carlton from c++ testsuite maintainers.
2004-08-10 * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure toJerome Guitton2-1/+10
print a line feed before the prompt.
2004-08-10* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.Mark Kettenis2-1/+5
2004-08-10bfd/Alan Modra5-35/+126
* 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.
2004-08-10 General cleanup of the AIX xm include file:Joel Brobecker2-62/+14
* 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.
2004-08-10daily updateAlan Modra1-1/+1
2004-08-10*** empty log message ***gdbadmin1-1/+1
2004-08-092004-08-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain4-483/+632
* 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.
2004-08-092004-08-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain20-19/+32
* 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.
2004-08-09* configure.tgt (x86_64-*-openbsd*): Set gdb_osabi toMark Kettenis2-1/+8
GDB_OSABI_OPENBSD_ELF.
2004-08-09* bsd-kvm.c: Check for nlist.h before including it.Mark Kettenis2-0/+6
2004-08-09* i386bsd-nat.c (_initialize_i386bsd_nat): Remove `structMark Kettenis2-2/+7
sigcontext' offset consistency checks for ancient BSD.
2004-08-09* gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>Mark Kettenis2-0/+4
2004-08-09* configure.in: Check for <sys/types.h>. Check return andMark Kettenis4-288/+594
argument types of ptrace. * configure, config.in: Regenerate.
2004-08-09* gdb.base/sigaltstack.exp: Provide proper anchoring.Mark Kettenis2-1/+5
2004-08-09* rs6000-tdep.c (set_sim_regno, init_sim_regno_table,Jim Blandy2-0/+20
rs6000_register_sim_regno): Doc fixes.
2004-08-092004-08-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain21-20/+32
* 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.
2004-08-09 PR gdb/1738Daniel Jacobowitz2-0/+21
* gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing from a breakpoint with a pending signal.
2004-08-09 PR gdb/1736Daniel Jacobowitz4-2/+30
* 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.
2004-08-09 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.Daniel Jacobowitz2-1/+5
2004-08-09 * elf64-x86-64.c (elf64_x86_64_relocate_section): For -fno-picJakub Jelinek2-2/+7
error, test input_section flags rather than sec.
2004-08-09 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error ifAlan Modra2-0/+13
.toc is too large on relocatable linking.
2004-08-09 * elf-bfd.h (struct elf_backend_data): AddAlan Modra5-156/+501
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.
2004-08-09 * mips-tdep.c: Include "floatformat.h".Joel Brobecker2-0/+42
(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.
2004-08-09 * elf64-ppc.c (struct ppc_link_hash_entry): Expand adjust_done comment.Alan Modra2-12/+31
(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.
2004-08-09 * elf64-ppc.c (ppc64_elf_relocate_section): Combine handling ofAlan Modra2-78/+78
long branch stubs with code handling plt and r2off branch stubs.
2004-08-09bfd/Alan Modra7-68/+100
* elf-bfd.h (_bfd_elf_gc_mark): Declare. * elflink.c (elf_link_input_bfd): Formatting. (_bfd_elf_gc_mark): Rename from elf_gc_mark and make global. Adjust all callers. * elf64-ppc.c (struct ppc_link_hash_entry): Remove is_entry. (link_hash_newfunc): Don't set it. (ppc64_elf_copy_indirect_symbol): Nor copy it. (ppc64_elf_mark_entry_syms): Delete. (ppc64_elf_gc_mark_hook): Mark entry syms here. Also mark opd sections. Use get_opd_info. * elf64-ppc.h (ppc64_elf_mark_entry_syms): Delete. ld/ * emultempl/ppc64elf.em (ppc_after_open): Delete. (LDEMUL_AFTER_OPEN): Don't define.
2004-08-09Lost ChangeLog entry:Nathanael Nerode1-0/+6
2004-08-01 Robert Millan <robertmh@gnu.org> * configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable libmudflap for all GNU-based systems (with Glibc). * configure: Regenerate.
2004-08-09 * elf64-ppc.c (adjust_opd_syms): Fix merge error.Alan Modra2-1/+2
2004-08-09 * elf64-ppc.c (struct ppc_link_hash_table): Remove have_undefweak.Alan Modra2-36/+14
(func_desc_adjust): Don't set have_undefweak. (ppc64_elf_func_desc_adjust): Don't add an extr nop to sfpr. (ppc64_elf_relocate_section): NOP out calls to undefweak functions.
2004-08-09 * elf64-ppc.c (struct ppc_link_hash_entry): Make "oh" aAlan Modra2-34/+41
"struct ppc_link_hash_entry *". Adjust all references. (ppc64_elf_hide_symbol): Correct a comment.
2004-08-09 * elf64-ppc.c (get_opd_info): New function.Alan Modra2-36/+68
(adjust_opd_syms): Use get_opd_info. Define removed symbols as zero. (ppc64_elf_edit_opd): Use get_opd_info. Check that sym has a dot before calling get_fdh. Test fdh rather than h before dereferencing fdh. Mark removed symbols in opd_adjust. (ppc64_elf_tls_optimize): Don't bother with opd adjustment here. (ppc64_elf_relocate_section): Use get_opd_info, and handle removed opd symbols. (ppc64_elf_output_symbol_hook): Likewise.