aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
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.
2001-06-28Exterminate ser-ocd.c.Andrew Cagney4-4/+4
2001-06-17Solaris native is only multi-arch partial.Andrew Cagney1-1/+1
2001-06-15Multi-arch INIT_FRAME_PC() and INIT_FRAME_PC_FIRST().Andrew Cagney1-9/+0
2001-06-15multi-arch ADDR_BITS_REMOVE.Andrew Cagney1-5/+0
2001-06-13 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)Eli Zaretskii2-12/+0
(SLASH_STRING): Remove unised definitions. * config/i386/xm-cygwin.h: Likewise.
2001-06-07 * config/mips/tm-irix6.h: New file.Eli Zaretskii5-0/+194
* config/mips/irix6.mh: New file. * config/mips/irix6.mt: New file. * config/mips/xm-irix6.h: New file. * config/mips/nm-irix6.h: New file. * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the disassembler info in tm_print_insn_info as appropriate for the N32 ABI. Force N32 ABI to be the default if the CPU is R8000 or R10000. * configure.tgt (mips*-sgi-irix6*): Map to irix6. * configure.host (mips*-sgi-irix6*): Ditto.
2001-06-04 * go32-nat.c (go32_wait): Change the return value to ptid_t.Eli Zaretskii2-0/+8
* config/djgpp/fnchange.lst: Add two new files in the gdb/testsuite/gdb.c++/ directory to the remapped names. * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
2001-05-26 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c andNicholas Duffek3-4/+6
solib-osf.o. * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o with solib-osf.o and solib.o. * config/alpha/alpha-osf2.mh: Likewise. * config/alpha/alpha-osf3.mh: Likewise. * solib-osf.c: New file, renamed and largely rewritten from osfsolib.c.