Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/gdb6 First pass at gdb mknative for mips64*



details:   https://anonhg.NetBSD.org/src/rev/7acbb87bbb4e
branches:  trunk
changeset: 750076:7acbb87bbb4e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Dec 15 08:25:10 2009 +0000

description:
First pass at gdb mknative for mips64*

diffstat:

 gnu/usr.bin/gdb6/arch/mips64eb/config.h           |   653 ++
 gnu/usr.bin/gdb6/arch/mips64eb/defs.mk            |     7 +
 gnu/usr.bin/gdb6/arch/mips64eb/init.c             |   234 +
 gnu/usr.bin/gdb6/arch/mips64eb/tm.h               |     5 +
 gnu/usr.bin/gdb6/arch/mips64eb/version.c          |     8 +
 gnu/usr.bin/gdb6/arch/mips64el/config.h           |   653 ++
 gnu/usr.bin/gdb6/arch/mips64el/defs.mk            |     7 +
 gnu/usr.bin/gdb6/arch/mips64el/init.c             |   234 +
 gnu/usr.bin/gdb6/arch/mips64el/tm.h               |     5 +
 gnu/usr.bin/gdb6/arch/mips64el/version.c          |     8 +
 gnu/usr.bin/gdb6/bfd/arch/mips64eb/bfd.h          |  5148 +++++++++++++++++++++
 gnu/usr.bin/gdb6/bfd/arch/mips64eb/bfdver.h       |     7 +
 gnu/usr.bin/gdb6/bfd/arch/mips64eb/config.h       |   380 +
 gnu/usr.bin/gdb6/bfd/arch/mips64eb/defs.mk        |     9 +
 gnu/usr.bin/gdb6/bfd/arch/mips64el/bfd.h          |  5148 +++++++++++++++++++++
 gnu/usr.bin/gdb6/bfd/arch/mips64el/bfdver.h       |     7 +
 gnu/usr.bin/gdb6/bfd/arch/mips64el/config.h       |   380 +
 gnu/usr.bin/gdb6/bfd/arch/mips64el/defs.mk        |     9 +
 gnu/usr.bin/gdb6/libiberty/arch/mips64eb/config.h |   449 +
 gnu/usr.bin/gdb6/libiberty/arch/mips64eb/defs.mk  |     8 +
 gnu/usr.bin/gdb6/libiberty/arch/mips64el/config.h |   449 +
 gnu/usr.bin/gdb6/libiberty/arch/mips64el/defs.mk  |     8 +
 gnu/usr.bin/gdb6/opcodes/arch/mips64eb/config.h   |   171 +
 gnu/usr.bin/gdb6/opcodes/arch/mips64eb/defs.mk    |     7 +
 gnu/usr.bin/gdb6/opcodes/arch/mips64el/config.h   |   171 +
 gnu/usr.bin/gdb6/opcodes/arch/mips64el/defs.mk    |     7 +
 gnu/usr.bin/gdb6/readline/arch/mips64eb/config.h  |   243 +
 gnu/usr.bin/gdb6/readline/arch/mips64eb/defs.mk   |     6 +
 gnu/usr.bin/gdb6/readline/arch/mips64el/config.h  |   243 +
 gnu/usr.bin/gdb6/readline/arch/mips64el/defs.mk   |     6 +
 30 files changed, 14670 insertions(+), 0 deletions(-)

diffs (truncated from 14790 to 300 lines):

diff -r 6960d04f0c00 -r 7acbb87bbb4e gnu/usr.bin/gdb6/arch/mips64eb/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/gdb6/arch/mips64eb/config.h   Tue Dec 15 08:25:10 2009 +0000
@@ -0,0 +1,653 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative-gdb,v 1.2 2007/02/19 18:26:22 chs Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
+
+/* config.h.  Generated by configure.  */
+/* config.in.  Generated from configure.ac by autoheader.  */
+
+/* Define to 1 if the compiler supports long long. */
+#define CC_HAS_LONG_LONG 1
+
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+   systems. This function is required for `alloca.c' support on those systems.
+   */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define to 1 if using `alloca.c'. */
+/* #undef C_ALLOCA */
+
+/* Global directory for separate debug files. */
+#define DEBUGDIR "/usr/libdata/debug"
+
+/* Define to BFD's default architecture. */
+#define DEFAULT_BFD_ARCH bfd_mips_arch
+
+/* Define to BFD's default target vector. */
+#define DEFAULT_BFD_VEC bfd_elf32_tradbigmips_vec
+
+/* Define to 1 if NLS is requested */
+/* #undef ENABLE_NLS */
+
+/* Define to be a string naming the default host character set. */
+#define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
+
+/* Host double floatformat */
+#define GDB_HOST_DOUBLE_FORMAT 0
+
+/* Host float floatformat */
+#define GDB_HOST_FLOAT_FORMAT 0
+
+/* Host long double floatformat */
+#define GDB_HOST_LONG_DOUBLE_FORMAT 0
+
+/* nativefile */
+/* #undef GDB_NM_FILE */
+
+/* Define to the default OS ABI for this configuration. */
+/* #undef GDB_OSABI_DEFAULT */
+
+/* targetfile */
+#define GDB_TM_FILE "config/mips/tm-nbsd.h"
+
+/* hostfile */
+/* #undef GDB_XM_FILE */
+
+/* Define to 1 if you have `alloca', as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+   */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define to 1 if you have the <argz.h> header file. */
+/* #undef HAVE_ARGZ_H */
+
+/* Define to 1 if you have the `canonicalize_file_name' function. */
+/* #undef HAVE_CANONICALIZE_FILE_NAME */
+
+/* Define to 1 if you have the <ctype.h> header file. */
+#define HAVE_CTYPE_H 1
+
+/* Define to 1 if you have the <cursesX.h> header file. */
+/* #undef HAVE_CURSESX_H */
+
+/* Define to 1 if you have the <curses.h> header file. */
+#define HAVE_CURSES_H 1
+
+/* Define to 1 if you have the `dcgettext' function. */
+/* #undef HAVE_DCGETTEXT */
+
+/* Define to 1 if you have the declaration of `free', and to 0 if you don't.
+   */
+#define HAVE_DECL_FREE 1
+
+/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't.
+   */
+#define HAVE_DECL_GETOPT 1
+
+/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
+   */
+#define HAVE_DECL_MALLOC 1
+
+/* Define to 1 if you have the declaration of `ptrace', and to 0 if you don't.
+   */
+#define HAVE_DECL_PTRACE 1
+
+/* Define to 1 if you have the declaration of `realloc', and to 0 if you
+   don't. */
+#define HAVE_DECL_REALLOC 1
+
+/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
+   don't. */
+#define HAVE_DECL_SNPRINTF 1
+
+/* Define to 1 if you have the declaration of `strerror', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRERROR 1
+
+/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
+   */
+#define HAVE_DECL_STRSTR 1
+
+/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
+   don't. */
+#define HAVE_DECL_VSNPRINTF 1
+
+/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
+   */
+#define HAVE_DIRENT_H 1
+
+/* Define to 1 if you have the `fork' function. */
+#define HAVE_FORK 1
+
+/* Define if <sys/procfs.h> has fpregset_t. */
+/* #undef HAVE_FPREGSET_T */
+
+/* Define to 1 if you have the `getcwd' function. */
+#define HAVE_GETCWD 1
+
+/* Define to 1 if you have the `getgid' function. */
+#define HAVE_GETGID 1
+
+/* Define to 1 if you have the `getpagesize' function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define as 1 if you have gettext and don't want to use GNU gettext. */
+/* #undef HAVE_GETTEXT */
+
+/* Define to 1 if you have the `getuid' function. */
+#define HAVE_GETUID 1
+
+/* Define to 1 if you have the <gnu/libc-version.h> header file. */
+/* #undef HAVE_GNU_LIBC_VERSION_H */
+
+/* Define if <sys/procfs.h> has gregset_t. */
+/* #undef HAVE_GREGSET_T */
+
+/* Define if you have HPUX threads */
+/* #undef HAVE_HPUX_THREAD_SUPPORT */
+
+/* Define if you have the iconv() function. */
+#define HAVE_ICONV 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define if your locale.h file contains LC_MESSAGES. */
+#define HAVE_LC_MESSAGES 1
+
+/* Define to 1 if you have the `dl' library (-ldl). */
+/* #undef HAVE_LIBDL */
+
+/* Define to 1 if you have the `m' library (-lm). */
+#define HAVE_LIBM 1
+
+/* Define if libunwind library is being used. */
+/* #undef HAVE_LIBUNWIND */
+
+/* Define to 1 if you have the <libunwind.h> header file. */
+/* #undef HAVE_LIBUNWIND_H */
+
+/* Define to 1 if you have the <libunwind-ia64.h> header file. */
+/* #undef HAVE_LIBUNWIND_IA64_H */
+
+/* Define to 1 if you have the `w' library (-lw). */
+/* #undef HAVE_LIBW */
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define to 1 if you have the <link.h> header file. */
+#define HAVE_LINK_H 1
+
+/* Define to 1 if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define to 1 if the compiler supports long double. */
+#define HAVE_LONG_DOUBLE 1
+
+/* Define if <sys/procfs.h> has lwpid_t. */
+/* #undef HAVE_LWPID_T */
+
+/* Define to 1 if you have the <machine/reg.h> header file. */
+#define HAVE_MACHINE_REG_H 1
+
+/* Define to 1 if you have the <malloc.h> header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define to 1 if you have the `monstartup' function. */
+#define HAVE_MONSTARTUP 1
+
+/* Define to 1 if you have the `munmap' function. */
+#define HAVE_MUNMAP 1
+
+/* Define to 1 if you have the <ncurses.h> header file. */
+/* #undef HAVE_NCURSES_H */
+
+/* Define to 1 if you have the <ncurses/ncurses.h> header file. */
+/* #undef HAVE_NCURSES_NCURSES_H */
+
+/* Define to 1 if you have the <ncurses/term.h> header file. */
+/* #undef HAVE_NCURSES_TERM_H */
+
+/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
+/* #undef HAVE_NDIR_H */
+
+/* Define to 1 if you have the <nlist.h> header file. */
+#define HAVE_NLIST_H 1
+
+/* Define to 1 if you have the <nl_types.h> header file. */
+#define HAVE_NL_TYPES_H 1
+
+/* Define to 1 if you have the `poll' function. */
+#define HAVE_POLL 1
+
+/* Define to 1 if you have the <poll.h> header file. */
+#define HAVE_POLL_H 1
+
+/* Define to 1 if you have the `pread64' function. */
+/* #undef HAVE_PREAD64 */
+
+/* Define if <sys/procfs.h> has prfpregset32_t. */
+/* #undef HAVE_PRFPREGSET32_T */
+
+/* Define if <sys/procfs.h> has prfpregset_t. */
+/* #undef HAVE_PRFPREGSET_T */
+
+/* Define if <sys/procfs.h> has prgregset32_t. */
+/* #undef HAVE_PRGREGSET32_T */
+
+/* Define if <sys/procfs.h> has prgregset_t. */
+/* #undef HAVE_PRGREGSET_T */
+
+/* Define if ioctl argument PIOCSET is available. */
+/* #undef HAVE_PROCFS_PIOCSET */
+
+/* Define to 1 if you have the <proc_service.h> header file. */
+/* #undef HAVE_PROC_SERVICE_H */
+
+/* Define if <sys/procfs.h> has prrun_t. */
+/* #undef HAVE_PRRUN_T */
+
+/* Define if <sys/procfs.h> has prsysent_t. */
+/* #undef HAVE_PRSYSENT_T */
+
+/* Define if <sys/procfs.h> has pr_sigaction64_t. */
+/* #undef HAVE_PR_SIGACTION64_T */
+
+/* Define if <sys/procfs.h> has pr_siginfo64_t. */
+/* #undef HAVE_PR_SIGINFO64_T */
+
+/* Define if <sys/procfs.h> has pr_sigset_t. */
+/* #undef HAVE_PR_SIGSET_T */
+
+/* Define if <sys/procfs.h> has psaddr_t. */
+/* #undef HAVE_PSADDR_T */
+
+/* Define if <sys/procfs.h> has pstatus_t. */
+/* #undef HAVE_PSTATUS_T */
+
+/* Define if sys/ptrace.h defines the PTRACE_GETFPXREGS request. */
+/* #undef HAVE_PTRACE_GETFPXREGS */
+
+/* Define if sys/ptrace.h defines the PTRACE_GETREGS request. */
+/* #undef HAVE_PTRACE_GETREGS */
+
+/* Define to 1 if you have the <ptrace.h> header file. */
+/* #undef HAVE_PTRACE_H */
+
+/* Define if sys/ptrace.h defines the PT_GETDBREGS request. */
+/* #undef HAVE_PT_GETDBREGS */
+
+/* Define if sys/ptrace.h defines the PT_GETXMMREGS request. */
+/* #undef HAVE_PT_GETXMMREGS */
+
+/* Define to 1 if you have the `putenv' function. */
+#define HAVE_PUTENV 1
+
+/* Define to 1 if you have the `realpath' function. */
+#define HAVE_REALPATH 1
+



Home | Main Index | Thread Index | Old Index