aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2001-09-08* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.Mark Kettenis1-5/+0
2001-09-08* config/arm/xm-linux.h, config/ia64/xm-linux.h,Mark Kettenis6-18/+0
config/m68k/xm-linux.h, config/mips/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove redundant inclusion of <unistd.h>.
2001-09-07* config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaultsMark Kettenis1-4/+0
to using setpgid if available now.
2001-08-30* config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.Mark Kettenis1-4/+0
2001-08-27* event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: SomeMark Kettenis4-7/+3
gratuitious whitespace changes. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined. * top.c: Remove redundant logic to define HAVE_SIGSETMASK. (sigsetmask) Don't define macro. (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from async_stop_sig from event-top.c. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined. * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical order. Add sigsetmask. (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in alphabetical order. * config/xm-aix4.h, config/alpha/xm-alphalinux.h, config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h (HAVE_SIGSETMASK): Remove. * aclocal.m4, config.in, configure
2001-08-27From 2001-06-29 Andrew Cagney <ac131313@redhat.com>:Andrew Cagney2-23/+0
* config/powerpc/nbsd.mh (XM_FILE): Delete.
2001-08-24* config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,Mark Kettenis5-15/+0
config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant inclusion of <limits.h>.
2001-08-24* go32-nat.c (go32_create_inferior): Use xfree instead of free.Andrew Cagney1-0/+2
* config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and i386bsd-nat.c.
2001-08-12* config/mn10300/mn10300.mt (TM_FILE): Delete.Andrew Cagney2-73/+0
* configure.tgt: Add mn10300 to list of mulit-arch targets. * config/mn10300/tm-mn10300.h: Delete file. Move contents ... * mn10300-tdep.c: To here.
2001-08-12Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.Andrew Cagney2-8/+8
2001-08-12* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.Andrew Cagney1-2/+0
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and sp_regnum.
2001-08-12* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.Andrew Cagney1-2/+0
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
2001-08-11* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.Andrew Cagney1-5/+0
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.h (legacy_virtual_frame_pointer): Declare. * arch-utils.c: Include "gdb_assert.h". (legacy_virtual_frame_pointer): Define. * Makefile.in (arch-utils.o): Depends on gdb_assert.h. * tracepoint.c (encode_actions): Make frame_reg an int. Make frame_offset a LONGEST. * ax-gdb.c (gen_frame_args_address): Ditto. (gen_frame_locals_address): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize virtual_frame_pointer. (mn10300_virtual_frame_pointer): Make static. Update parameter list to match function signature. * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
2001-08-02 * config/i386/xm-go32.h: Include xm-i386.h.Eli Zaretskii1-6/+1
(HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
2001-08-01* defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)Andrew Cagney3-0/+4
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT, DOUBLEST) (floatformat_to_doublest, floatformat_from_doublest) (floatformat_is_negative, floatformat_is_nan) (floatformat_mantissa, store_floating) (extract_floating): Move declaration from here. * doublest.h: To here. New file. * utils.c (get_field, floatformat_to_doublest, put_field) (ldfrexp, floatformat_from_doublest, floatformat_is_negative) (floatformat_is_nan, floatformat_mantissa) (FLOATFORMAT_CHAR_BIT): Move from here. * doublest.c: To here. New file. * findvar.c (store_floating, extract_floating): Move from here. * doublest.c: To here. * Makefile.in (SFILES): Add doublest.c. (COMMON_OBS): Add doublest.o. (doublest.o): Specify dependencies. (doublest_h): Define. * config/m88k/tm-m88k.h: Include "doublest.h". * config/i960/tm-i960.h: Ditto. * config/i386/tm-symmetry.h: Ditto. * rs6000-tdep.c, valarith.c: Ditto. * valprint.c, stabsread.c, sh-tdep.c: Ditto. * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto. * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto. * alpha-tdep.c, ax.h, expression.h: Ditto. * sh-tdep.c, parse.c, top.c, value.h: Ditto. * Makefile.in (arm-tdep.o): Add $(doublest_h). (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto. (rs6000-tdep.o, stabsread.o, valarith.o): Ditto. (values.o, valprint.o, arm-linux-tdep.o): Ditto. (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto. (parser_defs_h): Ditto. (expression_h): Add $(doublest_h) and $(symtab_h).
2001-07-31* config/i386/xm-i386.h: New file.Mark Kettenis4-41/+19
* config/i386/xm-fbsd.h: Removed. * config/i386/xm-linux.h: Removed. * config/i386/fbsd.mh: Reorganize a bit. (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h. * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of xm-linux.h.
2001-07-30* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to callMark Kettenis1-0/+5
i386_dwarf_reg_to_regnum.
2001-07-30* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,Mark Kettenis1-0/+7
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines. (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New prototypes. * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h, config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call i386_dwarf_reg_to_regnum. * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New functions.
2001-07-29Unset CDPATH before doing annything else.Eli Zaretskii1-0/+4
2001-07-29 Support for stepping through longjmp in DJGPP programs:Eli Zaretskii1-0/+16
* config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros. (GET_LONGJMP_TARGET): Define to call get_longjmp_target. (get_longjmp_target): Add prototype.
2001-07-28From 2001-07-23 Andreas Schwab <schwab@suse.de>:Andrew Cagney2-34/+11
* config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define. (TARGET_LONG_DOUBLE_BIT): Define. (REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers. (MAX_REGISTER_VIRTUAL_SIZE): Increase to 12. (REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for floating point registers. (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL) (REGISTER_CONVERT_TO_RAW): Remove. * config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
2001-07-28* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,Mark Kettenis1-0/+16
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines. (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New prototypes. * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h, config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call i386_dwarf_reg_to_regnum. * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New functions.
2001-07-28* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,Mark Kettenis2-0/+13
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines. (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New prototypes. * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h, config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call i386_dwarf_reg_to_regnum. * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New functions.
2001-07-242001-07-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+3
* config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker doesn't understand them.
2001-07-23* configure.in (AC_CHECK_FUNCS): Add setpggrp.Mark Kettenis12-31/+0
(AC_FUNC_SETPGRP): Add. * aclocal.m4, configure, config.in: Regenerated. * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and SETPGRP_ARGS. Always use setpgid if it is available, fall back on setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to distinguish between the two setpgrp flavours. * config/xm-sysv4.h, config/arm/xm-linux.h, config/i386/xm-i386aix.h, config/i386/xm-sco.h, config/i386/xm-linux.h, config/i386/xm-ptx.h, config/m68k/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h, config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove. * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
2001-07-22* i386gnu-nat.c: Include "i387-nat.h".Mark Kettenis2-3/+3
(struct env387): Removed. (reg_offset): Fix comment. (fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to use i387_supply_fsave. (gnu_fetch_registers): Remove spurious whitespace. (convert_to_env387): Remove. (store_fpregs): Add argument regno. Use i387_fill_fsave instead of convert_to_env387. (gnu_store_registers): Remove spurious whitespace. Pass REGNO to store_fpregs. * config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o. * config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o. (NATDEPFILES): Add i387-nat.o.
2001-07-21* i386bsd-nat.c: Do not include <sys/sysctl.h>.Mark Kettenis2-1/+4
(_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific code to ... * i386fbsd-nat.c: ... here. New file. * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o. * config/i386/nm-fbsd.h (CHILD_RESUME): Define. * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c. (i386fbsd-nat.o): Add dependencies.
2001-07-162001-07-16 Orjan Friberg <orjanf@axis.com>Orjan Friberg1-0/+1
* configure.tgt: Recognise the CRIS architecture. * config/cris/cris.mt: New file for CRIS target. * cris-tdep.c: New file for CRIS target.
2001-07-14* config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...Mark Kettenis2-7/+8
* config/i386/nm-linux.h: ...to here. Change comments about user area/struct a bit.
2001-07-14* config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.Mark Kettenis1-3/+1
2001-07-13* i386bsd-nat.c: Include <signal.h>, <stddef.h> andMark Kettenis2-10/+20
<sys/sysctl.h>. (store_inferior_registers): Wrap long line. (i386bsd_dr_get_status): Fix typo in comment. (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define. (i386bsd_in_sigtramp): New prototype. (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms... (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new (external) variables. (SIGCONTEXT_PC_OFFSET): Removed. (FRAME_SAVED_PC): New define. (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt (TDEPFILES): Add i386bsd-tdep.o.
2001-07-13fix i386-linux cannot_fetch/store_registerDaniel Jacobowitz1-2/+2
2001-07-12* config/arm/xm-linux.h, config/i386/xm-linux.h,Mark Kettenis5-12/+4
config/m68k/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS): Removed. Taken care of by autoconf and terminal.h.
2001-07-12fix mips/linux 8.3 errorsDaniel Jacobowitz1-0/+2
2001-07-12* config/powerpc/xm-linux.h: Fix corrupted file.Mark Kettenis1-24/+2
2001-07-12* configure.in: Add check for sigsetjmp.Mark Kettenis2-6/+0
* config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed. * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed. * configure, config.in: Regenerated.
2001-07-122001-07-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-4/+10
* config/sh/tm-sh.h (struct gdbarch_tdep): Add FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM, PR_REGNUM fields. * sh-tdep.c (sh_skip_prologue_hard_way): Rename from skip_prologue_hard_way(). (skip_prologue_hard_way): Make it a function pointer. (sh_print_register): Use function pointer do_pseudo_register, instead of sh_do_pseudo_register. (sh_do_registers_info): Ditto. (sh_gdbarch_init): Initialize do_pseudo_register. (IS_MOV_TO_R14): Rename from IS_MOV_R14. (skip_prologue_hard_way): Update. (sh_gdbarch_init): Move setting of frame_chain, get_saved_register, init_extra_frame_info, push_arguments, extract_return_value, pop_frame, store_struct_return, extract_struct_value_address, use_struct_convention, init_extra_frame_info to before target specific settings. (sh_gdbarch_init): Initialize new tdep fields FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM, PR_REGNUM. (sh_push_arguments): Use new gdbarch_tdep fields {ARG0,ARGLAST}_REGNUM. (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs, sh_init_extra_frame_info, sh_push_return_address, sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use gdbarch_tdep->PR_REGNUM. (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
2001-07-11Don't duplicate tm-linux.hDaniel Jacobowitz1-20/+4
2001-07-11fix m68k-linux buildDaniel Jacobowitz1-1/+1
2001-07-11* configure.tgt: Mark d10v as pure multi-arch.Andrew Cagney2-27/+0
* config/d10v/tm-d10v.h: Delete file. * config/d10v/d10v.mt (TM_FILE): Delete.
2001-07-11* config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):Mark Kettenis1-11/+2
Remove unused macro's.
2001-07-11* config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longerMark Kettenis1-4/+0
used.
2001-07-11* config/nm-linux.h: Fix comments.Mark Kettenis1-9/+14
2001-07-11* config/tm-linux.h: Do not include <signal.h>. Instead provideMark Kettenis2-9/+16
reasonable defaults for REALTIME_LO and REALTIME_HI if they're not already defined. * config/nm-linux.h: Include <signal.h>. [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and (__SIGRTMAX + 1) respectively.
2001-07-10MIPS/Linux supportDaniel Jacobowitz5-0/+209
2001-07-05 * mips-tdep.c (mips_software_single_step): New function.Daniel Jacobowitz1-0/+3
* config/mips/tm-mips.h: Add prototype for mips_software_single_step.
2001-07-05* config/i386/xm-go32.h (HOST_I386): Removed.Mark Kettenis2-4/+0
* config/i386/xm-linux.h (HOST_I386): Removed.
2001-07-04* config/arm/tm-arm.h: Include "floatformat.h".Andrew Cagney1-0/+1
2001-06-29Sort file.Andrew Cagney1-224/+224
2001-06-29* config/djgpp/fnchange.lst: Rename mi0-var-block.exp,Andrew Cagney1-0/+4
mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.