aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
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.
2001-05-15Redefine ptid_t to be a struct rather than an int.Kevin Buettner4-24/+30
2001-05-12Tweeks from RDBrown to fix compiling on HP/UX using HP's compiler.Andrew Cagney1-1/+1
2001-05-09* i386-tdep.c (i386_frame_saved_pc): New function.Mark Kettenis1-8/+3
* config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of i386_frame_saved_pc. (i386_frame_saved_pc): New prototype.
2001-05-09* i386-tdep.c (i386_register_virtual_type): New function.Mark Kettenis1-17/+11
(i386_register_convertible): New function. * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms of i386_register_virtual_type. (REGISTER_CONVERTIBLE): Redefine in terms of i386_register_convertible. (i386_register_virtual_type, i386_register_convertible): New prototypes.
2001-05-09Correct and expand handling of `movm' instruction, and registerJim Blandy1-0/+17
saves in general. * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM, MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions. (enum movm_register_bits): New enum. * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the bits, not hex literals. Handle the `other', `exreg0', and `exother' bits. Correct handling of `exreg1': it saves r4, r5, r6, and r7, not r2, r3, r4, and r5. (saved_regs_size): New function. (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead of computing the same thing inline, incorrectly.
2001-05-09* mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specificJim Blandy1-3/+0
stuff out into mn10300_pop_frame_regular, and use generic_pop_current_frame. This lets us share code, and also makes this function's prototype match that expected by gdbarch. Make this function static. (mn10300_pop_frame_regular): New function. (mn10300_gdbarch_init): Register mn10300_pop_frame as the gdbarch's pop_frame method. * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition. (mn10300_pop_frame): Delete declaration.
2001-05-09* config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): DeleteJim Blandy1-2/+0
unused declaration.
2001-05-09Use gdbarch for most target parameters for the MN10300, ratherJim Blandy1-102/+0
than the tm-*.h file. * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN, SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC, EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS, STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY, CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS, TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY, REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER): Delete definitions. We register gdbarch methods for these now. (struct frame_info, struct type, struct value): Delete forward declarations of these types; they're no longer necessary, since we don't have function declarations here any more. * mn10300-tdep.c: #include "arch-utils.h", to get declarations for some default gdbarch methods. (mn10300_store_struct_return): Return void, as expected by gdbarch. (mn10300_init_extra_frame_info): Take initial `fromleaf' argument, as expected by gdbarch. (mn10300_frame_init_saved_regs): Provide dummy definition for this, as required by gdbarch. (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected by gdbarch. Register gdbarch methods or values for all the stuff removed from tm-10300.h, listed above.
2001-05-08* config/i386/tm-i386v.h (struct frame_info, structMark Kettenis1-7/+1
frame_saved_regs): Remove declarations. (i386_frame_num_args): Remove prototype.
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner23-64/+70
2001-05-03 * config/djgpp/fnchange.lst: Add mappings for the newEli Zaretskii1-0/+6
opcodes/openrisc-* files.
2001-05-01 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.Nicholas Duffek1-0/+7
(rs6000_in_solib_return_trampoline): Declare. * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New function. (rs6000_skip_trampoline_code): Skip bigtoc fixup code. * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function check after the CSECT check rather than before it. Allocate separate symtabs for CSECTs whose names begin with '@'. (scan_xcoff_symtab): Don't ignore symbols beginning with '@'. Activate the misc_func_recorded mechanism for whose names begin with '@'.
2001-04-19Obsolete MPW as host.Andrew Cagney3-126/+126
2001-04-19* i386-tdep.c (i386_frameless_function_invocation): New function.Mark Kettenis1-5/+6
* config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine in terms of i386_frameless_function_invocation. Adjust comment. (i386_frameless_function_invocation): New prototype.
2001-04-17* i386-tdep.c (i386_saved_pc_after_call): New function.Mark Kettenis1-5/+3
* config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms of i386_saved_pc_after_call. (i386_saved_pc_after_call): New prototype.
2001-04-17Obsolete NEWS and ISI systems (along with a few redundant m68k targets).Andrew Cagney11-503/+503
2001-04-16* i386-tdep.c (i386_frame_chain): New function.Mark Kettenis1-11/+6
* config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of i386_frame_chain. (i386_frame_chain): New prototype.
2001-04-12 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.Kevin Buettner1-1/+1
2001-04-11Obsolete sun386i.Andrew Cagney5-264/+264