Commit Graph

4669 Commits

Author SHA1 Message Date
matt
0ef98a7702 Make version 5.3nb1 2003-11-10 21:49:14 +00:00
matt
e2bf0dc236 Enable nbsd-thread.
Make version 5.3nb1.
2003-11-10 21:48:48 +00:00
mrg
0bcb648614 set the arm breakpoint depending on the byte order. now armeb gdb works. 2003-11-09 02:52:07 +00:00
ragge
587d7055bd Set optimizing to -O0 for vax (was -O1 before), otherwise awk
gets internal errors when used.
2003-11-08 17:17:59 +00:00
mrg
b6f7d4362f default armeb*netbsd* to ARM_FLAG_BIG_END 2003-11-08 06:57:26 +00:00
uwe
af9cced758 The "pref @rN" instruction was introduced in sh3, not sh4, so correct
its sh_opcode_info entry accordingly.
2003-11-07 14:43:18 +00:00
mrg
57ddb40e82 be sure to default to bfd_elf32_bigarm_vec not bfd_elf32_littlearm_vec 2003-11-07 07:31:44 +00:00
mrg
68002eaa4a build ra-colorize.c with -O0 until the bug that causes it to have dozens
of undefined references to local symbols is fixed.
2003-11-05 00:05:48 +00:00
hannken
83bd54e877 Add "target kcore" to gdb53/sparc64.
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.

Approved by: Christos Zoulas <christos@netbsd.org>
2003-11-04 19:33:39 +00:00
scw
437384a077 Regen for TARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END fix in config.gcc. 2003-11-04 14:46:59 +00:00
scw
2a38410f5e Need to add TARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END to tm_defines if
configuring for armeb.
2003-11-04 14:45:16 +00:00
wiz
9678ca7caa Install grohtml(1). 2003-11-03 17:05:28 +00:00
skrll
c1946cebd4 Index fpregsetp->fpr correctly. 2003-11-03 15:59:11 +00:00
ragge
3a99ca5371 Set USER_LABEL_PREFIX to "", otherwise native compilation of some GNU
utilities (like texinfo) fails.
2003-11-03 10:07:34 +00:00
hannken
3f72313b8e Add "target kcore" to gdb53/sparc.
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.

Approved by: Christos Zoulas <zoulas@netbsd.org>
2003-11-02 20:59:28 +00:00
uwe
1d729d7bc4 First cut at implementing software single stepping for sh3. We need
it because sh3 ports don't provide PT_STEP.  It is finally possible to
run programs under gdb now, though there are still issues to be
resolved.  It was deemed useful enough to commit early, while the work
is still in progress.  Tested on hpcsh.

Blessed by christos@.
2003-10-31 00:11:27 +00:00
mycroft
b9c785bd44 As seen on tech-toolchain:
So the problem is thus:

* The {u,}mulsidi3 generate two parallel sets which modify the upper and lower
halves of the target register.

* life_analysis() does not track subregister modifications -- if you don't
modify the whole register with a single set, it considers the register
unused.

The simple, if klugy, solution to this is to stick an explicit clobber in.  It
seems to work.

While doing this, I noticed that constant folding was not happening for
32x32->64 multiplies.  This is because the parallel set generated by
{u,}mulsidi3 cannot be folded at all.  To solve this, I first expand to a
normal multiply, and then use a define_insn_and_split to convert it to the
parallel set after CSE and constant folding.

This patch has also been submitted to GCC bugzilla, but who knows if I'll get
a reply to that.
2003-10-29 21:25:03 +00:00
matt
f22eb2930b From gcc-patches:
* real.c (encode_ieee_single): Ensure proper promotion.
Back out change to i386.c
2003-10-28 19:08:12 +00:00
mrg
00b48119d0 XXX: build mdsetimage.c / installboot/ffs.c with -O0 on sun2 as GCC3
barfs on these for now.
2003-10-28 08:21:26 +00:00
lukem
b43426c867 Move the rule to disable .cc -> NULL transforms, so it works again. 2003-10-28 08:13:39 +00:00
lukem
b947f38eae don't need .cc->NULL rule here 2003-10-28 08:12:32 +00:00
lukem
5966f94e07 Move the rule to disable .cc -> NULL transforms, so it works again.
Fixes "includes" when exception.cc is newer than inc/exception.
Noted in private mail by Havard Eidnes.
2003-10-28 07:38:57 +00:00
lukem
ad700b72aa replace $(SHELL) with ${HOST_SH} 2003-10-28 02:51:56 +00:00
uwe
375b04dc77 Default to the little-endian bfd_elf32_shlnbsd_vec. 2003-10-28 01:58:23 +00:00
mrg
45e224e8d4 fix a typo in previous pointed out by lukem 2003-10-28 01:25:33 +00:00
mrg
e2c8806fcf compile (but not run-time) tested sh3eb-netbsdelf-gdb support. 2003-10-28 01:21:37 +00:00
uwe
398db2f8fd Item 1 - mention that you can configure and build in a scratch
directory, thus saving the trouble of doing distclean and cvs update.

Item 4 - it's defs.mk, not defs.h.

New bullet - in defs.mk set G_BFD_CPPFLAGS from `tdefaults' variable
of the generated bfd/Makefile.
2003-10-28 01:12:11 +00:00
mrg
d103a27279 compile-tested sun2 support for GDB 5.3. 2003-10-27 23:56:55 +00:00
mrg
1b3f9cdd10 revert previous 2003-10-27 23:56:14 +00:00
mrg
f8fa4ee590 sun2 lib*3 for GCC3. 2003-10-27 17:19:58 +00:00
mrg
42f41e65c7 mostly working configuration updates for sun2.
XXX - gcc3/backend/ra-colorize.c gets built wrong and the backend programs
XXX   fail to link.
XXX - mdsetimage & installboot/ffs.c get an unrecogised instruction ICE.
2003-10-27 16:55:32 +00:00
mrg
a4697adcfc change "cc -dumpversion" back to "3.3.2", as per old behaviour.
should fix PR#23280.
2003-10-27 16:43:29 +00:00
mrg
2a50c63fdf change the "long" version from "3.3.2-nb1" to "3.3.2 (NetBSD nb1 20031026)"
which is more inline with what we used previously.
2003-10-27 16:42:33 +00:00
mrg
2f6aa47ade compile (but not runtime) tested support for armeb-netbsdelf-gdb 5.3 2003-10-27 16:36:19 +00:00
thorpej
75516c03f7 When running mkfixinc.sh, explicltly export SHELL, as well, since on
some platforms (e.g. OS X), we disable exporting make(1) variables in
the environment due to ARG_MAX limitations.
2003-10-27 16:20:04 +00:00
hannken
0165bf4148 Make it compile again. Blind copy-and-paste from sparc64nbsd-nat.c.
Approved by: Christos Zoulas <christos@netbsd.org>
2003-10-27 14:10:54 +00:00
mrg
8d8c032590 add armeb-netbsdelf GCC3 support. (not tested) 2003-10-27 01:37:08 +00:00
wiz
51677832e7 Close parentheses. 2003-10-27 00:57:04 +00:00
cl
44f9690b65 g/c unused variables 2003-10-27 00:41:09 +00:00
lukem
171d653219 Overhaul how `build.sh tools' are used:
*	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
    	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
    	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
christos
94920a3392 Add the declarations in init.c too (mentioned by Christian Limpach) 2003-10-26 17:49:24 +00:00
christos
34e2db4a3c Make this link and work again (from Christian Limpach) 2003-10-26 17:45:13 +00:00
christos
f9f34b91b1 Add a guide on how to add new NetBSD platform support to gdb. Requested by
mrg.
2003-10-26 17:18:04 +00:00
mrg
ce063d020a fix a bad merge: s/ifdef/ifndef/. fixes PR#23275 2003-10-26 09:45:44 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
lukem
857ab1bdd0 use ${HOST_SH} instead of /bin/sh 2003-10-26 03:50:07 +00:00
lukem
414f1003f0 don't need to set SHELL=/bin/sh 2003-10-26 03:49:39 +00:00
matt
1bafa7eae6 Fix LP64 bug. 2003-10-26 01:32:22 +00:00
chs
9bbee945e7 fix cross-building from linux. this is rev. 1.23 from groff CVS
(with the definition of SHELL added back).
2003-10-26 00:39:23 +00:00
simonb
969d07f64f * mips-tdep.c (mips_addr_bits_remove): Don't shift by 32
From Ian Taylor.
2003-10-26 00:08:23 +00:00
matt
4be480cd15 Fix 64LPism. Use 1L instead of 1 so that sign extension doesn't happen on
bit 31.
2003-10-25 21:55:37 +00:00
matt
6e23d936ae More fixes. 2003-10-25 19:02:07 +00:00
matt
91f24c5034 Try dealing with sigtramps better. 2003-10-25 19:01:45 +00:00
matt
7819efde3c GDB 5.3 support for VAX 2003-10-25 18:26:07 +00:00
matt
17aa9b0c9b Use gregset_t/fpregset_t since that's what is really wanted. 2003-10-25 18:25:42 +00:00
matt
1b7561a047 Add VAX GDB 5.3 support. 2003-10-25 18:24:58 +00:00
matt
3e45a9f0c7 Fix library order so that -static will work. 2003-10-25 18:24:23 +00:00
cl
54641460eb make m68k/gdb53 compile as a crossgdb
- catch up tm-nbsd.h with gnu/usr.bin/gdb53/arch/m68k/tm.h
- only use nbsd-thread.o in m68k nbsd-host case
2003-10-25 16:20:58 +00:00
dmcmahill
a2cc19e091 avoid trying to do "for f in ; do ..." which breaks while crosscompiling
on certain non-netbsd host.  Approved by Matthew Green, mrg at netbsd.
2003-10-25 02:42:00 +00:00
he
31cd1c23b7 More fallout from the NULL change:
If we HAVE_STRING_H, include it to bring strchr() prototype in scope.
2003-10-23 16:12:45 +00:00
seb
e8b3aed4d7 Update version reported by gcc -dumpversion: it is now `3.3.2-nb1'
not `3.3.1' as before and neither `3.3.2'.

Approved by mrg@.
2003-10-23 09:59:25 +00:00
matt
b8b1ccbdfd If host is x86-*-netbsd*, don't descend into gcc, gdb, and rcs 2003-10-23 02:58:49 +00:00
skrll
899032e619 Consistent naming. 2003-10-22 20:43:12 +00:00
lukem
5f259b477b add MAKEVERBOSE messages 2003-10-22 06:04:03 +00:00
lukem
f6ed8b6422 add MAKEVERBOSE message 2003-10-22 05:58:31 +00:00
skrll
a69cb4cc55 ARM thread support.
- add or expose {supply,fill}_{fp,g}regset functions
	- add lwpid to ptrace calls
2003-10-21 19:07:36 +00:00
skrll
ee632a37d0 more NULL fallout. 2003-10-21 10:47:48 +00:00
lukem
130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
wiz
c8a5e4585e Enable HAVE_MKTIME manually; the configure script fails since it
checks a weird corner case.
Should fix building platforms without shared libs.
Requested by Chuck Silvers.
2003-10-20 17:07:38 +00:00
lukem
0aa1a4cb76 revert previous; the items are in tmac.local 2003-10-20 05:26:20 +00:00
lukem
3fc127cd66 Support MAKEVERBOSE
Use ${HOST_SH}
Use BUILDSYMLINKS
2003-10-20 01:15:03 +00:00
lukem
46948f220d * Support MAKEVERBOSE
* Implement GROFFYSRCS, which contain a list of .y files to convert into
  .cpp and _tab.h.  Simplifies .y -> .cpp (et al) .
* Use "realall" target instead of "dependall"/"install" to ensure that
  various files are created correctly.
2003-10-20 00:54:36 +00:00
lukem
9d55f70359 support MAKEVERBOSE 2003-10-20 00:40:53 +00:00
cl
b56d9ca137 add {supply,fill}_{fp,g}regset functions
remove nbsd_{fp,}reg_to_internal and nbsd_internal_to_{fp,}reg functions
add lwpid to ptrace calls
2003-10-19 20:11:22 +00:00
jdolecek
47740ad0ef make crc16_table[] static const 2003-10-19 19:30:08 +00:00
lukem
d4a55392c2 Support MAKEVERBOSE.
Use BUILDSYMLINKS instead of home-grown equivalents.
2003-10-19 14:52:03 +00:00
wiz
5e43ad3add Add 1.4.1 and 1.6.2. 2003-10-19 08:58:52 +00:00
wiz
ec09eb497f New sentence, new line. 2003-10-19 08:54:20 +00:00
wiz
8034863446 Add RCS Id. 2003-10-19 08:54:13 +00:00
lukem
e08f429064 Add definitions for NetBSD versions:
1.4.1  1.4.2  1.5.1  1.5.2  1.5.3  1.6.1  1.6.2  2.0
2003-10-19 06:20:20 +00:00
matt
8d6789fc05 Add ncdcs utility (for ibmnws port). Calculates and writes the NCD checksum
used in kernel files.  Only built for ibmnws port.
2003-10-19 03:34:59 +00:00
matt
e1c37edb37 Skip build of {postfix,sendmail} if MK{POSTFIX,SENDMAIL} == no, respectively.
(XXX NO_SENDMAIL= must eventually).
2003-10-18 23:46:26 +00:00
matt
8df2ba29a1 Skip build of {binutils,cvs,gcc compilers,gdb} if
MK{BINUTILS,CVS,GCCCMDS,GDB} == no, respectively
2003-10-18 23:44:46 +00:00
matt
b746f8a878 Allow UUCP to not be build when MKUUCP=no 2003-10-18 23:42:31 +00:00
mrg
459d14eddf change the version string to 3.3.2-nb1 so that gcc.c likes it. 2003-10-18 14:47:01 +00:00
mrg
8b9e2c6e0a - call this version "3.3.2nb1" (while some of our changes to 3.3.1 were
in 3.3.2, many were not.)
- use our bug reporting address, not GCC's.
2003-10-18 13:15:05 +00:00
mrg
9376f2c5fa merge gcc 3.3.2 2003-10-18 11:54:13 +00:00
mrg
eaf2241a0a initial import of GCC 3.3.2. this is a bug-fix release that fixes dozens
of bugs in both MI and many NetBSD MD parts.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.2 for more details.
2003-10-18 11:13:12 +00:00
mrg
cd84f3bd94 initial import of GCC 3.3.2. this is a bug-fix release that fixes dozens
of bugs in both MI and many NetBSD MD parts.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.2 for more details.
2003-10-18 11:03:09 +00:00
lukem
cdcb0412a1 Disable make_html and make_install_html; they depend upon pnm tools
which may not exist, and we don't need them as a host tool.

Don't attempt to rebuild gnu.eps & gnu.png from gnu.xpm because of
timestamp skew.
2003-10-18 03:01:52 +00:00
nathanw
db40e00241 Implement regset routines.
Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
2003-10-18 00:27:13 +00:00
nathanw
614f188f9d nbsd_reg_to_internal() and friends are obsolete. 2003-10-18 00:14:09 +00:00
nathanw
37337ad2db Pass the LWP of the ptid in PT_{GET,SET}REGS calls. 2003-10-18 00:13:35 +00:00
nathanw
fef0da346a Revert a local change that nbsd-thread.c now handles. 2003-10-18 00:11:51 +00:00
nathanw
804ad776be Pile of cleanups and improvements, including:
* Use {fill,supply}_{g,fp}regset() routines instead of homegrown
   nbsd_internal_to_reg()/nbsd_reg_to_internal() routines; reduces
   local changes to *-nat files.

 * Use the ptrace(PT_LWPINFO) call to find the set of LWPs in a
   process and map them to threads, and to identify the target of a
   signal event.

 * Consistency sweep on ptid-manipulating macros.

 * More modern GDB integration and removal of redundant functions.
2003-10-18 00:08:14 +00:00
matt
9d4b91ab87 Keep the unsigned, just add HOST_WIDE_INT. 2003-10-16 22:08:01 +00:00
matt
6bcdd1cd1e Cast using HOST_WIDE_INT, not unsigned. 2003-10-16 22:02:25 +00:00
tron
00c8e095d9 Add "cs-tconfig.h" to "CLEANFILES". 2003-10-16 06:15:20 +00:00
lukem
56528942aa "anti-timestamp-skew" fixes for gengtype-yacc.c and gengtype-lex.c 2003-10-16 04:35:17 +00:00
lukem
9da74b23ca Don't auto-frob .y or .l files. 2003-10-16 03:33:28 +00:00
fvdl
9558d5998a Add NetBSD kcore support. 2003-10-14 22:59:59 +00:00
fvdl
22cd769ea5 Set some better defaults for OSABI_UNKNOWN, and add NetBSD kcore support. 2003-10-14 22:58:38 +00:00
wiz
a41ff7dabc Sync with groff repo:
-j and objdir builds here should now finally work both.
Based on a patch from Chuck Silvers.
2003-10-14 07:49:24 +00:00
fvdl
e67583ab9d NetBSD support for the x86_64 target. 2003-10-14 02:02:17 +00:00
hubertf
83f7cd41fd Prevent funny output when giving a directory name on the command line.
Before:
	$ dc ..
	miyu% dc ..
	dc: 02 unimplemented
	dc: 0 unimplemented
	dc: 0 unimplemented
	dc: input base must be a number between 2 and 16 (inclusive)
	dc: stack empty
	dc: stack empty
	dc: 'h' (0150) unimplemented
	dc: stack empty
	dc: 'u' (0165) unimplemented
	...
	** get heart attack suspecting major FS corruption **

After:
	$ dc ..
	Cannot use directory as input!
2003-10-13 21:52:40 +00:00
skrll
fd905830f3 Don't pull in libgcc_pic.a for -shared - it was added as a workaround for
gcc 2.95.3. Removing this fixes EH for gcc 3.3 by using the .eh.section
support in libcrt{begin,end}

Closes PR 22673.
2003-10-13 13:19:41 +00:00
chs
8868d13163 bring over the rest of the IN_SIGTRAMP() hack from the old gdb so that
gdb builds on the sun3.  jason sez "check that in, for now".
2003-10-12 01:05:36 +00:00
enami
de00b9ee01 Serialize the build of backend and frontend, since the latter requires
header files created during the former is built.
2003-10-11 05:16:18 +00:00
matt
046e9000ba Make etime_.* and dtime_.* explicitly depend on the libU77 version.
Include *.d so that when make depend emit the dependencies, it picks up
the right file and so that the right file is used when making the objects.
2003-10-10 23:34:20 +00:00
lukem
d47cc49cff Add rules to prevent c-parse.c and objc-parse.c from being rebuilt if the
respective .y file has a newer timestamp (usually due to cvs checkout issues);
the code isn't .OBJDIR friendly, and it's unnecessary in our build envrionment.
2003-10-10 15:25:17 +00:00
lukem
83590dd4eb Change method used to disable ``maintainer-mode'' style rules to one
that is more "[cvs] diff" friendly.
Method suggested by Chris Demetriou on source-changes@ on July 25.
2003-10-10 15:14:16 +00:00
matt
1a3bbf394a Override TARGET_DEFAULTS to include MASK_STRICT_ALIGN (for IBM403).
It still includes (MASK_POWERPC | MASK_NEW_MNEMONICS) as well.
Change STACK_BOUNDARY to 128 to make Altivec'ed code easier to deal with.
2003-10-10 01:58:55 +00:00
christos
77b4aabadd Avoid re-entry in the cleanup signal handlers. 2003-10-09 13:43:00 +00:00
matt
926373d2c9 Turn on HAVE_GAS_HIDDEN. 2003-10-07 02:19:18 +00:00
matt
9fbbfac1b2 Pull in ld_vers / ld_date methods from gcc-current. (avoid GNU sed'isms).
This allows configure to correctly determine that gas supports .hidden.
2003-10-07 02:13:49 +00:00
veego
982d95a75b Fix part 3 of toolchain/23067 while adding a depend target to the
dependall and all targets which build libiberty.
Fix from mrg.
2003-10-06 21:40:32 +00:00
veego
fd5c6da435 Fix part 1 of toolchain/23067 by removing the -nostdinc++, which will be
added if $DESTDIR is set by the bsd.dep.mk and bsd.prog.mk magic, but caused
problems while not using build.sh.
2003-10-06 21:36:59 +00:00
wiz
da70036ee9 Obsoleted by the update to 3.1.3 (moved to missing_d dir). 2003-10-06 18:27:45 +00:00
wiz
2a3e31828e Add gawk2netbsd, a script to prepare gawk distributions for imports. 2003-10-06 16:55:22 +00:00
wiz
d6fe0c8983 Update for 3.1.3. 2003-10-06 16:50:39 +00:00
wiz
b3a85f1ea5 Actually, we need these files too -- add them. 2003-10-06 16:44:03 +00:00
wiz
1393b6699e Merge 3.1.3 to HEAD. 2003-10-06 16:33:57 +00:00
wiz
06c09073b3 Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:55:26 +00:00
wiz
b83f0ec829 Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:43:45 +00:00
wiz
1df948824f Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:41:38 +00:00
matt
39caecb211 Add in-tree toolchain support for HPPA. 2003-10-06 05:10:13 +00:00
martin
b82411d0b6 Ooops, added previous note to the wrong ChangeLog 2003-10-03 09:06:14 +00:00
tron
cc5dbcf926 Add dynamically generated sources to "CLEANFILES". 2003-10-01 09:39:50 +00:00
wiz
8d0f21a650 Fix regexo in previous. 2003-09-30 20:11:26 +00:00
wiz
084f5623b9 Prepend doc- to have the same names as the groff distribution
(stripped out by strip.sed during installation).
2003-09-30 20:10:14 +00:00
martin
feb5c96dad In the thread support functions only transfer those registers, that fit
into our struct fpreg64. This avoids gdb crashing due to smashed stack
when debugging threaded programs.
2003-09-29 17:47:26 +00:00
rearnsha
f539610cfa When allocating a common object, ALIGN is in bits, but common expects
bytes.  So divide by BITS_PER_UNIT.  Fixes over-allocation of
common objects and thus reduces the BSS by approx 75%.
2003-09-29 12:40:35 +00:00
martin
d1faf5f973 Make gcc default to the medlow code model. 2003-09-27 11:08:41 +00:00
mrg
1b9c8708c3 x86_64 libgcc3 support 2003-09-27 02:08:07 +00:00
skrll
679d775246 Fix for gcc 3.3.1 warning. 2003-09-26 20:02:44 +00:00
christos
f0925fbf15 Add -I${DIST} to pull the right readline header. 2003-09-26 20:01:28 +00:00
skrll
cb958e7b00 First cut at ARM support. Not tested. 2003-09-26 19:59:14 +00:00
skrll
c51a5a7eab .c->.o 2003-09-26 19:49:41 +00:00
skrll
76521c5eab Need to look in ${DIST}/bfd on ARM. 2003-09-26 19:45:48 +00:00
skrll
15b3a0696e Fix merge mistake so that we can compile. 2003-09-26 19:38:38 +00:00
jwise
869320cb24 NetBSD includes many manual pages. It does not, however, include a gpl(7),
a gfdl(7), or (particularly) an fsf-funding(7).

So don't cross-reference them.
2003-09-26 17:59:10 +00:00
christos
4f6b2d371c Switch gdb to use libedit for now. 2003-09-26 17:51:18 +00:00
christos
996d4c90a5 Cast to appease properly prototyped readline headers [ours]. 2003-09-26 17:38:35 +00:00
christos
15d85836fb Make TUI optional. 2003-09-26 17:37:56 +00:00
skrll
b9c8a77380 Backout previous - sparc* and i386 have switched to gdb 5.3. 2003-09-26 13:39:49 +00:00
tron
d7e742e438 Move inclusion of "Makefile.backend" a bit further up again to fix
build failures.
2003-09-26 06:55:48 +00:00
tron
1c9e757817 Include "Makefile.backend" at the end so that "CLEANFILES" definitions
are not ignored.
2003-09-26 06:53:30 +00:00
matt
3edfe4aa79 NetBSD doesn't use crtsavres.o 2003-09-25 22:08:52 +00:00
christos
ab4bd3a7b4 Build with setxid support. 2003-09-25 16:10:52 +00:00
christos
bf764b32d9 Add charles's SETXID_SUPPORT patches for setuid() runs. 2003-09-25 16:10:14 +00:00
matt
ca2905b022 GDB 5.3 support for Alpha 2003-09-24 06:16:48 +00:00
matt
42dcffbb67 Remove static from a function declaration. 2003-09-24 06:14:29 +00:00
matt
d5d2eec8df Fix GCC 3.3.1 nit. 2003-09-24 06:13:53 +00:00
matt
5c0acc44d6 Merge back kcore support. 2003-09-24 02:49:29 +00:00
matt
be53bdf66a Regen some powerpc files. Disable sim for now. 2003-09-24 02:36:10 +00:00
uwe
f632d9218f #undef WITH_SIM 2003-09-24 00:08:28 +00:00
matt
6d47c4ba87 Fix a char comparision to be more unsigned friendly. 2003-09-23 23:12:25 +00:00
matt
be717f0864 Add GDB 5.3 powerpc bits. 2003-09-23 23:11:39 +00:00
cl
9e04ef6840 add m68k--netbsdelf bootstrap support 2003-09-23 20:27:44 +00:00
matt
5cfd7f2268 Fix various GCC3.3.1 nits 2003-09-23 18:53:03 +00:00
matt
c9f03a720f Redefine WCHAR/WINT defines since rs6000/svr4.h redefined them wrongly for
NetBSD.
2003-09-23 18:52:15 +00:00
matt
e426fdd061 Move #include to the beginning-of-line so -traditional-cpp can find it. 2003-09-23 14:46:05 +00:00
cl
0af731d2e2 enable pthread debugging 2003-09-23 13:32:52 +00:00
cl
caadee30ed enable target kcore 2003-09-23 13:10:32 +00:00
matt
f47a587ee6 Redo/fix gcc3 files for PowerPC. 2003-09-23 09:06:33 +00:00
matt
5d47b7eb8c Add a .PATH dependency on the target's gcc config directory. 2003-09-23 09:04:40 +00:00
matt
65f3d076cb Regenerated powerpc--netbsd files. 2003-09-23 07:31:54 +00:00
cl
4f2222cf82 make gdb53 work on m68k
- fix elf core register access
- add elf abi detection
2003-09-23 01:52:41 +00:00
cl
b60a501123 remove double initialize_corelow 2003-09-23 01:11:48 +00:00
cl
b8a8531844 get sys/signal.h included before machine/frame.h includes m68k/signal.h 2003-09-22 21:42:46 +00:00
atatat
32984bfff2 Don't install libsm. Instead, pull a couple of things over into
libmilter.
2003-09-22 12:54:46 +00:00
uwe
3a95f86179 Add missing #include "sh-tdep.h" for *_REGNUM defines.
This is what other foonbsd-nat.c files do.
2003-09-21 21:28:40 +00:00
uwe
df0d1f49b1 sh3el support for gdb-5.3. Bootstrapped on hpcsh. 2003-09-21 21:14:49 +00:00
christos
5deb330b87 add kcore init function. 2003-09-20 06:22:31 +00:00
mrg
f4fc0bf370 make i386 & sparc* output DBX_DEBUG format ("-gstabs") by default for now.
XXX: back this out when these platforms switch to GDB 5.3.
2003-09-19 08:43:12 +00:00
mrg
f9975d193b add a HAVE_GDB53 switch. defaults to no one yet. 2003-09-18 23:17:55 +00:00
tron
71261af8cc Bump version number after parse8.359.2.8 patch has been applied. 2003-09-17 20:23:00 +00:00
itojun
4d7e624b6d fix prescan() bug (potentially remotely exploitable), CAN-2003-0694 2003-09-17 14:16:22 +00:00
martin
5da3a222b2 Add thread support (XXX - not realy functional yet) 2003-09-15 18:53:43 +00:00
martin
0559625ad0 Thread support for sparc (thanks to Ian L. Taylor for hints). 2003-09-15 18:05:24 +00:00
christos
11c91fb018 Add casts so that we can compile with both the readline headers and ours.
Of course we cannot link using our libedit yet.
2003-09-14 22:16:48 +00:00
fvdl
283f565a54 Add missing libiberty glue for x86_64 previously missed. 2003-09-14 18:41:56 +00:00
martin
d911902f25 init.c changes from i386 and add coresponding *.o files. 2003-09-14 10:15:47 +00:00
martin
f991b22fae init.c changes from i386 and add the coresponding *.o files. 2003-09-14 10:14:20 +00:00
martin
6e85ed96e0 Disable lint. 2003-09-14 09:50:15 +00:00
martin
bf5058e6c1 Backout previos (no comment on this code).
XXX - someone should fix our libedit for the few hooks needed by gdb5.3
and we should get rid of this.
2003-09-14 08:54:40 +00:00
cl
7820cb5d26 remove xm.h 2003-09-13 20:02:29 +00:00
cl
b4f47506dc Add m68k support. 2003-09-13 19:45:15 +00:00
cl
38663d008f make it compile 2003-09-13 19:37:20 +00:00
martin
b3c755cb9c Bring in two lines from readline-4.3. Not all chars are signed. 2003-09-12 22:36:38 +00:00
martin
d6526e7e34 Add support for sparc. 2003-09-12 20:27:53 +00:00
fvdl
e794494dd2 Fix the alignment code generated for the 64bit case.
This fix was fed back to the FSF and appears in later binutils versions.
2003-09-12 19:51:19 +00:00
simonb
a76e5579f8 Add mipseb and mipsel gdb53 support files. 2003-09-12 06:42:29 +00:00
simonb
19f997418f Match "mips*-*-netbsd*" instead of just "mips-*-openbsd*" on NetBSD
to pick up the right core file definition for both endiannesses.
2003-09-11 04:55:03 +00:00
simonb
1779f6eb88 Get rid of the nbsde{b,l} targets and just use gdb_target=nbsd for
mips.
2003-09-10 22:39:24 +00:00
martin
29f773f184 Add ChangeLog entry (from gcc-current) for recent sparc change. 2003-09-10 21:08:28 +00:00
wiz
36916a02d6 Fix problem with multiple issuers in references in a file, noted
by YAMAMOTO Takashi.  Patch from Werner Lemberg (will be in next
groff).
2003-09-10 13:57:46 +00:00
martin
f1870485d5 Avoid outputing illegal assembler code for shifts by constants out of
bounds. Gcc bugzilla ticket 11965; update previous patch to the final
version accepted by the gcc people.
2003-09-09 21:26:20 +00:00
wiz
05686e9c80 While we provide gettimeofday, it's only needed by texindex if
mkstemp is not found.  The configure test for gettimeofday is thus
only run in that case, which explains why HAVE_GETTIMEOFDAY was
not defined by default in the resulting config.h.  Since we don't
need gettimeofday, don't define HAVE_GETTIMEOFDAY manually to
simplify updates to this file.

Add RCS Id.
2003-09-09 12:55:10 +00:00
wiz
25b876c602 Remove hyphen-flags override; was only here for the
switchover phase, default is better.
2003-09-08 18:07:30 +00:00
wiz
51f064e734 Remove St -isoC9X aliases. 2003-09-08 17:55:22 +00:00
wiz
8a4bc21866 Remove St -xns5.2d2.0 -- unused now (inet(3) was only user). 2003-09-08 17:22:18 +00:00
wiz
38f443bb93 Remove local ENABLE_NLS patches which were added for smaller executable
size -- however, these binaries won't end up on bot floppies, so it's
not necessary, and less diffs to the original are better.
Ok'd by itojun.
2003-09-08 13:33:00 +00:00
fvdl
e8c1bb7ea8 Remove file generated by older version of mknative-gcc. 2003-09-08 00:26:59 +00:00
fvdl
297da77bcf Skip gcc and gdb for x86_64-*-netbsd* 2003-09-07 22:15:53 +00:00
fvdl
0135fe160a x86_64 gcc3 and binutils glue. Not yet used. 2003-09-07 21:24:53 +00:00
christos
290a9a3926 we are going to have sa_sigaction, when we get siginfo. 2003-09-06 09:43:34 +00:00
christos
65d230c880 Fix core handling, from Stephen Degler. 2003-09-06 09:41:52 +00:00
mrg
71889b67f5 make sure we build the unwind handlers with "-fexception". they were
supposed to, but the wrong variable was used as a base...

should fix PR#22673.
2003-09-05 09:54:30 +00:00
mrg
70ab3cd1bf make "sh64--netbsdelf" use 32 bit by default. per advice from thorpej. 2003-09-04 08:04:18 +00:00
mrg
57b205e71d in-tree toolchain support for sh5el. not really tested yet, but it
seems to mostly work..  libcurses.so fails to link with an out of memory
error i haven't looked at yet, and nothing has actually been run..

XXX: gdb53 missing.
2003-09-04 04:34:14 +00:00
mrg
cd7d35dbec install a "cccp" man page for now. 2003-09-04 04:19:08 +00:00
mrg
02fdaf3a7a backout rev 1.16 (wrong tree), and 1.17 and 1.18 trying to fix 1.16... 2003-09-04 04:17:01 +00:00
drochner
38b8690553 make the cpp.1 thing really work 2003-09-03 14:21:51 +00:00
drochner
ba1560352b make the cpp.1 thing work 2003-09-02 20:01:59 +00:00
mrg
1e69032f26 forgot these with:
introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-09-02 06:36:22 +00:00
mrg
6e28e939f1 don't install iostream.info anymore - it goes away with GCC3. 2003-09-02 05:26:43 +00:00
mrg
6ba749b625 install a "cccp" man page for now. 2003-09-02 05:23:06 +00:00
wiz
866f598bcb Fix a parallel-build problem reported by Chuck Silver with
the patch from the groff repository created by Werner Lemberg.
2003-09-01 17:15:34 +00:00
matt
9de4f868de Regenerated. 2003-08-31 19:45:25 +00:00
tls
be39aeba77 Fix .include to reflect move of this Makefile. 2003-08-29 03:54:46 +00:00
mrg
277fd0e642 build libfrtbegin 2003-08-29 01:57:04 +00:00
mrg
58aefb674b oops, move this to the right location 2003-08-29 01:00:49 +00:00
mrg
f4b7364d5d build libfrtbegin.a with GCC3.3 2003-08-29 00:53:22 +00:00
mrg
1a086c6b25 introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00
mrg
33eed2cc61 regenerate 2003-08-25 06:09:11 +00:00
martin
c3181b5741 Shifts with >= 32 bit used to generate illegal code for 64bit targets,
fix by using for example "sllx" instead of "sll" in this cases.
Submitted to the gcc maintainers as attachment to [Bug c/11965] in their
bugzilla.
2003-08-23 10:19:02 +00:00
mrg
bde3717628 regenerate. 2003-08-22 16:01:12 +00:00
mrg
74cfa6bb4b regenerate 2003-08-22 09:46:57 +00:00
kim
b7ab4147f6 Document the canonicalize_envelope_recipient variable. 2003-08-22 04:43:21 +00:00
kim
e75f2ec987 The functional part of the var_canon_env_rcpt patch had been
inadvertently left out during an update.
2003-08-22 04:25:26 +00:00
uwe
96538bcf9e * add ${GCCARCH} to .PATH to make hconfig.h a real file target.
* use ${G_HCONFIG_H} instead of hconfig.h as a dependency.
* hconfig.h: auto-build.h dependency is bogus, remove.
* misc cleanup of ".c depends on .h" -> ".o depends on .h"
* options.h was missing from CLEANFILES.

With these changes running make in this directory doesn't do a
*complete* rebuild anymore.  Still not foolproof, because gen* host
tools do not overwrite generated files that are not changed, so we
really need to use stamp file style dependencies for those, like gcc
makefile does.

Ok by Matthew Green <mrg@netbsd>.
2003-08-22 03:06:32 +00:00
mrg
87e3390b36 build with GCC3 - string literals can't use literal new lines. 2003-08-22 02:59:50 +00:00
mrg
ee74cc4c6b find ppc-asm.h via "rs6000/ppc-asm.h". 2003-08-22 02:46:17 +00:00
mrg
023ae3cdb4 regenerate 2003-08-22 02:45:22 +00:00
mrg
a827e79b49 patch from <sdegler@degler.net> to add /usr/include/g++/backward to the
default C++ include path so that one can find old headers without any
special help.  (using them still generates warnings though.)
2003-08-22 02:41:15 +00:00
mrg
22660a6384 add a patch from <sdegler@degler.net> to build .asm files by copying them
to .S files first.
2003-08-22 02:39:56 +00:00
itojun
379deb2b1a use %llu for unsigned long long printing; PR bin/22552 2003-08-20 13:58:08 +00:00
uwe
acd641f87d Add -I${BACKENDOBJ} to HOST_CPPFLAGS so that `fini' host program can
find auto-build.h.

Fixes PR/22497.
Ok by mrg@.
2003-08-19 01:13:25 +00:00
christos
eb60ee7b60 Do not install the libraries (from Stephen Degler) 2003-08-18 22:49:16 +00:00
christos
dfb81d79ab undo previous accidental commit. 2003-08-18 16:46:55 +00:00
martin
17e3c1d4f1 Add sparc64 support.
XXX - lint does not yet work - it undefines __GNUC__ and this breaks bfd.h.
2003-08-18 00:28:11 +00:00
martin
0fffc3d101 Move bfd.h to arch dependend directory - the generated bfd.h differs
slightly between 64bit and 32bit archs.
2003-08-18 00:25:23 +00:00
martin
8f6cdf024b Remove accidently commited (generated) files that "make distclean" fails
to remove.
2003-08-17 23:51:12 +00:00
christos
f399648bb7 forgot to add this one too. 2003-08-17 23:00:20 +00:00
christos
a550ab6960 forgot to commit this. 2003-08-17 22:54:56 +00:00
martin
f4d6f4dfb8 Rumors say there are archs where int != long. 2003-08-17 22:17:03 +00:00
christos
83a51582a8 try to commit again 2003-08-17 18:03:25 +00:00
christos
2e12e80a85 avoid PARAMS redefinition. 2003-08-16 21:57:20 +00:00
christos
1cfd40eacc remove generated files. 2003-08-16 21:56:36 +00:00