Commit Graph

44930 Commits

Author SHA1 Message Date
Mark Kettenis 5240ceac28 * procfs.c (procfs_pid_to_str): Remove redundant and unused
variables.  Incapitalized "process".
2004-08-08 01:00:55 +00:00
Alan Modra f6428d7384 daily update 2004-08-08 00:00:06 +00:00
gdbadmin 1ef6dfb598 *** empty log message *** 2004-08-08 00:00:02 +00:00
Mark Kettenis 5c7f2947f0 * 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.
2004-08-07 22:12:08 +00:00
Nathan J. Williams da7d81e386 * 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.
2004-08-07 21:52:15 +00:00
Nathan J. Williams 7f245d65f7 * bsd-kvm.c: Include "gdbcore.h"
(bsd_kvm_open): Use get_exec_file() to set 'execfile'.
2004-08-07 21:22:41 +00:00
Andrew Cagney 70bd8e24cc 2004-08-07 Andrew Cagney <cagney@gnu.org>
* gdbtypes.c (build_flt, build_complex): New functions.
	(gdbtypes_post_init): Use.
2004-08-07 21:03:33 +00:00
Andrew Cagney 9b0dea39fa 2004-08-07 Andrew Cagney <cagney@gnu.org>
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
2004-08-07 20:06:28 +00:00
Andrew Cagney 5cf7abace1 2004-08-07 Andrew Cagney <cagney@gnu.org>
* gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8
	through to builtin_type_uint128.
2004-08-07 19:53:06 +00:00
Andrew Cagney 64d2b26d0a 2004-08-07 Andrew Cagney <cagney@gnu.org>
* c-exp.y: Use builtin_type function to obtain builtin types.
2004-08-07 19:45:45 +00:00
Andrew Cagney 7ad6570da5 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.
2004-08-07 19:25:58 +00:00
Andrew Cagney 47b3f45632 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.
2004-08-07 17:10:33 +00:00
Andrew Cagney 0a8146bf61 2004-08-07 Andrew Cagney <cagney@gnu.org>
* regcache.c (regcache_raw_read): For the moment, #ifdef assert
	that the register is valid.
2004-08-07 16:33:54 +00:00
Alan Modra 6fec4532f2 daily update 2004-08-07 00:00:07 +00:00
gdbadmin 9641a412f9 *** empty log message *** 2004-08-07 00:00:03 +00:00
Mark Kettenis 8e6bed0513 * 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.
2004-08-06 20:58:28 +00:00
Mark Kettenis 24f9f5e353 * 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.
2004-08-06 20:54:16 +00:00
Mark Kettenis c822af0c70 * i386obsd-tdep.c (i386obsd_sigtramp_p): Use
safe_frame_unwind_memory instead of target_read_memory.
2004-08-06 20:51:01 +00:00
Mark Kettenis c0ccb908a0 * 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.
2004-08-06 20:47:25 +00:00
Mark Kettenis b9e1c0d643 * 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.
2004-08-06 19:14:44 +00:00
Joel Brobecker 9ad7bec7fd * 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.
2004-08-06 16:33:17 +00:00
Paul Brook db6579d415 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.
2004-08-06 16:18:11 +00:00
DJ Delorie deaa6723d2 merge from gcc 2004-08-06 15:38:11 +00:00
Ulrich Weigand bf0d233ddd * lin-lwp.c (child_wait): Continue inferior after processing
PTRACE_EVENT_CLONE event.
2004-08-06 13:42:05 +00:00
Andreas Schwab efcb5b0e5f * readelf.c (dump_relocations): Fix typo when calculating
sec_index.
2004-08-06 13:13:30 +00:00
Paolo Bonzini 9e6ce19177 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.
2004-08-06 06:44:46 +00:00
Alan Modra 524b06e02c daily update 2004-08-06 00:00:06 +00:00
gdbadmin 6bb6e5e966 *** empty log message *** 2004-08-06 00:00:03 +00:00
Nathanael Nerode d0f853e133 * MAINTAINERS: Add self to Write-After-Approval. 2004-08-05 23:35:14 +00:00
Nathanael Nerode 2a0c88109d * Makefile.in (GDB_INCLUDES): Remove bogus reference to mmalloc. 2004-08-05 21:14:06 +00:00
Jeff Johnston 38e400fa25 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.
2004-08-05 20:37:56 +00:00
Jeff Johnston ab14aeb0f5 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
2004-08-05 20:11:18 +00:00
Andrew Cagney c8f3ca4669 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.
2004-08-05 19:25:49 +00:00
Andrew Cagney 5f7daaff1f 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.
2004-08-05 18:18:17 +00:00
Bob Wilson e750405d4b * write.c (relax_segment): Use was_address instead of address when
setting fr_fix field for align frag due to backwards .org.
2004-08-05 16:55:00 +00:00
Andrew Cagney 69babf9523 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.
2004-08-05 15:23:53 +00:00
Andrew Cagney 6f009c8ac5 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.
2004-08-05 14:34:17 +00:00
Andrew Cagney 9c8dbfa937 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.
2004-08-05 14:12:40 +00:00
Nick Clifton 92868b6eba Addition of new test case to check rx generation with adds and subs instruction
for plain H8/300 target.
2004-08-05 09:09:02 +00:00
Michael Chastain dd90efdb05 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Include <string.h>.
2004-08-05 07:44:47 +00:00
Michael Chastain 1e84bec179 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Add copyright notice.
2004-08-05 07:38:42 +00:00
Michael Chastain e425eb2b82 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>.
2004-08-05 07:28:20 +00:00
Michael Chastain cb9aaed5ee 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Include <stdlib.h>.
2004-08-05 00:59:23 +00:00
Michael Chastain 55944f3dc4 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Add copyright notice.
2004-08-05 00:53:01 +00:00
Michael Chastain 7b2953d9c2 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/charset.c: Include <stdlib.h>.
2004-08-05 00:31:49 +00:00
Michael Chastain c9133d23e8 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Include <stdlib.h>.
2004-08-05 00:20:38 +00:00
Andrew Cagney 91cd10427a 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.
2004-08-05 00:17:52 +00:00
Michael Chastain 0a8490ad3a 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Add copyright notice.
2004-08-05 00:04:28 +00:00
gdbadmin 65c6944af0 *** empty log message *** 2004-08-05 00:00:31 +00:00
Alan Modra 36f257d4f0 daily update 2004-08-05 00:00:05 +00:00