aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2004-08-08* procfs.c (procfs_pid_to_str): Remove redundant and unusedMark Kettenis2-16/+9
variables. Incapitalized "process".
2004-08-08*** empty log message ***gdbadmin1-1/+1
2004-08-07* configure.in: Add cursesX to the list of possible curses libs.Mark Kettenis4-192/+239
Add cursesX.h to the list of possible curses headers. * configure, config.in: Regenerate.
2004-08-07 * configure.in: Test for struct lwp in <sys/lwp.h>Nathan J. Williams3-0/+20
* 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 * bsd-kvm.c: Include "gdbcore.h"Nathan J. Williams2-0/+7
(bsd_kvm_open): Use get_exec_file() to set 'execfile'.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-25/+49
* gdbtypes.c (build_flt, build_complex): New functions. (gdbtypes_post_init): Use.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+3
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-10/+3
* gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8 through to builtin_type_uint128.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-53/+55
* c-exp.y: Use builtin_type function to obtain builtin types.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-109/+56
* 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-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-23/+22
* 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-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-0/+13
* regcache.c (regcache_raw_read): For the moment, #ifdef assert that the register is valid.
2004-08-07*** empty log message ***gdbadmin1-1/+1
2004-08-06* i386-linux-tdep.c (i386_linux_sigtramp_start)Mark Kettenis2-14/+25
(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* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Change argument fromMark Kettenis2-5/+12
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* i386obsd-tdep.c (i386obsd_sigtramp_p): UseMark Kettenis2-5/+9
safe_frame_unwind_memory instead of target_read_memory.
2004-08-06* infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead ofMark Kettenis6-43/+21
!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* vax-nat.c: New file.Mark Kettenis11-75/+146
* 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 * aix-thread.c (get_signaled_thread): New function.Joel Brobecker2-20/+48
(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 * lin-lwp.c (child_wait): Continue inferior after processingUlrich Weigand2-0/+6
PTRACE_EVENT_CLONE event.
2004-08-06*** empty log message ***gdbadmin1-1/+1
2004-08-05 * MAINTAINERS: Add self to Write-After-Approval.Nathanael Nerode2-0/+5
2004-08-052004-08-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-5/+4
* libunwind-frame.c (LIBUNWIND_SO): Change to be of form: libunwind-xxxx.so" where xxxx is UNW_TARGET.
2004-08-052004-08-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-0/+6
* libunwind-frame.c (LIBUNWIND_SO): Change to be of form: libunwind-xxxx.so" where xxxx is UNW_TARGET. 2
2004-08-052004-08-05 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-126/+12
* 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-052004-08-05 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-52/+9
* 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-052004-08-05 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-143/+12
* 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-052004-08-05 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-104/+10
* 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-052004-08-05 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-127/+28
* 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-052004-08-05 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+6
* gdb.base/gcore.c: Include <string.h>.
2004-08-052004-08-05 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+23
* gdb.base/gcore.c: Add copyright notice.
2004-08-052004-08-05 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain6-1/+17
* 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-052004-08-04 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+7
* gdb.base/complex.c: Include <stdlib.h>.
2004-08-052004-08-04 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+24
* gdb.base/complex.c: Add copyright notice.
2004-08-052004-08-04 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+5
* gdb.base/charset.c: Include <stdlib.h>.
2004-08-052004-08-04 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+6
* gdb.base/auxv.c: Include <stdlib.h>.
2004-08-052004-08-04 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+24
* gdb.base/auxv.c: Add copyright notice.
2004-08-05*** empty log message ***gdbadmin1-1/+1
2004-08-042004-08-04 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-0/+45
* gdb.base/coremaker.c: Add copyright notice. * gdb.base/coremaker2.c: Add copyright notice.
2004-08-04* i386obsd-tdep.c (i386obsd_sigtramp_p): Adjust for changed signalMark Kettenis2-2/+15
trampoline in OpenBSD 3.5-current.
2004-08-04* i387-tdep.c (i387_supply_fsave): Provide summy values for theMark Kettenis2-2/+21
SSE registers.
2004-08-04* Makefile.in: Remove embedded page breaks.Mark Kettenis2-2/+6
2004-08-04* regcache.c (regcache_raw_read): Assert that, after callingJim Blandy2-0/+4
target_fetch_registers, the register we're reading is cached.
2004-08-04Add missing function name to ChangeLog entry.Jim Blandy1-1/+1
2004-08-04* ppc-linux-nat.c (fetch_register): Replace 'gdb_assert (0)' withJim Blandy3-6/+21
a call to 'internal_error', with a more helpful error message. * rs6000-tdep.c (e500_pseudo_register_read, e500_pseudo_register_write): Same.
2004-08-042004-08-04 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-83/+86
* Makefile.in: Update dependencies.
2004-08-04Change the layout of the PowerPC E500 raw register cache to allowJim Blandy5-335/+287
the lower 32-bit halves of the GPRS to be their own raw registers, not pseudoregisters. * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_gprs_pseudo_p flag; add ppc_ev0_upper_regnum flag. * rs6000-tdep.c: #include "reggroups.h". (spe_register_p): Recognize the ev upper half registers as SPE registers. (init_sim_regno_table): Build gdb->sim mappings for the upper-half registers. (e500_move_ev_register): New function. (e500_pseudo_register_read, e500_pseudo_register_write): The 'ev' vector registers are the pseudo-registers now, formed by splicing together the gprs and the upper-half registers. (e500_register_reggroup_p): New function. (P): Macro deleted. (P8, A4): New macro. (PPC_EV_REGS, PPC_GPRS_PSEUDO_REGS): Macros deleted. (PPC_SPE_GP_REGS, PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): New macros. (registers_e500): Rearrange register set so that the raw register set contains 32-bit GPRs and upper-half registers, and the SPE vector registers become pseudo-registers. (rs6000_gdbarch_init): Don't initialize tdep->ppc_gprs_pseudo_p; it has been deleted. Initialize ppc_ev0_upper_regnum. Many other register numbers are now the same for the E500 as they are for other PowerPC variants. Register e500_register_reggroup_p as the register group function for the E500. * Makefile.in (rs6000-tdep.o): Update dependencies. Adapt PPC E500 native support to the new raw regcache layout. * ppc-linux-nat.c (struct gdb_evrregset_t): Doc fixes. (read_spliced_spe_reg, write_spliced_spe_reg): Deleted. (fetch_spe_register, store_spe_register): Handle fetching/storing all the SPE registers at once, if regno == -1. These now take over the job of fetch_spe_registers and store_spe_registers. (fetch_spe_registers, store_spe_registers): Deleted. (fetch_ppc_registers, store_ppc_registers): Fetch/store gprs unconditionally; they're always raw. Fetch/store SPE upper half registers, if present, instead of ev registers. (fetch_register, store_register): Remove sanity checks: gprs are never pseudo-registers now, so we never need to even mention any registers that are ever pseudoregisters.
2004-08-04gdb/ChangeLog:Jim Blandy4-1/+126
2004-07-20 Jim Blandy <jimb@redhat.com> Use a fixed register numbering when communicating with the PowerPC simulator. * ppc-tdep.h (struct gdbarch_tdep): New member: 'sim_regno'. * rs6000-tdep.c: #include "sim-regno.h" and "gdb/sim-ppc.h". (set_sim_regno, init_sim_regno_table, rs6000_register_sim_regno): New functions. (rs6000_gdbarch_init): Register rs6000_register_sim_regno. Call init_sim_regno_table. * Makefile.in (gdb_sim_ppc_h): New variable. (rs6000-tdep.o): Update dependencies. include/gdb/ChangeLog: 2004-07-20 Jim Blandy <jimb@redhat.com> * sim-ppc.h: New file. sim/ppc/ChangeLog: 2004-07-20 Jim Blandy <jimb@redhat.com> Use a fixed register numbering when communicating with the PowerPC simulator. * sim_calls.c: #include "registers.h" and "gdb/sim-ppc.h"; do not include GDB's "defs.h". (gdb_register_name_table): New variable. (gdb_register_name_table_size): New enum constant. (gdb_register_name): New function. (sim_fetch_register, sim_store_register): Use gdb_register_name, instead of calling gdbarch_register_name. * Makefile.in (GDB_SIM_PPC_H): New variable. (DEFS_H): Delete variable. (sim_calls.o): Update dependencies.
2004-08-042004-08-04 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-33/+60
* gdb.base/store.exp: Update copyright. (check_set, up_set, check_struct, up_struct): Add a prefix to test names, do not import gdb_prompt.
2004-08-04*** empty log message ***gdbadmin1-1/+1