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.
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.
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.
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.
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.
Mark Kettenis [Tue, 10 Aug 2004 16:05:38 +0000 (16:05 +0000)]
* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
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.
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.
Alan Modra [Tue, 10 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 10 Aug 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
Mark Kettenis [Mon, 9 Aug 2004 21:10:20 +0000 (21:10 +0000)]
* bsd-kvm.c: Check for nlist.h before including it.
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.
Mark Kettenis [Mon, 9 Aug 2004 19:29:27 +0000 (19:29 +0000)]
* gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>
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.
Mark Kettenis [Mon, 9 Aug 2004 19:09:30 +0000 (19:09 +0000)]
* gdb.base/sigaltstack.exp: Provide proper anchoring.
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.
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.
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.
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.
Daniel Jacobowitz [Mon, 9 Aug 2004 13:15:26 +0000 (13:15 +0000)]
* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
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.
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.
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.
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.
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.
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.
Alan Modra [Mon, 9 Aug 2004 03:14:12 +0000 (03:14 +0000)]
bfd/
* 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.
Nathanael Nerode [Mon, 9 Aug 2004 03:01:56 +0000 (03:01 +0000)]
Lost ChangeLog entry:
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.
Alan Modra [Mon, 9 Aug 2004 02:59:15 +0000 (02:59 +0000)]
* elf64-ppc.c (adjust_opd_syms): Fix merge error.
Alan Modra [Mon, 9 Aug 2004 00:54:28 +0000 (00:54 +0000)]
* elf64-ppc.c (struct ppc_link_hash_table): Remove have_undefweak.
(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.
Alan Modra [Mon, 9 Aug 2004 00:40:48 +0000 (00:40 +0000)]
* elf64-ppc.c (struct ppc_link_hash_entry): Make "oh" a
"struct ppc_link_hash_entry *". Adjust all references.
(ppc64_elf_hide_symbol): Correct a comment.
Alan Modra [Mon, 9 Aug 2004 00:22:53 +0000 (00:22 +0000)]
* elf64-ppc.c (get_opd_info): New function.
(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.
Alan Modra [Mon, 9 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 9 Aug 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sun, 8 Aug 2004 23:14:33 +0000 (23:14 +0000)]
PR gdb/1736
* gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
for i?86-*-linux*.
Daniel Jacobowitz [Sun, 8 Aug 2004 22:15:08 +0000 (22:15 +0000)]
* gdb.arch/i386-prologue.exp: Compile without debug information.
Andrew Cagney [Sun, 8 Aug 2004 20:50:57 +0000 (20:50 +0000)]
2004-08-08 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: Delete "fmt" and "attrib" fields. Always use %s to
print. Improve script's error messages.
* gdbarch.h: Re-generate.
Andrew Cagney [Sun, 8 Aug 2004 19:49:43 +0000 (19:49 +0000)]
2004-08-08 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (pformat): New function.
(float_format, double_format, long_double_format): List with bit
members. Use pformat when printing.
* gdbarch.c, gdbarch.h: Re-generate.
Nathan J. Williams [Sun, 8 Aug 2004 19:27:10 +0000 (19:27 +0000)]
* ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,
"gdbcore.h", "regcache.h", and "bsd-kvm.h".
(ppcnbsd_supply_pcb): New function.
(_initialize_ppcnbsd_nat): New prototype and function.
* config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (ppcnbsd-nat.o): Update dependencies.
Andrew Cagney [Sun, 8 Aug 2004 17:18:16 +0000 (17:18 +0000)]
2004-08-08 Andrew Cagney <cagney@gnu.org>
* gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single)
(builtin_type_ieee_double, builtin_type_ia64_quad)
(builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of
BE/LE floating-point types.
* gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single)
(builtin_type_ieee_double, builtin_type_ia64_quad)
(builtin_type_ia64_spill): Declare.
* doublest.c (_initialize_doublest, floatformat_ieee_single)
(floatformat_ieee_double, floatformat_arm_ext)
(floatformat_ia64_spill, floatformat_ia64_quad): Add tables
of LE/BE floatformats.
* doublest.h: (struct floatformat, floatformat_ieee_single)
(floatformat_ieee_double, floatformat_arm_ext)
(floatformat_ia64_spill, floatformat_ia64_quad): Declare.
Michael Chastain [Sun, 8 Aug 2004 16:16:42 +0000 (16:16 +0000)]
2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
* lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
rather than asking gdb to search.
Mark Kettenis [Sun, 8 Aug 2004 15:27:56 +0000 (15:27 +0000)]
* i386gnu-nat.c (gnu_store_registers): Fix typo.
Mark Kettenis [Sun, 8 Aug 2004 15:03:13 +0000 (15:03 +0000)]
* i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect
instead of regcache_raw_supply when storing the registers.
Mark Kettenis [Sun, 8 Aug 2004 12:50:37 +0000 (12:50 +0000)]
* i386gnu-nat.c: Update copyright year.
(gnu_store_registers): Don't use deprecated_registers and
deprecated_registers_valid. Use regcache_valid_p and
regcache_raw_supply instead.
Mark Kettenis [Sun, 8 Aug 2004 10:38:29 +0000 (10:38 +0000)]
* vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead of
frame_pc_unwind.
Mark Kettenis [Sun, 8 Aug 2004 01:00:55 +0000 (01:00 +0000)]
* procfs.c (procfs_pid_to_str): Remove redundant and unused
variables. Incapitalized "process".
Alan Modra [Sun, 8 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 8 Aug 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sat, 7 Aug 2004 22:12:08 +0000 (22:12 +0000)]
* configure.in: Add cursesX to the list of possible curses libs.
Add cursesX.h to the list of possible curses headers.
* configure, config.in: Regenerate.
Nathan J. Williams [Sat, 7 Aug 2004 21:52:15 +0000 (21:52 +0000)]
* configure.in: Test for struct lwp in <sys/lwp.h>
* bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use
the offset of l_addr in struct lwp.
Nathan J. Williams [Sat, 7 Aug 2004 21:22:41 +0000 (21:22 +0000)]
* bsd-kvm.c: Include "gdbcore.h"
(bsd_kvm_open): Use get_exec_file() to set 'execfile'.
Andrew Cagney [Sat, 7 Aug 2004 21:03:33 +0000 (21:03 +0000)]
2004-08-07 Andrew Cagney <cagney@gnu.org>
* gdbtypes.c (build_flt, build_complex): New functions.
(gdbtypes_post_init): Use.
Andrew Cagney [Sat, 7 Aug 2004 20:06:28 +0000 (20:06 +0000)]
2004-08-07 Andrew Cagney <cagney@gnu.org>
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
Andrew Cagney [Sat, 7 Aug 2004 19:53:06 +0000 (19:53 +0000)]
2004-08-07 Andrew Cagney <cagney@gnu.org>
* gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8
through to builtin_type_uint128.
Andrew Cagney [Sat, 7 Aug 2004 19:45:45 +0000 (19:45 +0000)]
2004-08-07 Andrew Cagney <cagney@gnu.org>
* c-exp.y: Use builtin_type function to obtain builtin types.
Andrew Cagney [Sat, 7 Aug 2004 19:25:58 +0000 (19:25 +0000)]
2004-08-07 Andrew Cagney <cagney@gnu.org>
* gdbtypes.h (struct builtin_type): Delete builtin_int0 through to
builtin_uint128.
* gdbtypes.c (gdbtypes_post_init): Update.
(build_gdbtypes): Move initialization of builtin_type_int0
through to builtin_type_uint128 from here ...
(_initialize_gdbtypes): ... to here.
* d10v-tdep.c (d10v_register_type): Update.
Andrew Cagney [Sat, 7 Aug 2004 17:10:33 +0000 (17:10 +0000)]
2004-08-07 Andrew Cagney <cagney@gnu.org>
* doublest.c: Update copyright.
(floatformat_from_length): Call error when floatformat is NULL.
(extract_floating_by_length): Remove NULL fmt check.
(store_floating_by_length): Ditto.
Andrew Cagney [Sat, 7 Aug 2004 16:33:54 +0000 (16:33 +0000)]
2004-08-07 Andrew Cagney <cagney@gnu.org>
* regcache.c (regcache_raw_read): For the moment, #ifdef assert
that the register is valid.
Alan Modra [Sat, 7 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 7 Aug 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Fri, 6 Aug 2004 20:58:28 +0000 (20:58 +0000)]
* i386-linux-tdep.c (i386_linux_sigtramp_start)
(i386_linux_rt_sigtramp_start): Change argument from CORE_ADDR to
struct frame_info *. Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(i386_linux_sigtramp_p, i386_linux_sigcontext_addr): Adjust for
changed signature of i386_linux_sigtramp_start and
i386_linux_rt_sigtramp_start.
Mark Kettenis [Fri, 6 Aug 2004 20:54:16 +0000 (20:54 +0000)]
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Change argument from
CORE_ADDR to struct frame_info *. Use safe_frame_unwind_memory
instead of deprecated_read_memory_nobpt.
(i386nbsd_sigtramp_p): Adjust for changed signature of
i386nbsd_sigtramp_offset.
Mark Kettenis [Fri, 6 Aug 2004 20:51:01 +0000 (20:51 +0000)]
* i386obsd-tdep.c (i386obsd_sigtramp_p): Use
safe_frame_unwind_memory instead of target_read_memory.
Mark Kettenis [Fri, 6 Aug 2004 20:47:25 +0000 (20:47 +0000)]
* infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
!NO_SYS_FILE.
[KERNEL_U_ADDR_BSD]: Don't include <a.out.h>.
[KERNEL_U_ADDR_BSD] (kernel_u_addr): Remove variable.
(_initialize_kernel_u_addr): Remove prototype and function.
* infttrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
!NO_SYS_FILE.
* xcoffread.c: Likewise.
Mark Kettenis [Fri, 6 Aug 2004 19:14:44 +0000 (19:14 +0000)]
* vax-nat.c: New file.
* vaxbsd-nat.c: Tweak comment.
* Makefile.in (ALLDEPFILES): Add vax-nat.c, vaxbsd-nat.c and
vaxnbsd-tdep.c.
(vax-nat.o): New dependency.
* configure.host (vax-*-bsd*, vax-*-ultrix*): Set gdb_host to vax.
(vax-*-ultrix2*): Remove.
* config/vax/vax.mh: New file.
* config/vax/nm-vax.h (vax_kernel_u_addr): New extern declaration.
(KERNEL_U_ADDR): Define as vax_kernel_u_addr.
(vax_register_u_addr): New prototype.
(REGISTER_U_ADDR): Define using vax_register_u_addr.
* config/vax/vaxult2.mh: Remove file.
* config/vax/vaxult.mh: Remove file.
* config/vax/vaxbsd.mh: Remove file.
* config/vax/vax.mt (TM_FILE): Remove.
* config/vax/tm-vaxbsd.h: Remove file.
Joel Brobecker [Fri, 6 Aug 2004 16:33:17 +0000 (16:33 +0000)]
* aix-thread.c (get_signaled_thread): New function.
(iter_trap): Delete, no longer used.
(iter_tid): New function.
(pd_update): Find the thread that received the SIGTRAP signal
by first locating the kernel thread, and then finding its
associated thread.
Paul Brook [Fri, 6 Aug 2004 16:18:11 +0000 (16:18 +0000)]
bfd/
* elfarm-nabi.c (elf32_arm_howto_table): Add new EABI relocations.
(elf32_arm_reloc_map): Add BFD_RELOC_ARM_RELABS32,
BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32.
* reloc.c: Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32
and BFD_RELOC_ARM_SBREL32.
* bfd-in2.h, bbfd.h: Regenerate.
gas/
* config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc):
Handle new relocations.
* include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations.
gas/testsuite/
* gas/arm/pic.s,d: Test RELABS and SBREL relocations.
DJ Delorie [Fri, 6 Aug 2004 15:38:11 +0000 (15:38 +0000)]
merge from gcc
Ulrich Weigand [Fri, 6 Aug 2004 13:42:05 +0000 (13:42 +0000)]
* lin-lwp.c (child_wait): Continue inferior after processing
PTRACE_EVENT_CLONE event.
Andreas Schwab [Fri, 6 Aug 2004 13:13:30 +0000 (13:13 +0000)]
* readelf.c (dump_relocations): Fix typo when calculating
sec_index.
Paolo Bonzini [Fri, 6 Aug 2004 06:44:46 +0000 (06:44 +0000)]
2004-08-06 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (bfd, opcodes, gcc, zlib): Mark as bootstrap module.
(bison, byacc, flex, texinfo): Do not mark as bootstrap module.
(Dependencies): New section.
* Makefile.tpl (Dependencies): Generate from Makefile.def.
(configure-target-[+module+]): Depend on maybe-all-gcc
(all-prebootstrap): New name of all-bootstrap. Changed throughout.
(toplevel profiledbootstrap): Fix dependencies.
* Makefile.in: Regenerate.
Alan Modra [Fri, 6 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 6 Aug 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Nathanael Nerode [Thu, 5 Aug 2004 23:35:14 +0000 (23:35 +0000)]
* MAINTAINERS: Add self to Write-After-Approval.
Nathanael Nerode [Thu, 5 Aug 2004 21:14:06 +0000 (21:14 +0000)]
* Makefile.in (GDB_INCLUDES): Remove bogus reference to mmalloc.
Jeff Johnston [Thu, 5 Aug 2004 20:37:56 +0000 (20:37 +0000)]
2004-08-05 Jeff Johnston <jjohnstn@redhat.com>
* libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
libunwind-xxxx.so" where xxxx is UNW_TARGET.
Jeff Johnston [Thu, 5 Aug 2004 20:11:18 +0000 (20:11 +0000)]
2004-08-05 Jeff Johnston <jjohnstn@redhat.com>
* libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
libunwind-xxxx.so" where xxxx is UNW_TARGET.
2
Andrew Cagney [Thu, 5 Aug 2004 19:25:49 +0000 (19:25 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* config/xm-sysv4.h: Delete file.
* config/mips/xm-irix5.h: Delete file.
* config/mips/irix6.mh (XM_FILE, XM_CLIBS): Delete.
* config/mips/irix5.mh (XM_FILE, XM_CLIBS): Delete.
* config/ia64/xm-aix.h: Delete file.
* config/ia64/aix.mh (XM_FILE): Delete.
* config/pa/xm-hppah.h: Delete file.
* config/pa/hpux11w.mh (XM_FILE): Delete.
* config/pa/hpux11.mh (XM_FILE): Delete.
* config/pa/hpux1020.mh (XM_FILE): Delete.
* config/pa/hppahpux.mh (XM_FILE): Delete.
Andrew Cagney [Thu, 5 Aug 2004 18:18:17 +0000 (18:18 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* config/alpha/xm-alphalinux.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-alphalinux.h.
* config/alpha/alpha-linux.mh (XM_FILE, LOADLIBES): Delete.
* config/alpha/xm-alphaosf.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-alphaosf.h.
* config/alpha/alpha-osf3.mh (XM_FILE): Delete.
* config/alpha/alpha-osf2.mh (XM_FILE): Delete.
* config/alpha/alpha-osf1.mh (XM_FILE): Delete.
Bob Wilson [Thu, 5 Aug 2004 16:55:00 +0000 (16:55 +0000)]
* write.c (relax_segment): Use was_address instead of address when
setting fr_fix field for align frag due to backwards .org.
Andrew Cagney [Thu, 5 Aug 2004 15:23:53 +0000 (15:23 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* config/i386/xm-i386v.h: Delete file.
* config/i386/i386v.mh (XM_FILE, XM_CLIBS): Delete.
* config/i386/i386sco5.mh (XM_FILE, XM_CLIBS): Delete.
* config/i386/xm-i386sco.h: Delete file.
* config/i386/i386sco4.mh (XM_FILE, XM_CLIBS, MH_CFLAGS): Delete.
* config/i386/i386sco.mh (XM_FILE, XM_CLIBS, CC): Delete.
* config/i386/xm-i386v4.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-i386v4.h.
* config/i386/ncr3000.mh (CC, CFLAGS, XM_FILE): Delete.
* config/i386/i386v42mp.mh (XM_FILE, XM_CLIBS): Delete.
* config/i386/i386v4.mh (XM_FILE, XM_CLIBS): Delete.
Andrew Cagney [Thu, 5 Aug 2004 14:34:17 +0000 (14:34 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* config/vax/xm-vax.h: Delete file.
* Makefile.in (xm-vaxult.h, xm-vaxbsd.h): Delete.
* config/vax/xm-vaxult2.h: Delete file.
* config/djgpp/fnchange.lst: Do not fix xm-vaxult2.h.
* config/vax/vaxult2.mh (XM_FILE): Delete.
* config/vax/xm-vaxult.h: Delete file.
* config/vax/vaxult.mh (XM_FILE): Delete.
* config/vax/xm-vaxbsd.h: Delete file.
* config/vax/vaxbsd.mh (XM_FILE): Delete.
Andrew Cagney [Thu, 5 Aug 2004 14:12:40 +0000 (14:12 +0000)]
2004-08-05 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_frame_saved_pc): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_read_fp, deprecated_write_sp): Delete.
* inferior.h (deprecated_read_fp, deprecated_write_sp): Delete.
* frame.h: Delete deprecated_read_fp from comments.
* arch-utils.c (deprecated_init_frame_pc_default): Delete.
* arch-utils.h (deprecated_init_frame_pc_default): Delete.
Index: doc/ChangeLog
2004-08-05 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Delete
reference to deprecated_read_fp.
Nick Clifton [Thu, 5 Aug 2004 09:09:02 +0000 (09:09 +0000)]
Addition of new test case to check rx generation with adds and subs instruction
for plain H8/300 target.
Michael Chastain [Thu, 5 Aug 2004 07:44:47 +0000 (07:44 +0000)]
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Include <string.h>.
Michael Chastain [Thu, 5 Aug 2004 07:38:42 +0000 (07:38 +0000)]
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Add copyright notice.
Michael Chastain [Thu, 5 Aug 2004 07:28:20 +0000 (07:28 +0000)]
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/freebpcmd.c: Include <stdio.h>.
* gdb.base/long_long.c: Include <string.h>.
* gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
* gdb.base/siginfo.c: Include <string.h>.
* gdb.base/sigstep.c: Include <string.h>.
Michael Chastain [Thu, 5 Aug 2004 00:59:23 +0000 (00:59 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Include <stdlib.h>.
Michael Chastain [Thu, 5 Aug 2004 00:53:01 +0000 (00:53 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Add copyright notice.
Michael Chastain [Thu, 5 Aug 2004 00:31:49 +0000 (00:31 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/charset.c: Include <stdlib.h>.
Michael Chastain [Thu, 5 Aug 2004 00:20:38 +0000 (00:20 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Include <stdlib.h>.
Andrew Cagney [Thu, 5 Aug 2004 00:17:52 +0000 (00:17 +0000)]
2004-08-04 Andrew Cagney <cagney@gnu.org>
Jim Blandy <jimb@redhat.com>
* sim_callbacks.h (simulator): Declare.
* Makefile.in (gdb-sim.o): New rule.
(MAIN_SRC, GDB_OBJ): Add gdb-sim.o, gdb-sim.c.
(DEFS_H): Delete.
(GDB_SIM_PPC_H): Define.
* gdb-sim.c: New file.
* sim_calls.c: Do not include "defs.h".
(simulator): Drop static.
(sim_store_register, sim_fetch_register): Delete.
Michael Chastain [Thu, 5 Aug 2004 00:04:28 +0000 (00:04 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Add copyright notice.
gdbadmin [Thu, 5 Aug 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 5 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update
Michael Chastain [Wed, 4 Aug 2004 23:55:15 +0000 (23:55 +0000)]
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/coremaker.c: Add copyright notice.
* gdb.base/coremaker2.c: Add copyright notice.
Andrew Cagney [Wed, 4 Aug 2004 23:44:32 +0000 (23:44 +0000)]
2004-08-04 Andrew Cagney <cagney@gnu.org>
* sim-ppc.h: Add extern "C" wrapper.
(enum sim_ppc_regnum): Add full list of SPRs.