OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/gnu-old/gdb-6.8/gdb/config/i386
    from Rev 816 to Rev 827
    Reverse comparison

Rev 816 → Rev 827

/nbsdelf.mh File deleted
/fbsd.mh File deleted
/nbsdaout.mh File deleted
/obsdaout.mh File deleted
/mingw.mh File deleted
/nm-i386sol2.h File deleted
nm-i386sol2.h Property changes : Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -Id \ No newline at end of property Index: nm-i386.h =================================================================== --- nm-i386.h (revision 816) +++ nm-i386.h (nonexistent) @@ -1,115 +0,0 @@ -/* Native macro definitions for GDB on an Intel i[3456]86. - Copyright 2001, 2004, 2007, 2008 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#ifndef NM_I386_H -#define NM_I386_H 1 - -/* Hardware-assisted breakpoints and watchpoints. */ - -/* Targets should define this to use the generic x86 watchpoint support. */ -#ifdef I386_USE_GENERIC_WATCHPOINTS - -/* Clear the reference counts and forget everything we knew about DRi. */ -extern void i386_cleanup_dregs (void); - -/* Insert a watchpoint to watch a memory region which starts at - address ADDR and whose length is LEN bytes. Watch memory accesses - of the type TYPE. Return 0 on success, -1 on failure. */ -extern int i386_insert_watchpoint (CORE_ADDR addr, int len, int type); - -/* Remove a watchpoint that watched the memory region which starts at - address ADDR, whose length is LEN bytes, and for accesses of the - type TYPE. Return 0 on success, -1 on failure. */ -extern int i386_remove_watchpoint (CORE_ADDR addr, int len, int type); - -/* Return non-zero if we can watch a memory region that starts at - address ADDR and whose length is LEN bytes. */ -extern int i386_region_ok_for_watchpoint (CORE_ADDR addr, int len); - -/* Return non-zero if the inferior has some break/watchpoint that - triggered. */ -extern int i386_stopped_by_hwbp (void); - -/* If the inferior has some break/watchpoint that triggered, set - the address associated with that break/watchpoint and return - true. Otherwise, return false. */ -extern int i386_stopped_data_address (CORE_ADDR *); - -/* Insert a hardware-assisted breakpoint at BP_TGT->placed_address. - Return 0 on success, EBUSY on failure. */ -struct bp_target_info; -extern int i386_insert_hw_breakpoint (struct bp_target_info *bp_tgt); - -/* Remove a hardware-assisted breakpoint at BP_TGT->placed_address. - Return 0 on success, -1 on failure. */ -extern int i386_remove_hw_breakpoint (struct bp_target_info *bp_tgt); - -/* Returns the number of hardware watchpoints of type TYPE that we can - set. Value is positive if we can set CNT watchpoints, zero if - setting watchpoints of type TYPE is not supported, and negative if - CNT is more than the maximum number of watchpoints of type TYPE - that we can support. TYPE is one of bp_hardware_watchpoint, - bp_read_watchpoint, bp_write_watchpoint, or bp_hardware_breakpoint. - CNT is the number of such watchpoints used so far (including this - one). OTHERTYPE is non-zero if other types of watchpoints are - currently enabled. - - We always return 1 here because we don't have enough information - about possible overlap of addresses that they want to watch. As an - extreme example, consider the case where all the watchpoints watch - the same address and the same region length: then we can handle a - virtually unlimited number of watchpoints, due to debug register - sharing implemented via reference counts in i386-nat.c. */ - -#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) 1 - -/* Returns non-zero if we can use hardware watchpoints to watch a - region whose address is ADDR and whose length is LEN. */ - -#define TARGET_REGION_OK_FOR_HW_WATCHPOINT(addr, len) \ - i386_region_ok_for_watchpoint (addr, len) - -/* After a watchpoint trap, the PC points to the instruction after the - one that caused the trap. Therefore we don't need to step over it. - But we do need to reset the status register to avoid another trap. */ - -#define HAVE_CONTINUABLE_WATCHPOINT 1 - -extern int i386_stopped_by_watchpoint (void); - -#define STOPPED_BY_WATCHPOINT(W) (i386_stopped_by_watchpoint () != 0) - -#define target_stopped_data_address(target, x) i386_stopped_data_address(x) - -/* Use these macros for watchpoint insertion/removal. */ - -#define target_insert_watchpoint(addr, len, type) \ - i386_insert_watchpoint (addr, len, type) - -#define target_remove_watchpoint(addr, len, type) \ - i386_remove_watchpoint (addr, len, type) - -#define target_insert_hw_breakpoint(bp_tgt) \ - i386_insert_hw_breakpoint (bp_tgt) - -#define target_remove_hw_breakpoint(bp_tgt) \ - i386_remove_hw_breakpoint (bp_tgt) - -#endif /* I386_USE_GENERIC_WATCHPOINTS */ - -#endif /* NM_I386_H */
nm-i386.h Property changes : Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -Id \ No newline at end of property Index: obsd.mh =================================================================== --- obsd.mh (revision 816) +++ obsd.mh (nonexistent) @@ -1,5 +0,0 @@ -# Host: OpenBSD/i386 ELF -NATDEPFILES= fork-child.o inf-ptrace.o \ - i386bsd-nat.o i386obsd-nat.o bsd-kvm.o - -LOADLIBES= -lkvm Index: fbsd64.mh =================================================================== --- fbsd64.mh (revision 816) +++ fbsd64.mh (nonexistent) @@ -1,6 +0,0 @@ -# Host: FreeBSD/amd64 -NATDEPFILES= fork-child.o inf-ptrace.o \ - fbsd-nat.o amd64-nat.o amd64bsd-nat.o amd64fbsd-nat.o \ - gcore.o bsd-kvm.o - -LOADLIBES= -lkvm Index: i386sol2.mh =================================================================== --- i386sol2.mh (revision 816) +++ i386sol2.mh (nonexistent) @@ -1,4 +0,0 @@ -# Host: Solaris x86 -NATDEPFILES= fork-child.o i386v4-nat.o i386-sol2-nat.o \ - procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o gcore.o -NAT_FILE= nm-i386sol2.h Index: nm-linux.h =================================================================== --- nm-linux.h (revision 816) +++ nm-linux.h (nonexistent) @@ -1,54 +0,0 @@ -/* Native support for GNU/Linux x86. - - Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2005, 2007, 2008 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#ifndef NM_LINUX_H -#define NM_LINUX_H - -/* GNU/Linux supports the i386 hardware debugging registers. */ -#define I386_USE_GENERIC_WATCHPOINTS - -#include "i386/nm-i386.h" -#include "config/nm-linux.h" - -/* Provide access to the i386 hardware debugging registers. */ - -extern void i386_linux_dr_set_control (unsigned long control); -#define I386_DR_LOW_SET_CONTROL(control) \ - i386_linux_dr_set_control (control) - -extern void i386_linux_dr_set_addr (int regnum, CORE_ADDR addr); -#define I386_DR_LOW_SET_ADDR(regnum, addr) \ - i386_linux_dr_set_addr (regnum, addr) - -extern void i386_linux_dr_reset_addr (int regnum); -#define I386_DR_LOW_RESET_ADDR(regnum) \ - i386_linux_dr_reset_addr (regnum) - -extern unsigned long i386_linux_dr_get_status (void); -#define I386_DR_LOW_GET_STATUS() \ - i386_linux_dr_get_status () - - -#ifdef HAVE_PTRACE_GETFPXREGS -/* Include register set support for the SSE registers. */ -#define FILL_FPXREGSET -#endif - -#endif /* nm-linux.h */
nm-linux.h Property changes : Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -Id \ No newline at end of property Index: nm-cygwin.h =================================================================== --- nm-cygwin.h (revision 816) +++ nm-cygwin.h (nonexistent) @@ -1,38 +0,0 @@ -/* Native definitions for Intel x86 running CYGWIN. - Copyright 2002, 2006, 2007, 2008 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#define ATTACH_NO_WAIT -#define ADD_SHARED_SYMBOL_FILES dll_symbol_command -void dll_symbol_command (char *, int); - -#define I386_USE_GENERIC_WATCHPOINTS - -#include "i386/nm-i386.h" - -/* Support for hardware-assisted breakpoints and watchpoints. */ - -#define I386_DR_LOW_SET_CONTROL(VAL) cygwin_set_dr7 (VAL) -extern void cygwin_set_dr7 (unsigned); - -#define I386_DR_LOW_SET_ADDR(N,ADDR) cygwin_set_dr (N,ADDR) -extern void cygwin_set_dr (int, CORE_ADDR); - -#define I386_DR_LOW_RESET_ADDR(N) - -#define I386_DR_LOW_GET_STATUS() cygwin_get_dr6 () -extern unsigned cygwin_get_dr6 (void);
nm-cygwin.h Property changes : Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -Id \ No newline at end of property Index: nm-i386gnu.h =================================================================== --- nm-i386gnu.h (revision 816) +++ nm-i386gnu.h (nonexistent) @@ -1,40 +0,0 @@ -/* Native-dependent definitions for Intel 386 running the GNU Hurd - Copyright 1994, 1995, 1996, 2002, 2007, 2008 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#ifndef NM_I386GNU_H -#define NM_I386GNU_H - -#include -#include -#include -#include "regcache.h" - -extern char *gnu_target_pid_to_str (int pid); - -/* Don't do wait_for_inferior on attach. */ -#define ATTACH_NO_WAIT - -/* Thread flavors used in re-setting the T bit. */ -#define THREAD_STATE_FLAVOR i386_REGS_SEGS_STATE -#define THREAD_STATE_SIZE i386_THREAD_STATE_COUNT -#define THREAD_STATE_SET_TRACED(state) \ - ((struct i386_thread_state *) (state))->efl |= 0x100 -#define THREAD_STATE_CLEAR_TRACED(state) \ - ((((struct i386_thread_state *) (state))->efl &= ~0x100), 1) - -#endif /* nm-i386gnu.h */
nm-i386gnu.h Property changes : Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -Id \ No newline at end of property Index: linux.mh =================================================================== --- linux.mh (revision 816) +++ linux.mh (nonexistent) @@ -1,11 +0,0 @@ -# Host: Intel 386 running GNU/Linux. - -NAT_FILE= nm-linux.h -NATDEPFILES= inf-ptrace.o fork-child.o \ - i386-nat.o i386-linux-nat.o \ - proc-service.o linux-thread-db.o gcore.o \ - linux-nat.o linux-fork.o - -# The dynamically loaded libthread_db needs access to symbols in the -# gdb executable. -LOADLIBES = -ldl -rdynamic Index: cygwin.mh =================================================================== --- cygwin.mh (revision 816) +++ cygwin.mh (nonexistent) @@ -1,4 +0,0 @@ -MH_CFLAGS= -NATDEPFILES= i386-nat.o win32-nat.o -NAT_FILE=nm-cygwin.h -XM_CLIBS= Index: nbsd64.mh =================================================================== --- nbsd64.mh (revision 816) +++ nbsd64.mh (nonexistent) @@ -1,3 +0,0 @@ -# Host: NetBSD/amd64 -NATDEPFILES= fork-child.o inf-ptrace.o \ - nbsd-nat.o amd64-nat.o amd64bsd-nat.o amd64nbsd-nat.o Index: nto.mh =================================================================== --- nto.mh (revision 816) +++ nto.mh (nonexistent) @@ -1,4 +0,0 @@ -# Host: Intel 386 running QNX. - -NATDEPFILES= nto-procfs.o -NAT_FILE= config/nm-nto.h Index: obsd64.mh =================================================================== --- obsd64.mh (revision 816) +++ obsd64.mh (nonexistent) @@ -1,5 +0,0 @@ -# Host: OpenBSD/amd64 -NATDEPFILES= fork-child.o inf-ptrace.o \ - amd64-nat.o amd64bsd-nat.o amd64obsd-nat.o bsd-kvm.o - -LOADLIBES= -lkvm Index: i386gnu.mh =================================================================== --- i386gnu.mh (revision 816) +++ i386gnu.mh (nonexistent) @@ -1,31 +0,0 @@ -# Host: Intel 386 running the GNU Hurd -NATDEPFILES= i386gnu-nat.o gnu-nat.o corelow.o core-regset.o fork-child.o \ - notify_S.o process_reply_S.o msg_reply_S.o \ - msg_U.o exc_request_U.o exc_request_S.o - -NAT_FILE= nm-i386gnu.h -MH_CFLAGS = -D_GNU_SOURCE - -XM_CLIBS = -lshouldbeinlibc - -# Use our own user stubs for the msg rpcs, so we can make them time out, in -# case the program is fucked, or we guess the wrong signal thread. -msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;' - -# ick -MIGCOM = $(MIG) -cc cat - /dev/null - -# Reply servers need special massaging of the code mig generates, to make -# them work correctly for error returns in some cases. -%_reply_S.h %_reply_S.c: %_reply.defs - $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \ - | $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \ - && $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c -# Normal servers -%_S.h %_S.c: %.defs - $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \ - | $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null -# User rpc stubs -%_U.h %_U.c: %.defs - $(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \ - | $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h Index: nm-linux64.h =================================================================== --- nm-linux64.h (revision 816) +++ nm-linux64.h (nonexistent) @@ -1,53 +0,0 @@ -/* Native support for GNU/Linux x86-64. - - Copyright 2001, 2002, 2003, 2004, 2005, 2007, 2008 - Free Software Foundation, Inc. - - Contributed by Jiri Smid, SuSE Labs. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#ifndef NM_LINUX64_H -#define NM_LINUX64_H - -/* GNU/Linux supports the i386 hardware debugging registers. */ -#define I386_USE_GENERIC_WATCHPOINTS - -#include "i386/nm-i386.h" -#include "config/nm-linux.h" - -/* Support for 8-byte wide hardware watchpoints. */ -#define TARGET_HAS_DR_LEN_8 1 - -/* Provide access to the i386 hardware debugging registers. */ - -extern void amd64_linux_dr_set_control (unsigned long control); -#define I386_DR_LOW_SET_CONTROL(control) \ - amd64_linux_dr_set_control (control) - -extern void amd64_linux_dr_set_addr (int regnum, CORE_ADDR addr); -#define I386_DR_LOW_SET_ADDR(regnum, addr) \ - amd64_linux_dr_set_addr (regnum, addr) - -extern void amd64_linux_dr_reset_addr (int regnum); -#define I386_DR_LOW_RESET_ADDR(regnum) \ - amd64_linux_dr_reset_addr (regnum) - -extern unsigned long amd64_linux_dr_get_status (void); -#define I386_DR_LOW_GET_STATUS() \ - amd64_linux_dr_get_status () - -#endif /* nm-linux64.h */
nm-linux64.h Property changes : Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -Id \ No newline at end of property Index: nm-go32.h =================================================================== --- nm-go32.h (revision 816) +++ nm-go32.h (nonexistent) @@ -1,35 +0,0 @@ -/* Native definitions for Intel x86 running DJGPP. - Copyright 1997, 1998, 1999, 2001, 2002, 2007, 2008 - Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#define I386_USE_GENERIC_WATCHPOINTS - -#include "i386/nm-i386.h" - -/* Support for hardware-assisted breakpoints and watchpoints. */ - -#define I386_DR_LOW_SET_CONTROL(VAL) go32_set_dr7 (VAL) -extern void go32_set_dr7 (unsigned); - -#define I386_DR_LOW_SET_ADDR(N,ADDR) go32_set_dr (N,ADDR) -extern void go32_set_dr (int, CORE_ADDR); - -#define I386_DR_LOW_RESET_ADDR(N) - -#define I386_DR_LOW_GET_STATUS() go32_get_dr6 () -extern unsigned go32_get_dr6 (void);
nm-go32.h Property changes : Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -Id \ No newline at end of property Index: sol2-64.mh =================================================================== --- sol2-64.mh (revision 816) +++ sol2-64.mh (nonexistent) @@ -1,4 +0,0 @@ -# Host: Solaris x86_64 -NATDEPFILES= fork-child.o amd64-nat.o i386v4-nat.o i386-sol2-nat.o \ - procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o gcore.o -NAT_FILE= nm-i386sol2.h Index: nm-fbsd.h =================================================================== --- nm-fbsd.h (revision 816) +++ nm-fbsd.h (nonexistent) @@ -1,53 +0,0 @@ -/* Native-dependent definitions for FreeBSD/i386. - - Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1997, 2000, 2001, 2004, 2005, - 2007, 2008 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#ifndef NM_FBSD_H -#define NM_FBSD_H - -#ifdef HAVE_PT_GETDBREGS -#define I386_USE_GENERIC_WATCHPOINTS -#endif - -#include "i386/nm-i386.h" - -#ifdef HAVE_SYS_PARAM_H -#include -#endif - -/* Provide access to the i386 hardware debugging registers. */ - -#define I386_DR_LOW_SET_CONTROL(control) \ - i386bsd_dr_set_control (control) -extern void i386bsd_dr_set_control (unsigned long control); - -#define I386_DR_LOW_SET_ADDR(regnum, addr) \ - i386bsd_dr_set_addr (regnum, addr) -extern void i386bsd_dr_set_addr (int regnum, CORE_ADDR addr); - -#define I386_DR_LOW_RESET_ADDR(regnum) \ - i386bsd_dr_reset_addr (regnum) -extern void i386bsd_dr_reset_addr (int regnum); - -#define I386_DR_LOW_GET_STATUS() \ - i386bsd_dr_get_status () -extern unsigned long i386bsd_dr_get_status (void); - - -#endif /* nm-fbsd.h */
nm-fbsd.h Property changes : Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -Id \ No newline at end of property Index: linux64.mh =================================================================== --- linux64.mh (revision 816) +++ linux64.mh (nonexistent) @@ -1,9 +0,0 @@ -# Host: GNU/Linux x86-64 -NATDEPFILES= inf-ptrace.o fork-child.o \ - i386-nat.o amd64-nat.o amd64-linux-nat.o linux-nat.o \ - proc-service.o linux-thread-db.o gcore.o linux-fork.o -NAT_FILE= nm-linux64.h - -# The dynamically loaded libthread_db needs access to symbols in the -# gdb executable. -LOADLIBES = -ldl -rdynamic Index: go32.mh =================================================================== --- go32.mh (revision 816) +++ go32.mh (nonexistent) @@ -1,11 +0,0 @@ -# Host: Intel x86 running DJGPP -MH_CFLAGS= - -NAT_FILE= nm-go32.h -NATDEPFILES= go32-nat.o i386-nat.o - -HOST_IPC= -CC= gcc -XM_CLIBS= -ldbg - -

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.