PERFORCE change 46637 for review
Marcel Moolenaar
marcel at FreeBSD.org
Fri Feb 6 22:32:52 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=46637
Change 46637 by marcel at marcel_nfs on 2004/02/06 22:31:58
Checkpoint: make depend works. We cannot build gdb(1) due
to the fact that binutils is too old. There's bfd mismatch.
Affected files ...
.. //depot/projects/gdb/contrib/gdb/include/gdb/ChangeLog#2 edit
.. //depot/projects/gdb/contrib/gdb/include/gdb/callback.h#1 add
.. //depot/projects/gdb/contrib/gdb/include/gdb/fileio.h#1 add
.. //depot/projects/gdb/contrib/gdb/include/gdb/signals.h#2 edit
.. //depot/projects/gdb/gnu/usr.bin/gdb/Makefile.inc0#2 edit
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#2 edit
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/config.h#2 edit
Differences ...
==== //depot/projects/gdb/contrib/gdb/include/gdb/ChangeLog#2 (text+ko) ====
@@ -1,7 +1,104 @@
-2002-03-29 Daniel Jacobowitz <drow at mvista.com>
+2003-10-31 Kevin Buettner <kevin at redhat.com>
+
+ * sim-frv.h: New file.
+
+2003-10-15 J"orn Rennecke <joern.rennecke at superh.com>
+
+ * callback.h (struct host_callback_struct): New members ftruncate
+ and truncate.
+
+2003-06-10 Corinna Vinschen <vinschen at redhat.com>
+
+ * gdb/fileio.h: New file.
+
+2003-05-07 Andrew Cagney <cagney at redhat.com>
+
+ * sim-d10v.h (sim_d10v_translate_addr): Add regcache parameter.
+ (sim_d10v_translate_imap_addr): Add regcache parameter.
+ (sim_d10v_translate_dmap_addr): Ditto.
+
+2003-03-27 Nick Clifton <nickc at redhat.com>
+
+ * sim-arm.h (sim_arm_regs): Add iWMMXt registers.
+
+2003-03-20 Nick Clifton <nickc at redhat.com>
+
+ * sim-arm.h (sim_arm_regs): Add Maverick co-processor
+ registers.
+
+2003-02-27 Andrew Cagney <cagney at redhat.com>
+
+ * remote-sim.h (sim_open, sim_load, sim_create_inferior): Rename
+ _bfd to bfd.
+
+2003-02-20 Andrew Cagney <ac131313 at redhat.com>
+
+ * remote-sim.h (SIM_RC): Delete unused SIM_RC_UNKNOWN_BREAKPOINT,
+ SIM_RC_INSUFFICIENT_RESOURCES and SIM_RC_DUPLICATE_BREAKPOINT.
+ (sim_set_breakpoint, sim_clear_breakpoint): Delete declarations.
+ (sim_clear_all_breakpoints, sim_enable_breakpoint): Ditto.
+ (sim_enable_all_breakpoints, sim_disable_breakpoint): Ditto.
+ (sim_disable_all_breakpoints): Ditto.
+
+2002-12-26 Kazu Hirata <kazu at cs.umass.edu>
+
+ * sim-h8300.h: Remove ^M.
+
+2002-07-29 Andrey Volkov <avolkov at transas.com>
+
+ * sim-h8300.h: Rename all enums from H8300_ to SIM_H8300_
+ prefix.
+
+2002-07-23 Andrey Volkov <avolkov at transas.com>
+
+ * sim-h8300.h: New file.
+
+2002-07-17 Andrew Cagney <cagney at redhat.com>
+
+ * remote-sim.h: Update copyright.
+ (sim_set_callbacks, sim_size, sim_trace)
+ (sim_set_trace, sim_set_profile_size, sim_kill): Delete. Moved to
+ "sim/common/run-sim.h".
+
+Wed Jul 17 19:36:38 2002 J"orn Rennecke <joern.rennecke at superh.com>
+
+ * sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp,
+ renumbering the sh-dsp registers to use distinct numbers.
+
+2002-06-15 Andrew Cagney <ac131313 at redhat.com>
+
+ * sim-arm.h (enum sim_arm_regs): Rename sim_arm_regnum.
+
+2002-06-12 Andrew Cagney <ac131313 at redhat.com>
+
+ * sim-arm.h: New file.
+
+2002-06-08 Andrew Cagney <cagney at redhat.com>
+
+ * callback.h: Copy to here from directory above.
+ * remote-sim.h: Copy to here from directory above.
+
+2002-06-01 Andrew Cagney <ac131313 at redhat.com>
+
+ * sim-d10v.h (sim_d10v_regs): Expand to include all registers.
+ Update copyright.
+
+2002-05-23 Andrew Cagney <ac131313 at redhat.com>
+
+ * sim-d10v.h: New file. Moved from include/sim-d10v.h.
+
+2002-05-10 Elena Zannoni <ezannoni at redhat.com>
+
+ * sim-sh.h: New file, for sh gdb<->sim interface.
+
+2002-05-09 Daniel Jacobowitz <drow at mvista.com>
+
+ * signals.h: Update comments.
+ (enum target_signal): Remove conditional compilation around
+ Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT.
+
+2002-03-10 Daniel Jacobowitz <drow at mvista.com>
- Merge from trunk:
- 2002-03-10 Daniel Jacobowitz <drow at mvista.com>
* signals.h: New file, from gdb/defs.h.
==== //depot/projects/gdb/contrib/gdb/include/gdb/signals.h#2 (text+ko) ====
@@ -32,7 +32,8 @@
Since these numbers have actually made it out into other software
(stubs, etc.), you mustn't disturb the assigned numbering. If you
need to add new signals here, add them to the end of the explicitly
- numbered signals.
+ numbered signals, at the comment marker. Add them unconditionally,
+ not within any #if or #ifdef.
This is based strongly on Unix/POSIX signals for several reasons:
(1) This set of signals represents a widely-accepted attempt to
@@ -208,15 +209,6 @@
TARGET_SIGNAL_REALTIME_126,
TARGET_SIGNAL_REALTIME_127,
-#if defined(MACH) || defined(__MACH__)
- /* Mach exceptions */
- TARGET_EXC_BAD_ACCESS,
- TARGET_EXC_BAD_INSTRUCTION,
- TARGET_EXC_ARITHMETIC,
- TARGET_EXC_EMULATION,
- TARGET_EXC_SOFTWARE,
- TARGET_EXC_BREAKPOINT,
-#endif
TARGET_SIGNAL_INFO,
/* Some signal we don't know about. */
@@ -226,6 +218,18 @@
(for passing to proceed and so on). */
TARGET_SIGNAL_DEFAULT,
+ /* Mach exceptions. In versions of GDB before 5.2, these were just before
+ TARGET_SIGNAL_INFO if you were compiling on a Mach host (and missing
+ otherwise). */
+ TARGET_EXC_BAD_ACCESS,
+ TARGET_EXC_BAD_INSTRUCTION,
+ TARGET_EXC_ARITHMETIC,
+ TARGET_EXC_EMULATION,
+ TARGET_EXC_SOFTWARE,
+ TARGET_EXC_BREAKPOINT,
+
+ /* If you are adding a new signal, add it just above this comment. */
+
/* Last and unused enum value, for sizing arrays, etc. */
TARGET_SIGNAL_LAST
};
==== //depot/projects/gdb/gnu/usr.bin/gdb/Makefile.inc0#2 (text+ko) ====
@@ -8,6 +8,9 @@
TARGET_ARCH?= ${MACHINE_ARCH}
-CONTRIBDIR= ${.CURDIR}/../../../../contrib
-BINUTILSDIR= ${CONTRIBDIR}/binutils
-GDBDIR= ${CONTRIBDIR}/gdb/gdb
+CNTRB_ROOT= ${.CURDIR}/../../../../contrib
+CNTRB_BINUTILS= ${CNTRB_ROOT}/binutils
+CNTRB_GDB= ${CNTRB_ROOT}/gdb
+
+GNUBIN_ROOT= ${.CURDIR}/../..
+GNUBIN_BINUTILS= ${GNUBIN_ROOT}/binutils
==== //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#2 (text+ko) ====
@@ -2,9 +2,11 @@
.include "../Makefile.inc0"
-.PATH: ${GDBDIR} ${GDBDIR}/cli ${GDBDIR}/mi ${GDBDIR}/signals
+.PATH: ${CNTRB_GDB}/gdb ${CNTRB_GDB}/gdb/cli ${CNTRB_GDB}/gdb/mi \
+ ${CNTRB_GDB}/gdb/signals
PROG= gdb
+GENSRCS=version.c nm.h tm.h xm.h
SRCS= annotate.c arch-utils.c ax-gdb.c ax-general.c bcache.c \
bfd-target.c block.c blockframe.c breakpoint.c buildsym.c \
c-exp.y c-lang.c c-typeprint.c c-valprint.c charset.c \
@@ -36,14 +38,22 @@
solib-svr4.c source.c stabsread.c stack.c std-regs.c symfile.c \
symmisc.c symtab.c target.c thread.c top.c tracepoint.c \
trad-frame.c typeprint.c ui-file.c ui-out.c utils.c valarith.c \
- valops.c valprint.c values.c varobj.c version.c wrapper.c
+ valops.c valprint.c values.c varobj.c wrapper.c ${GENSRCS}
+
+CLEANFILES+= ${GENSRCS}
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
CFLAGS+= -DCROSS_COMPILE=1
.endif
-CFLAGS+= -I. -I${.CURDIR}
-CFLAGS+= -I${BINUTILSDIR}/include
+CFLAGS+= -I.
+CFLAGS+= -I${.CURDIR}
+CFLAGS+= -I${CNTRB_BINUTILS}/bfd
+CFLAGS+= -I${CNTRB_BINUTILS}/include
+CFLAGS+= -I${CNTRB_GDB}/gdb
+CFLAGS+= -I${CNTRB_GDB}/gdb/config
+CFLAGS+= -I${CNTRB_GDB}/include
+CFLAGS+= -I${GNUBIN_BINUTILS}/libbfd/${TARGET_ARCH}
nm.h:
echo '#include "${TARGET_ARCH}/nm-fbsd.h"' > ${.TARGET}
@@ -55,11 +65,11 @@
echo '#include "${TARGET_ARCH}/xm-${TARGET_ARCH}.h"' > ${.TARGET}
version.c:
- @echo '#include "version.h"' > ${.TARGET}
- @echo 'const char version[] = "${VERSION}"' >> ${.TARGET}
- @echo 'const char host_name[] = "${MACHINE_ARCH}-intree-freebsd";' \
+ echo '#include "version.h"' > ${.TARGET}
+ echo 'const char version[] = "${VERSION}"' >> ${.TARGET}
+ echo 'const char host_name[] = "${MACHINE_ARCH}-intree-freebsd";' \
+ >> ${.TARGET}
+ echo 'const char target_name[] = "${TARGET_ARCH}-intree-freebsd";' \
>> ${.TARGET}
- @echo 'const char target_name[] = "${TARGET_ARCH}-intree-freebsd";' \
- >>${.TARGET}
.include <bsd.prog.mk>
==== //depot/projects/gdb/gnu/usr.bin/gdb/gdb/config.h#2 (text+ko) ====
@@ -400,7 +400,7 @@
#define HAVE_TERMIOS_H 1
/* Define if you have the <thread_db.h> header file. */
-/* #undef HAVE_THREAD_DB_H */
+#define HAVE_THREAD_DB_H 1
/* Define if you have the <time.h> header file. */
#define HAVE_TIME_H 1
@@ -430,7 +430,7 @@
#define HAVE_LC_MESSAGES 1
/* Define to 1 if NLS is requested */
-#define ENABLE_NLS 1
+/* #undef ENABLE_NLS */
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
/* #undef HAVE_GETTEXT */
More information about the p4-projects
mailing list