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/arch/powerpc64 copy across the powerpc vers...
details: https://anonhg.NetBSD.org/src/rev/cc20316a73a8
branches: trunk
changeset: 753423:cc20316a73a8
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Mar 27 20:17:31 2010 +0000
description:
copy across the powerpc versions of these files for now. should use
mknative-gdb to generate these, but my initial attempt failed and
these ones seem to be about what i'd expect anyway.
suggested by dennis.c.ferguson%gmail.com@localhost in PR#43043.
diffstat:
gnu/usr.bin/gdb6/arch/powerpc64/config.h | 18 +++++++++---------
gnu/usr.bin/gdb6/arch/powerpc64/defs.mk | 2 +-
gnu/usr.bin/gdb6/arch/powerpc64/init.c | 12 ++++--------
3 files changed, 14 insertions(+), 18 deletions(-)
diffs (106 lines):
diff -r b009d0ae2e36 -r cc20316a73a8 gnu/usr.bin/gdb6/arch/powerpc64/config.h
--- a/gnu/usr.bin/gdb6/arch/powerpc64/config.h Sat Mar 27 20:11:06 2010 +0000
+++ b/gnu/usr.bin/gdb6/arch/powerpc64/config.h Sat Mar 27 20:17:31 2010 +0000
@@ -1,6 +1,6 @@
/* This file is automatically generated. DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gdb,v 1.1 2006/05/29 19:10:58 nathanw Exp */
-/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp */
+/* 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. */
@@ -17,7 +17,7 @@
/* #undef C_ALLOCA */
/* Global directory for separate debug files. */
-#define DEBUGDIR "/usr/lib/debug"
+#define DEBUGDIR "/usr/libdata/debug"
/* Define to BFD's default architecture. */
#define DEFAULT_BFD_ARCH bfd_rs6000_arch
@@ -313,10 +313,10 @@
#define HAVE_SGTTY_H 1
/* Define to 1 if you have the `sigaction' function. */
-/* #undef HAVE_SIGACTION */
+#define HAVE_SIGACTION 1
/* Define to 1 if you have the `sigprocmask' function. */
-/* #undef HAVE_SIGPROCMASK */
+#define HAVE_SIGPROCMASK 1
/* Define if sigsetjmp is available. */
#define HAVE_SIGSETJMP 1
@@ -486,7 +486,7 @@
/* #undef HAVE_VALUES_H */
/* Define to 1 if you have the `vfork' function. */
-/* #undef HAVE_VFORK */
+#define HAVE_VFORK 1
/* Define to 1 if you have the <vfork.h> header file. */
/* #undef HAVE_VFORK_H */
@@ -501,7 +501,7 @@
#define HAVE_WORKING_FORK 1
/* Define to 1 if `vfork' works. */
-/* #undef HAVE_WORKING_VFORK */
+#define HAVE_WORKING_VFORK 1
/* Define to 1 if your system has the _etext variable. */
#define HAVE__ETEXT 1
@@ -557,7 +557,7 @@
/* #undef PROC_SERVICE_IS_OLD */
/* Define to the type of arg 3 for ptrace. */
-#define PTRACE_TYPE_ARG3 caddr_t
+#define PTRACE_TYPE_ARG3 void *
/* Define to the type of arg 5 for ptrace. */
/* #undef PTRACE_TYPE_ARG5 */
@@ -650,4 +650,4 @@
/* #undef sys_quotactl */
/* Define as `fork' if `vfork' does not work. */
-#define vfork fork
+/* #undef vfork */
diff -r b009d0ae2e36 -r cc20316a73a8 gnu/usr.bin/gdb6/arch/powerpc64/defs.mk
--- a/gnu/usr.bin/gdb6/arch/powerpc64/defs.mk Sat Mar 27 20:11:06 2010 +0000
+++ b/gnu/usr.bin/gdb6/arch/powerpc64/defs.mk Sat Mar 27 20:17:31 2010 +0000
@@ -3,5 +3,5 @@
# Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp
#
G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode
-I${GNUHOSTDIST}/gdb/../readline/.. -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../intl -I${GNUHOSTDIST}/gdb/../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type
-Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral -Wunused-label -Wunused-function -Wno-pointer-sign
-G_LIBGDB_OBS=rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o dink32-rom.o ocd.o ppc-sysv-tdep.o solib.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o ppcnbsd-nat.o
bsd-kvm.o remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-sim.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o cli-logging.o
cli-interp.o mi-out.o mi-console.o mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o
mi-common.o posix-hdep.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o
tui-windata.o tui-wingeneral.o tui-winsource.o c-exp.o cp-name-parser.o objc-exp.o ada-exp.o jv-exp.o f-exp.o m2-exp.o p-exp.o version.o annotate.o auxv.o bfd-target.o blockframe.o
breakpoint.o findvar.o regcache.o charset.o disasm.o dummy-frame.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o symfile.o symmisc.o linespec.o dictionary.o
infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o inf-child.o interps.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o event-loop.o event-top.o inf-loop.o
completer.o gdbarch.o arch-utils.o gdbtypes.o osabi.o copying.o memattr.o mem-break.o target.o parse.o language.o buildsym.o std-regs.o signals.o kod.o kod-cisco.o gdb-events.o exec.o bcache.o
objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o elfread.o dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o
ada-lang.o c-lang.o f-lang.o objc-lang.o ui-out.o cli-out.o varobj.o wrapper.o jv-lang.o jv-valprint.o jv-typeprint.o m2-lang.o p-lang.o p-typeprint.o p-valprint.o scm-exp.o scm-lang.o
scm-valprint.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o f-valprint.o m2-valprint.o nlmread.o
serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o
regset.o trad-frame.o tramp-frame.o solib.o solib-null.o prologue-value.o inflow.o init.o
+G_LIBGDB_OBS=rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o corelow.o solib.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o nbsd-nat.o ppcnbsd-nat.o bsd-kvm.o
remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-sim.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o cli-logging.o
cli-interp.o mi-out.o mi-console.o mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o
mi-common.o posix-hdep.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o
tui-windata.o tui-wingeneral.o tui-winsource.o c-exp.o cp-name-parser.o objc-exp.o ada-exp.o jv-exp.o f-exp.o m2-exp.o p-exp.o version.o annotate.o auxv.o bfd-target.o blockframe.o
breakpoint.o findvar.o regcache.o charset.o disasm.o dummy-frame.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o symfile.o symmisc.o linespec.o dictionary.o
infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o inf-child.o interps.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o event-loop.o event-top.o inf-loop.o
completer.o gdbarch.o arch-utils.o gdbtypes.o osabi.o copying.o memattr.o mem-break.o target.o parse.o language.o buildsym.o std-regs.o signals.o kod.o kod-cisco.o gdb-events.o exec.o bcache.o
objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o elfread.o dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o
ada-lang.o c-lang.o f-lang.o objc-lang.o ui-out.o cli-out.o varobj.o wrapper.o jv-lang.o jv-valprint.o jv-typeprint.o m2-lang.o p-lang.o p-typeprint.o p-valprint.o scm-exp.o scm-lang.o
scm-valprint.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o f-valprint.o m2-valprint.o nlmread.o
serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o
regset.o trad-frame.o tramp-frame.o solib.o solib-null.o prologue-value.o inflow.o init.o
G_SIM_OBS=remote-sim.o
diff -r b009d0ae2e36 -r cc20316a73a8 gnu/usr.bin/gdb6/arch/powerpc64/init.c
--- a/gnu/usr.bin/gdb6/arch/powerpc64/init.c Sat Mar 27 20:11:06 2010 +0000
+++ b/gnu/usr.bin/gdb6/arch/powerpc64/init.c Sat Mar 27 20:17:31 2010 +0000
@@ -8,10 +8,8 @@
#include "call-cmds.h" /* For initialize_all_files. */
extern initialize_file_ftype _initialize_gdbtypes;
extern initialize_file_ftype _initialize_rs6000_tdep;
-extern initialize_file_ftype _initialize_remote_monitors;
-extern initialize_file_ftype _initialize_ppcbug_rom;
-extern initialize_file_ftype _initialize_dink32_rom;
-extern initialize_file_ftype _initialize_remote_ocd;
+extern initialize_file_ftype _initialize_ppcnbsd_tdep;
+extern initialize_file_ftype _initialize_corelow;
extern initialize_file_ftype _initialize_solib;
extern initialize_file_ftype _initialize_svr4_solib;
extern initialize_file_ftype _initialize_ser_hardwire;
@@ -124,10 +122,8 @@
{
_initialize_gdbtypes ();
_initialize_rs6000_tdep ();
- _initialize_remote_monitors ();
- _initialize_ppcbug_rom ();
- _initialize_dink32_rom ();
- _initialize_remote_ocd ();
+ _initialize_ppcnbsd_tdep ();
+ _initialize_corelow ();
_initialize_solib ();
_initialize_svr4_solib ();
_initialize_ser_hardwire ();
Home |
Main Index |
Thread Index |
Old Index