Commit Graph

2923 Commits

Author SHA1 Message Date
joerg
0f0fda1c10 Merge mdocml state from 2012-01-30 for various relaxed checks in the
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:08 +00:00
joerg
94561435e1 Merge mdocml state from 2012-01-30 for various relaxed checks in the
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:03 +00:00
joerg
a7dacf1e8f Bump libsqlite3 minor version for new functions in 3.7.10. 2012-01-29 23:29:00 +00:00
joerg
93dec1b659 Merge Sqlite 3.7.10. 2012-01-28 23:55:36 +00:00
joerg
99ea8c81b2 Update to sqlite 3.7.10:
- Default schema format changed to version 4
- Various bugfixes and improvements.
2012-01-28 23:50:28 +00:00
christos
a70b6cdd93 fix the link_set name. 2012-01-28 21:52:14 +00:00
joerg
48d38253ab Disable -Wconversion for clang. 2012-01-28 14:24:53 +00:00
joerg
dec45735b2 Merge r171807 from upstream:
exception_ptr.h needs the forward declaration because it's
included from <typeinfo> before <typeinfo> defines std::type_info.
2012-01-28 14:21:52 +00:00
uwe
6b9feef6d1 Pull in revision 1.4 from src/gnu/dist/gcc4/gcc/config/vax/elf.h:
Emit DWARF relocation in its expected form

PR toolchain/43314
2012-01-28 11:24:05 +00:00
para
e62ee4d475 extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)

releng@ acknowledged
2012-01-27 19:48:38 +00:00
dholland
de37c897b5 Add libquota, as requested by wiz 2012-01-25 22:22:20 +00:00
christos
669aa7297a make powerpc compile. 2012-01-25 19:24:21 +00:00
christos
da2b6379c3 hack to make sh3 build. 2012-01-25 17:01:02 +00:00
christos
7c79471a43 Deal with sh3 having no FPREGS and having 32 bit pointers and 64 bit CORE_ADDR.
Ugly.
2012-01-25 16:48:44 +00:00
christos
bf1e6562d5 fix this properly. 2012-01-25 16:25:28 +00:00
christos
3fb02d96a3 make thi 2012-01-25 16:21:22 +00:00
christos
525fde84b9 make gdb link again 2012-01-25 16:08:37 +00:00
roy
4f23fde8b3 Fix for IPv6 RS support. 2012-01-25 14:39:05 +00:00
roy
c59dcc5ba2 Sync 2012-01-25 14:34:31 +00:00
roy
35102f5b06 Import dhcpcd-5.5.0 with the following changes:
* Shell portability fixes, including proper printf usage.
* Detect a valid ntp.conf before adjusting it
* reboot timeout changed to 5 seconds
* When rebooting and not daemonized, reduce the discover timeout
  to allow for fallback or IPv4LL
* Respect each kernel carrier message
* Optimize some bitwise logic
* Don't remove interfaces for which commands have not been sent
* Store the assigned metric to each route so that we can change metrics on the fly
  dhcpcd -n --metric 100 iwi0
* Add SixRD support, RFC5969
* Fix SIP server support
* Only regen resolv.conf if it has changed
* Fix --reconfigure from spinning
* Add IPv6 Router Solicitation support we regards to RDNSS and DNSSL, RFC6016
2012-01-25 14:33:03 +00:00
christos
6dc91634bc remove error(1) junk. 2012-01-25 03:26:39 +00:00
christos
3010244ff3 Fix i386 2012-01-25 03:25:02 +00:00
dholland
d716fa09ba Remove stray file that appears to have come from the CVS distribution.
How it got here isn't entirely clear, but it's clear that it should go.
2012-01-24 22:40:20 +00:00
jmmv
a5f84fa6bf Pull up upstream revision db8568696ad5a100ab3f118ac1cde53ee61ccbc3:
Fix some XSLT/CSS bugs that leaked some internal tags into the HTML file.
This, together with some CSS inconsistency, supposedly prevented the
timestamp column from being right-aligned... although I have not been able
to reproduce it with neither Chrome nor Firefox.  That said, the changes
in here should fix this.

While doing this, also change the background color of the timestamp column
for test programs to improve the divider bar between test programs.

Based on patches and ideas from pgoyette@.  Should fix PR bin/45859.
2012-01-23 23:03:39 +00:00
martin
8d947a05b5 Use void* instead of pr{f,}pregset_t for now to make it compile. 2012-01-23 21:51:46 +00:00
christos
7a2aab3e0e add {fill,supply}_{g,fp}regset(), completely untested. 2012-01-23 21:28:40 +00:00
christos
b820deae47 add supply_{g,fp}regset() 2012-01-23 21:24:43 +00:00
skrll
5968222aaf Provide {supply,fill}_{g,fp}regset 2012-01-23 06:17:58 +00:00
joerg
dee7beafd2 Reflect reality, the LDAP man page is installed 2012-01-23 01:28:56 +00:00
skrll
4a46d474d5 Provide {supply,fill}_{g,fp}regset 2012-01-22 22:04:48 +00:00
skrll
564cf36b7d More cheating wrt mknative 2012-01-22 20:38:56 +00:00
skrll
8a6699ea43 Pass the lwp id as the 4th arg to ptrace. 2012-01-22 20:27:28 +00:00
skrll
a9e4bd60bf Cheat wrt to mknative and add nbsd-thread.o to all platforms. 2012-01-22 20:21:12 +00:00
macallan
ec64a915c7 set USE_INT10 and USE_PCIVGAIO on i386 and amd64 only 2012-01-22 18:27:28 +00:00
joerg
e8bec33be1 Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressions
again. This was changed in sys/socket.h r1.51 to work around fallout
from the IPv6 aux data migration. It broke the historic ABI on some
platforms. This commit restores compatibility for netbsd32 code on such
platforms and provides a template for future changes to the CMSG_*
alignment. Revert PCC/Clang workarounds in postfix and tmux.
2012-01-20 14:08:04 +00:00
joerg
bc061a2ff5 Make sure to link the MIPS assembler parser in. 2012-01-18 16:53:09 +00:00
joerg
e45edbfd7a Regen 2012-01-17 15:53:24 +00:00
joerg
e39ef1d61e Update LLVM/Clang snapshot to r148262 for some bugfixes. 2012-01-17 15:51:55 +00:00
jmmv
5436766ad5 Update reachover build files and scripts to deal with the just-imported
atf 0.15.
2012-01-16 22:42:40 +00:00
jmmv
36b886fe83 Resolve conflicts after the import of atf 0.15. 2012-01-16 22:41:30 +00:00
jmmv
a551a20f66 Import atf 0.15: the major goal of this import is to reconcile any local
changes to the atf codebase with upstream code.  All local changes should
have been backported, with appropriate portability workarounds where
necessary.

This new release also includes other changes though, such as performance
improvements and bug fixes, and also a major new feature partially
implemented by pgoyette@: the time to execute each test cases and test
program is now recorded and included in the output reports.

The import into NetBSD has been tested natively on amd64 and macppc, and
the full test suite has also been run through anita on amd64 and i386.
No regressions observed... but you never know.

From the NEWS file, the changes in this version are as follows:

Experimental version released on January 16th, 2012.

* Respect stdin in atf-check.  The previous release silenced stdin for any
  processes spawned by atf, not only test programs, which caused breakage
  in tests that pipe data through atf-check.

* Performance improvements to atf-sh.

* Enabled detection of unused parameters and variables in the code and
  fixed all warnings.

* Changed the behavior of "developer mode".  Compiler warnings are now
  enabled unconditionally regardless of whether we are in developer mode or
  not; developer mode is now only used to perform strict warning checks and
  to enable assertions.  Additionally, developer mode is now only
  automatically enabled when building from the repository, not for formal
  releases.

* Added new Autoconf M4 macros (ATF_ARG_WITH, ATF_CHECK_C and
  ATF_CHECK_CXX) to provide a consistent way of defining a --with-arg flag
  in configure scripts and detecting the presence of any of the ATF
  bindings.  Note that ATF_CHECK_SH was already introduced in 0.14, but it
  has now been modified to also honor --with-atf if instantiated.

* Added timing support to atf-run / atf-report.

* Added support for a 'require.memory' property, to specify the minimum
  amount of physical memory needed by the test case to yield valid results.

* PR bin/45690: Force an ISO-8859-1 encoding in the XML files generated by
  atf-report so that invalid data in the output of test cases does not
  mangle our report.
2012-01-16 22:36:30 +00:00
christos
201c7d20ac PR/45841: Henning Petersen: One sizeof is enough. 2012-01-16 17:34:18 +00:00
joerg
0cd0c897dd Update LLVM/Clang snapshot to r147888. Most importantly, this fixes a
number of ABI issues for i386 and provides the correct
__FLT_EVAL_METHOD__ when using i387.
2012-01-11 23:24:46 +00:00
plunky
898dfb38fa resolve merge conflicts 2012-01-11 20:46:47 +00:00
plunky
724a57ab74 update for pcc-20120105 2012-01-11 20:36:26 +00:00
plunky
954218c13a Update to pcc-20120105
The full changelog is at

 http://pcc.ludd.ltu.se/fisheye/changelog/~date=2012-01-05T06%3A00%3A00/pcc

notable improvements since 2011-09-01

- the previous version failed to compile an i386 kernel, this works
  (and the kernel boots though I would consider it experimental)
- MacOS X fixes
- misc documentation improvements
- improved regression tests
- some work has been done towards supporting C++
2012-01-11 20:32:32 +00:00
darran
9a00affba3 Fix a segfault in ctfmerge.
GCC can generate bogus dwarf attributes with DW_AT_byte_size set to 0xFFFFFFFF.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35998 .

GCC is currently doing this for external/bsd/tmux/dist/compat/imsg-buffer.c:
    readelf -a --debug-dump imsg-buffer.o
	...
	 <2><6e3>: Abbrev Number: 32 (DW_TAG_union_type)
	    <6e4>   DW_AT_byte_size   : 0xffffffff
	    <6e8>   DW_AT_decl_file   : 1
	    <6e9>   DW_AT_decl_line   : 229
	    <6ea>   DW_AT_sibling     : <0x705>

This resulted in ctfconvert generating a faulty CTF entry which then caused the
segfault in ctfmerge.

The fix has ctfconvert check for the bogus 0xFFFFFFFF value and works around it.
It also adds some protection to ctfmerge to avoid the segfault and fail
more gracefully if the error should occur in the future.
2012-01-10 08:42:22 +00:00
martin
853c5aadac When aggregate-allocating an index structure make sure to provide at least
natural alignement for pointers.
This makes firefox 3.6 work again on sparc64.
2012-01-09 11:20:20 +00:00
mrg
bf795abb8d - reorder the SUBDIR list to have correct .WAIT-based dependancies.
- fix the handling of subdir additional LIBDPLIBS so they're present
  when <bsd.lib.mk> is loaded.  fixes missing shlib links relative to
  what the normal package does.  (noted by wiz.)
2012-01-07 02:07:58 +00:00
joerg
3a4dc84ff4 Don't use dangling elses. 2012-01-06 15:16:02 +00:00
mhitch
2c13773a38 Add logical drive device ld - a number of raid controllers provide these.
Also fix a typo/pasto when checking devices against devices/types in the
configuration file:  use value from configuration, not the end of the
device_info table.  Devices which aren't explicitly specified in the
device_info table can now be used by adding a type entry in the config
file.
2012-01-04 16:37:45 +00:00
christos
020854a4e2 don't use %m in openpam_log, because it does not necessarily call syslog()
to process the message.
2012-01-03 18:56:49 +00:00
wrstuden
2f786af8b7 Tweak white space so I get my annual commit. 2012-01-01 01:19:20 +00:00
christos
ed5ecc934e Reverse the order of printf formatting to make it easier for compilers to
check printf arguments.
From joerg@
2011-12-28 14:53:38 +00:00
christos
f7d28ae6f9 don't allocate variable arrays on the stack for SSP (from joerg) 2011-12-27 20:29:08 +00:00
christos
a848253371 PR/45747: Henning Petersen: Fix icmp6 verbose printing. 2011-12-27 15:12:45 +00:00
njoly
5c047b9c03 Re-apply some lint comments that have been lost during move to
external tree.
2011-12-26 17:32:28 +00:00
christos
14a012c5ad lint and static module fixes 2011-12-25 23:18:56 +00:00
christos
1ae23164b0 apply our changes. 2011-12-25 22:27:55 +00:00
christos
44269bb5a3 from sourceforge
ENHANCE: removed static build autodetection, which didn't work anyway.
	 Use an explicit, user-specified preprocessor variable instead.
ENHANCE: cleaned up the documentation a bit.
ENHANCE: added openpam_subst(3), allowing certain PAM items to be embedded
	 in strings such as prompts. Apply it to the prompts used by
	 pam_get_user(3) and pam_get_authtok(3).
ENHANCE: added support for the user_prompt, authtok_prompt and
	 oldauthtok_prompt module options, which override the prompts passed
	 by the module to pam_set_user(3) and pam_get_authtok(3).
ENHANCE: rewrote the policy parser to support quoted option values.
ENHANCE: added pamtest(1), a tool for testing modules and policies.
ENHANCE: added code to check the ownership and permissions of a module before
	 loading it.
ENHANCE: added / improved input validation in many cases, including the policy
	 file and some function arguments.
2011-12-25 21:42:28 +00:00
christos
cc349219b4 PR/45739: Moritz Wilhelmy: top(1) segfaults on WINCH with unknown terminal 2011-12-24 22:29:48 +00:00
christos
7abb9aefee Don't use libpcap's bpf file, but use our own:
1. include <net/dlt.h> where needed since we have the information in a separate
   file.
2. #error in pcap/bpf.h to make sure it is not being used.
3. If we don't include <pcap/bpf.h> include <net/bpf.h> instead.
4. Install symlinks instead of copies of files.
2011-12-21 19:00:27 +00:00
christos
f0196baaf5 - make all the ifdefs match
- make it compile, and test
2011-12-19 22:25:45 +00:00
christos
84b663d32f Put back setitimer based code for the have-nots: (OS/X Lion) 2011-12-19 21:59:46 +00:00
joerg
68a438510c Update LLVM/Clang snapshot to r146851. Most noticable, this fixes the
vfork issues with RUMP depending on inlining certain functions and a bad
stdio simplification.
2011-12-19 14:07:40 +00:00
christos
b460fa25a2 fix killing code I just broke, and give program a chance to cleanup. 2011-12-19 03:16:05 +00:00
christos
7bfd5c4933 Don't use antiquated BSD API's that require global variable, use posix timers
instead.
2011-12-18 22:34:06 +00:00
njoly
e933eb3317 Lowercase arch strings, and add missing ones. 2011-12-18 13:40:08 +00:00
mlelstv
d07fe1b033 Apparently mknative didn't work right. Fix up losses. 2011-12-16 11:19:19 +00:00
mrg
7549abf063 mknative-gcc for sun2 and tls / new version fix. 2011-12-15 08:36:05 +00:00
mrg
fefbf74c02 make sure m68010-netbsdelf chooses the right unwinder. 2011-12-15 08:33:55 +00:00
mrg
633e66df05 regenerate mknative-gcc files for most platforms, post skrll@ fix
and joerg@'s enable tls change.

missing: m68010 (coming shortly) and m68k (breaks the build)

XXX: didn't test i re-merged the powerpc by-hand changes properly
2011-12-15 06:35:45 +00:00
agc
0c1bafa6f0 include inttypes.h to get the fixed size integer types - from Gregor Riepl 2011-12-14 07:20:31 +00:00
dholland
03f684ff54 We don't have 'Secure' RPC, and we aren't going to get it, so set
HasSecureRPC to NO rather than YES.
2011-12-13 04:32:32 +00:00
skrll
686829eb3c Revert last change to elf32-hppa.c and pull across the fix to my binutils
PR 13476.

tests/lib/libc/tls on hppa still passes with this change.
2011-12-12 07:40:56 +00:00
joerg
9613dd451b Update to LLVM/Clang r146325. This fixes a number of issues for i386. 2011-12-11 14:58:50 +00:00
tron
5939d9ebbc Remove ".gitignore" files which blacklist some files that actually are
in the NetBSD sources. This should fix build problems for people using
GIT to track current.

Problem reported by Evgeniy Ivanov on "current-users" mailing list.
2011-12-05 10:43:24 +00:00
macallan
4aeefed6a9 actually pass $COPTS to the compiler
ok mrg@
2011-12-02 22:28:47 +00:00
skrll
a273c995fc Pull across the fix for target/50691
ok'ed by mrg@
2011-12-02 09:44:48 +00:00
skrll
fd5c19ebdc Revert
http://sourceware.org/ml/binutils/2010-01/msg00594.html

which broken TLS relocations for DSOs - the relocation wasn't being
adjusted wrt the GP.

A proper fix is in the pipeline.
2011-12-02 09:40:18 +00:00
skrll
a058087d27 Provide some more registers. 2011-12-01 09:16:28 +00:00
tron
bb4b748000 Don't build postscreen(8) if "MKCRYPTO" is set to "no". It cannot be
built without TLS support, at least not without major surgery.
I've only tested this by building with "MKCRYPTO" set to "yes"
because the build fails much ealier otherwise.

Problem reported by Nick Hudson in private e-mail.
2011-11-28 16:22:14 +00:00
tsutsui
997e5ef587 Remove no longer necessary -Wno-error and set WARNS?=2 . 2011-11-27 00:50:37 +00:00
christos
324a1c22f5 Only set symbols not provided from the linker script as regular so
that we can find their version from verdef not vertree. This bug
showed up on the hp700 build of heimdal's libkrb5, where we got
the "end" symbol with a bad version from libhx509. The hp700 linker
script defines that end symbol.
2011-11-26 15:59:34 +00:00
skrll
28126bca61 Slight merge mistake. Now no difference to verndor branch. 2011-11-26 15:54:02 +00:00
roy
07c692851d sync 2011-11-24 00:37:40 +00:00
roy
02c18234cd Import openresolv-3.4.5 with the following changes since the last version:
* More printf portabitiy fixes.
* Use read -r to avoid backslash problems.
* If we have a valid domain, put that in resolv.conf as well as search.
  This does not fix a technical problem, just stops me getting bug reports.
* Update metric and privacy even if resolv.conf didn't change.
* sortlist is now supported.
* Ensure subscriber config directories exist before writing the configs
* Don't create pdnsd.conf if it doesn't exist or is not writeable.
2011-11-24 00:36:05 +00:00
matt
a52d311628 Add mips64*-netbsd* clauses 2011-11-23 19:41:50 +00:00
christos
070df59c8a - make decimal conversions use the maximum width integers available on the
architecture.
- make signed and unsigned code consistent.
2011-11-22 22:30:22 +00:00
christos
dd89f66f56 make this compile again. VOP_CLOSE is really vn_close() through macros. 2011-11-21 17:51:03 +00:00
christos
bde7230620 correct declaration of vn_close()
XXX: Should all those dup declarations be here?
2011-11-21 05:50:11 +00:00
christos
6a2b307489 close file in a way that it does not trigger an assertion :-)
now zpool create works again.
2011-11-21 00:24:24 +00:00
dholland
c8530f0b4f Add missing CLEANFILES+=x11perfcomp 2011-11-20 21:02:23 +00:00
christos
eb50a1b80e enough with the compile time warnings. 2011-11-20 02:54:25 +00:00
mlelstv
329d131575 Fix passing of floating point registers. 2011-11-19 13:00:38 +00:00
joerg
22f467edff Update LLVM/Clang snapshot to r144933. Besides the usual bugfixes and
improvements, this brings the first of the address sanity checker and
the new tainted variable logic for the analyzer.
2011-11-18 15:56:53 +00:00
joerg
549f044e13 Use __dead 2011-11-17 16:20:47 +00:00
enami
6c9e68ac64 Replace section number with actual one as we did in see also list. 2011-11-17 02:41:55 +00:00
mrg
fd03917f1a + 3218. [security] Cache lookup could return RRSIG data associated with
+                       nonexistent records, leading to an assertion
+                       failure. [RT #26590]

so that someone looking can tell more easily we've applied it.
2011-11-16 22:07:21 +00:00
christos
ee0f6a0fa2 PR/45619: jmmv: Allow atf tests to request a minimum amount of memory 2011-11-16 17:46:16 +00:00
christos
07c8bd2ff7 patch for: https://www.isc.org/software/bind/advisories/cve-2011-tbd 2011-11-16 17:28:10 +00:00
njoly
2eb2f19fbe Substitute __mapfilesdir__ in man page. 2011-11-11 22:27:33 +00:00
christos
e965f57700 enable unlock notify 2011-11-11 01:34:18 +00:00
chs
7411e1d619 include builtins.md in vax.md so that ffs is defined.
update for conditional branch changes in gcc.
2011-11-10 17:16:30 +00:00
christos
7b69fe6a2f PR/45595: bch: fix missing magic prefix 2011-11-10 13:41:00 +00:00
yamt
128f443a4a add a crude dependency on tm_p.h. build.sh -j128 fails for me without this. 2011-11-10 09:28:25 +00:00
tron
37141b1254 Resolve conflicts from last import. 2011-11-09 19:06:34 +00:00
tron
c3d89ca464 Import Postfix 2.8.7. Changes since version 2.8.6:
Postfix stable release 2.8.7 is available. This contains a workaround for
a problem that is fixed in Postfix 2.9.
- The postscreen daemon, which is not enabled by default, sent non-compliant
  SMTP responses (220- followed by 421) when it could not give a connection
  to a real smtpd process. These responses caused some remote SMTP clients
  to return mail as undeliverable.

  The workaround is to hang up after sending 220- without sending the
  421 "sorry" reply; this is harmless.
2011-11-09 18:58:43 +00:00
christos
cd021ecc4e need || instead of && 2011-11-09 14:42:42 +00:00
christos
d87651d3f4 Somehow emacs tries to unregister frame info for a symbol it did not register.
Don't abort for now. This worked before because the previous version of gcc
did not bother unregistering. Adding debugging printfs makes emacs core
dump, where other programs work fine.
2011-11-08 23:08:11 +00:00
joerg
2405db5059 Just because IPV6 support is disabled doesn't mean inet_ntop are not
present. Since the local prototype conflicts, use the system version.
2011-11-08 22:21:30 +00:00
christos
af2ef29d66 use writev(2) instead of dprintf(3) for portability. Suggested by joerg@ 2011-11-08 20:25:14 +00:00
joerg
7964dc0f2c Don't use constant macros in conditionals, use a #if check. 2011-11-08 16:45:43 +00:00
njoly
aa8703ce6a Adjust dependencies for alpha. 2011-11-07 23:21:32 +00:00
christos
70f088f0e1 don't truncate error messages to 1K. 2011-11-06 18:18:16 +00:00
tron
c461628ce9 Fix build with stack smash protection enabled. 2011-11-06 10:55:27 +00:00
christos
92f64477e8 Hook in tree 2011-11-05 22:40:26 +00:00
christos
f2a3d14797 make this work:
- split alloca stuff in a separate file
- fix size_t/int/long inconsistencies
- fix weak alias stuff
- make paths consistent
- fix config files
- use switch instead of if/then/elseif...
- fix Makefiles
2011-11-05 22:39:12 +00:00
cheusov
3e8537647d Fix segfault when read(2) returns -1 2011-11-05 00:17:19 +00:00
christos
09b48f4059 more dependencies needed for the other texinfo files. 2011-11-04 17:52:19 +00:00
joerg
fe2cc85884 Update LLVM/Clang snapshot to r143571 for the improved optimizer. 2011-11-03 17:52:53 +00:00
christos
f37cf30aee fix vax floating point overflows. 2011-11-02 23:19:48 +00:00
wiz
4165ef4b81 Use standard section names. 2011-11-02 20:26:03 +00:00
yamt
ed36af787f fix a function prototype 2011-11-02 16:45:00 +00:00
uwe
f3172edb09 sh_frame_cache always tries to read FPSCR. Since frame.c uses gdb
exceptions now, there's an unplesant side effect that when FPSCR is
unavailable, your last display will get disabled just in case, "to
avoid infinite recursion".  That happens directly in throw_exception,
so even catching that NOT_AVAILABLE_ERROR doesn't help.

Tweak the code a bit so that sh_analyze_prologue only reads FPSCR as
needed, when an FMOV instruction is encountered in the prologue.

XXX: I'm not sure if this is the right thing to do, but it seems
minimally intrusive.
2011-11-01 21:47:53 +00:00
uwe
f60e8996ed Hook back into sh-tdep.c infrastructure for handling registers and
discard old code brought over from gdb6.

Add regmap for FPU regs.  We don't support it now but it's irrelevant
here (though we effectively commit to using the same layout as Linux
and OpenBSD).

Define GDB_OSABI_NETBSD_CORE like sparc does to be forward compatible
with upstream.
2011-11-01 21:37:08 +00:00
uwe
cac1691902 elfcore_grok_netbsd_note: sync SuperH PT_GETREGS value with reality.
Recognize PT_GETFPREGS that we don't yet actually have, but for which
the number is now reserved.
2011-11-01 00:31:38 +00:00
uwe
b25f483145 Minor cosmetics to minimize diffs with vendor branch. 2011-10-31 23:30:27 +00:00
uwe
4ae94fd668 Since sh3 has got PT_STEP, nuke software single-stepping entirely. 2011-10-31 23:23:52 +00:00
uwe
4d93ce832f shnbsd_software_single_step: fix logic botch. Now that removal of
software single step breakpoints is handled by the caller we no longer
need to keep static next_pc around.
2011-10-31 23:10:16 +00:00
uwe
264117e445 struct reg has GBR since NetBSD 5, so bump up SHNBSD_SIZEOF_GREGS.
It would be nice to detect this dynamically, but gdb7 wouldn't work on
NetBSD 4 anyway.
2011-10-31 21:00:39 +00:00
christos
cb72177097 regen 2011-10-31 20:52:14 +00:00
uwe
10230b2353 get_netbsd_elfcore_note_type: sync SuperH PT_GETREGS value with
reality.  Recognize old PT___GETREGS40 (for struct __reg40 without
GBR).  Recognize PT_GETFPREGS that we don't yet actually have, but for
which the number is now reserved.
2011-10-31 19:12:48 +00:00
christos
f7e24ebe94 We need to allocate an inferior with our fake pid so that kernel core dumps
work.
2011-10-31 18:41:17 +00:00
christos
d5be487c28 enable kernel stack frames now that I have tested them. 2011-10-31 18:40:40 +00:00
mrg
c23dc553e9 obsolete now useless (and wrongly set to "219" :-) HAVE_BINUTILS.
switch the sense of the gdb and gcc tests to list the platforms not
switched to gcc 4.5 or gdb 7, which is now:

GCC 4.1:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_CPU}  == "arm"	|| \
    ${MACHINE_CPU}  == "m68k"	|| \
    ${MACHINE_CPU}  == "vax"

GDB 6:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_ARCH} == "hppa"	|| \
    ${MACHINE_CPU}  == "mips"	|| \
    ${MACHINE_CPU}  == "sh3"	|| \
    ${MACHINE_ARCH} == "vax"

let's go, people!  (-:
2011-10-31 08:14:43 +00:00
mrg
e65408a5af regenerate without sim support for now. (the rest isn't setup.)
mips64el can't debug n32 at all and n64 can't "run" any app.
2011-10-30 21:33:40 +00:00
mrg
21ce43ac51 makefile frontend to run gmp configure under nbmake-$MACHINE. 2011-10-30 01:50:32 +00:00
christos
cdaa6f2f55 add mips64el, the last one 2011-10-30 01:06:43 +00:00
mrg
891af21ee2 expand the POWERPC_LINUX checks to also apply to POWERPC_NETBSD. 2011-10-30 00:28:26 +00:00
mrg
6dc4203514 "regenerate" after fixing link-time issues. 2011-10-30 00:27:52 +00:00
christos
d0b4489282 a copy of the ppc one. 2011-10-30 00:15:24 +00:00
christos
da671615f0 add ppc64 and armeb 2011-10-30 00:14:18 +00:00
christos
891159770f psim on ppc64 needs libz 2011-10-30 00:11:28 +00:00
mrg
c9b7c8c664 add support for powerpc64-netbsd.
fix support for sh*-netbsd.
2011-10-29 23:42:45 +00:00
uwe
2e3791a6b1 shnbsd_get_next_pc: declare displacement as LONGEST and use
regcache_cooked_read_signed() to fetch displacement for braf/bsrf.
2011-10-29 21:18:28 +00:00
christos
f34aa33dec Make the mips softloat special case the same as in the libgcc Makefile. 2011-10-29 17:14:12 +00:00
mrg
d986b3bb4c make sure to use powerpc64/elf.m4, not powerpc32/elf.m4 here! 2011-10-29 11:42:09 +00:00
mrg
f54a3a20a7 regenerate binutils for powerpc64. 2011-10-29 11:05:45 +00:00
mrg
971b6107c6 remove the duplicated -mcall-netbsd.
adjust the __PIC__ definition to match common.opt.
2011-10-29 10:51:16 +00:00
mrg
2035f6bf12 mknative-gcc for powerpc64. 2011-10-29 09:21:31 +00:00
mrg
83554ca40d now that ppc64 sort of builds, i can generate at least gmp configury.
thanks christos!
2011-10-29 09:16:54 +00:00
christos
bfc91a38aa rename data() -> parse_data() to appease the powerpc64 toolchain:
{standard input}: Assembler messages:
{standard input}:105: Error: symbol `.data' is already defined
2011-10-28 14:00:20 +00:00
tron
a1f7ffadc0 Resolve conflicts from last import. 2011-10-28 07:12:17 +00:00
tron
1613d646d0 Import Postfix 2.8.6. Changes since version 2.8.5:
- The Postfix SMTP daemon sent "bare" newline characters instead of
  <CR><LF> when a header_checks REJECT pattern matched multi-line
  header. This bug was introduced with Postfix 1.1.
- The Postfix SMTP daemon sent "bare" newline characters instead of
  <CR><LF> when an smtpd_proxy_filter returned a multi-line
  response. This bug was introduced with Postfix 2.1.
- For compatibility with future EAI (email address
  internationalization) implementations, the Postfix MIME processor no
  longer enforces the strict_mime_encoding_domain check on unknown
  message subtypes such as message/global*. This check is disabled by
  default.
- The Postfix master daemon could report a panic error ("master_spawn:
  at process limit") after the process limit for some service was
  reduced with "postfix reload". This bug existed in all Postfix
  versions.
2011-10-28 07:08:57 +00:00
christos
d2f5c5ab00 Treat emips specially as we did with libgcc. Needs some of the softfloat
functions, even if it does not MKSOFTFLOAT.
XXX: still bad text relocations in eh_frame.
2011-10-28 02:28:01 +00:00
christos
9533da6ae4 regen powerpc64! 2011-10-27 20:18:54 +00:00
christos
ba6b4c93b2 add mips64eb 2011-10-26 00:14:12 +00:00
christos
7cf4600db1 add mc68000 2011-10-25 23:13:56 +00:00
christos
711bd7d5de Add all the missing HAS_ so that we get back login_cap functionality. 2011-10-25 16:56:23 +00:00
christos
712cd4af5b Add mipseb,mipsel,sh3el 2011-10-25 15:16:19 +00:00
christos
6fdc2528a1 make sh3 compile. 2011-10-24 23:58:01 +00:00
mrg
a0b9888bdf add nbsd-nat.o to NATDEPFILES. fixes gdb link issues.
normalise with sparc64 version.
2011-10-24 18:42:41 +00:00
christos
b1aac1fecf Add sparc and vax. 2011-10-24 16:12:23 +00:00
jmcneill
7bd854f074 hook xsetwallpaper into xorg build 2011-10-22 22:23:50 +00:00
jmcneill
1bccf4c76b add makefile for xsetwallpaper 2011-10-22 22:06:17 +00:00
jmcneill
dfe6df62e0 DPADD hw/xfree86/common 2011-10-22 14:40:41 +00:00
tron
84030af9c0 Fix build with stack smash protection enabled. 2011-10-22 10:41:50 +00:00
jmcneill
d16a4bed75 define ABS_VALUATOR_AXES and NO_MOUSE_MODULE 2011-10-19 23:07:34 +00:00
yamt
fb69e65229 make aggregate work for > 1 cpus 2011-10-19 11:03:52 +00:00
yamt
f34e2253c6 because our xcall stuff can't be used in softint, use kernel threads
for cleaner/deadman low-level cyclic replacement.  PR/44905
2011-10-19 11:02:08 +00:00
yamt
ad773a12d3 fbt_provide_module_cb: exclude some functions known unsafe to probe 2011-10-19 10:55:50 +00:00
chs
c310f94f3a when linking with "-shared" and "-shared-libgcc", also link against
the static libgcc.a after the shared libgcc_s.so.  this is needed
on hppa and sh to get the millicode, which is not in the shared version.
2011-10-17 14:27:10 +00:00
chs
02dd92991a do not build profiling versions of libgcc or libgcc_eh.
they are not used, and they don't build on arm with gcc 4.5.
2011-10-17 14:20:54 +00:00
joerg
397948e99a Don't rename xfree to xfree_readline, it breaks the build. 2011-10-17 13:08:51 +00:00
he
c51fd9ace7 Make this build statically also by linking with -lterminfo as well. 2011-10-16 21:31:15 +00:00
jym
a3113f57aa Document the MORE environment variable.
Noted by James K. Lowden <jklowden _at_ schemamania _dot_ org> in a
private mail.

Will submit upstream.
2011-10-16 21:02:31 +00:00
christos
ee52b40a07 make this compile again. 2011-10-16 19:45:47 +00:00
christos
6b70d9b294 add necessary headers for this to compile without warnings 2011-10-16 19:41:30 +00:00
christos
13bf21c56c make this compile. 2011-10-16 19:41:07 +00:00
joerg
f53c7cd4a3 Build with -DSQLITE_ENABLE_FTS3_PARENTHESIS 2011-10-16 17:24:50 +00:00
joerg
e8aa93a8ad -Wno-format-security is no longer needed with clang, now that libintl.h
is fixed.
2011-10-16 17:24:32 +00:00
christos
1a007818e3 simplify the bad extension code, by dsl. 2011-10-14 14:38:20 +00:00
joerg
ac86ba952c Hook up SQLite into the build 2011-10-13 22:08:16 +00:00
joerg
63250efa82 Add build glue for SQLite 2011-10-13 21:40:27 +00:00
joerg
5e537536a5 Import pre-release of SQLite 3.6.9 based on 8bf13b036a. 2011-10-13 21:37:19 +00:00
christos
dc0f26b327 fix core dump handling. In essence remove all the custom code that dealt with
it, and use the gdb standard code.
2011-10-13 21:11:57 +00:00
matt
fb19a9fd0f Regen. 2011-10-13 19:51:58 +00:00
plunky
f65a48c2ec max WARNS is 4 2011-10-13 17:23:28 +00:00
joerg
158f0bd157 Kill redundant () 2011-10-13 16:58:30 +00:00
christos
464319bdbd Deal with core file initialization. The code is till wrong: all the core_ops
are unused and adding the core target does not work.
2011-10-13 16:00:37 +00:00
wiz
6bc209b109 Remove trailing whitespace. 2011-10-12 22:50:31 +00:00
christos
5a7c3e577e renamed len -> i but did not fix it everywhere. 2011-10-12 19:48:24 +00:00
christos
70b3f8cd32 process files in /etc/cron.d/ 2011-10-12 16:39:48 +00:00
njoly
3a1b9a69ca define HAVE_STRPTIME needed for date parsing. 2011-10-12 15:33:38 +00:00
joerg
937673ea7b Revert incorrect last change and redo it in a way that doesn't violate
strict aliasing rules.
2011-10-12 14:11:25 +00:00
christos
90136e10d7 fix wrong cast. 2011-10-12 13:44:33 +00:00
mrg
2c45186ad3 fix the paths to libsim. 2011-10-12 03:57:45 +00:00
dholland
0b9f907571 Improve the output of gcc when a subprogram gets a signal. When OOMing
it gets signal 9, which prints "Killed" -- that this is actually
signal 9 and not a generic message is never clear and causes people to
file PRs unnecessarily.

Suggested by followups to PR 44096.
2011-10-11 23:05:48 +00:00
christos
36efe015ea make this compile. 2011-10-11 23:04:20 +00:00
christos
ac8695a91e mknative m68k 2011-10-11 23:04:12 +00:00
joerg
01476cad21 Update build system for mdocml 1.12.0. 2011-10-11 19:20:13 +00:00
joerg
b1e8115bf5 Merge changes for mdocml-1.12.0. 2011-10-11 19:12:13 +00:00
joerg
c5f73b3488 Import mdocml 1.12.0:
- Support to output HTML fragments
- Initial support for mdoc->man translation
- Initial eqn support
- preconv / apropos / demandoc (not hooked up)
- Various bugfixes
2011-10-11 19:09:36 +00:00
joerg
3990e5f3ce Disable format string validation with clang, it doesn't like gettext too
much.
2011-10-11 15:18:09 +00:00
joerg
e88c6d8036 Fix memset usage. 2011-10-11 15:13:08 +00:00
christos
c1a250a123 don't forget to subtract the offset; found by clang -Warray-bounds 2011-10-11 15:11:59 +00:00
christos
e9f7791ec5 fix some empty bodies. 2011-10-11 15:10:17 +00:00
joerg
9aa0541bdf Update LLVM/Clang snapshot to r141658. This primarily fixes a regression
preventing Qt4 from building.
2011-10-11 13:53:56 +00:00
mrg
58ea3a282e force on -DPIC and re-apply the old .pico rules again.
i'd expect this to help hppa/sh3 builds, but it doesn't entirely.
it does get the related command lines much closer though.
2011-10-11 03:10:26 +00:00
christos
c6bacb34f2 regen arm 2011-10-10 23:14:48 +00:00
christos
7b0e9de91a make this compile 2011-10-10 23:13:25 +00:00
christos
71f924834e make alpha compile. 2011-10-10 22:18:08 +00:00
christos
fdf8f3b19f mknative for sparc64 and alpha 2011-10-10 22:18:00 +00:00
christos
33c386138b add missing file 2011-10-10 14:07:16 +00:00
njoly
8ee20f16ad Fix locale alias file substitution in man page. 2011-10-10 09:41:47 +00:00
chs
24dea3d577 in emit_push_insn(), ignore alignment if we don't have a type.
works around a gcc ICE on m68k.  from mrg.
2011-10-09 21:17:33 +00:00
christos
e6afcfa146 fix and re-enable the texinfo targets 2011-10-09 18:17:53 +00:00
christos
cfa2879daa add arm and hppa 2011-10-09 17:19:03 +00:00
christos
d824ea3fab don't forget to set bindir. 2011-10-09 13:58:27 +00:00
christos
c8d7cb163f fix powerpc support. 2011-10-09 02:07:24 +00:00
christos
1138a3c397 add powerpc support 2011-10-09 02:03:19 +00:00
christos
cee1519fd9 Add psim 2011-10-09 01:59:31 +00:00
christos
4ad34de5ac Descent into gdb if we support it yet. 2011-10-08 21:52:15 +00:00
christos
eabd2ad9ba - Don't use the unwind register get functions; you end up in an assertion
trying to unwind while unwinding; plus the sniffer is not allowed to unwind.
- Return the outer frame to terminate not the null frame.
This fixes the kernel track unwinder, so enable it.
2011-10-08 21:47:52 +00:00
christos
2851a42220 pass the thread id. 2011-10-08 21:43:35 +00:00
christos
6ee25ca9b9 use cleantags, instead of home grown copy. 2011-10-08 19:28:38 +00:00
njoly
e7df974e10 Adjust UID header position, to be aligned with the datas. 2011-10-08 08:45:37 +00:00
christos
1d3d0af5a7 gnu style. 2011-10-07 23:24:14 +00:00
christos
b2a67858d2 Fix broken logic that created R_SPARC_64 relocations when -Bsymbolic.
When -Bsymbolic, all resolved symbols need to be created with relative
relocations. The dynamic linker depends on that because it only
knows how to perform relative relocations in the first pass to
relocate itself.  This bug ended up creating R_SPARC_64 symbols for
12 relocation symbols in ld.elf_so, one of them dlopen(), which
ended up breaking things using dlopen(), most notably PAM.
2011-10-07 22:30:56 +00:00
christos
5cb8c25793 disable building the .info file 2011-10-07 20:22:59 +00:00
joerg
debc234b9f Optimise by simplifying. 2011-10-07 10:38:02 +00:00
hannken
34f54c83be As vnalloc() always allocates with PR_WAITOK there is no longer the need
to test its result for NULL.
2011-10-07 09:35:04 +00:00
mrg
e8dd307ab6 remove NETBSD_LIBGCC_SPEC that is no longer necessary with ligcc
already doing pic code properly.
2011-10-07 09:16:27 +00:00
mrg
4a9d1308c3 obsolete libgcc_pic and friends. all libgcc's are supposed to be pic
for platforms with shlibs already (and are.)

this obsoletes our hacks for the libgcc specs to use libgcc_pic, and
fixes a couple of other issues reported to me directly.
2011-10-07 09:15:21 +00:00
sborrill
91b69c9f1d Bump version number to 20111006 2011-10-06 13:06:14 +00:00
sborrill
c8be037fd1 Provide function in libiscsi to return the compile-time limit on number of
targets. Use this function in the initiator, to ensure that the same limit
is used throughout (i.e. stop you attempting to compile the initiator with a
different limit to the library - the initiator uses the library for most of
its functionality).

If truncating the number of targets in the initiator, truncate it to the
correct amount, not half of what it should be.

Obey RFC3720 when determining targets. SendTargets=All MUST be supported
on a discovery session, and MUST NOT be supported on an operational session.
Previously, SendTargets=All was used both in the initial discovery session
and the later session. (from Daisuke Aoyama - author of istgt).
2011-10-06 13:05:28 +00:00
njoly
829ab7717f Fix magic_descriptor/magic_file quoting in SYNOPSIS. 2011-10-03 15:43:55 +00:00
christos
b7c50fc18d enable thread debugging support. 2011-10-02 18:16:06 +00:00
christos
ce760d083b Enable thread debugging support (not completely working yet). 2011-10-02 18:15:23 +00:00
christos
0ef3cdf303 - add objfile hook.
- constify.
- we cannot run things, so don't lie.
2011-10-02 18:14:24 +00:00
christos
bc3b670f7d The arm .arm.atpcs section does not have segment information, so skip it. 2011-10-01 19:25:24 +00:00
macallan
c608916b4f put -mfixloongson2f-btb back in the command line options list 2011-09-30 01:23:00 +00:00
dholland
15ab4bd2bd Fix generation of site.def to substitute @FONTROOTDIR@ and @ENCODINGSDIR@
instead of emitting them unchanged into the imake templates. Should fix
build of x3270.
2011-09-29 09:44:08 +00:00
christos
6762e6f13b comment out weak magic, from file HEAD. 2011-09-28 13:50:52 +00:00
christos
2203d253d7 fix cdf mime output on cdf files (from file HEAD) 2011-09-28 13:50:09 +00:00
christos
c236fd95c0 mknative for i386 2011-09-27 15:05:56 +00:00
christos
b642776f19 disable kernel trap frame crawling on i386 until it is fixed. 2011-09-27 15:04:19 +00:00
christos
d3f9240343 Provide regset functions and gut parts that the new debugging thread library
does not provide yet, so that we can link. As expected this does not work
yet.
2011-09-26 20:38:54 +00:00
christos
a6ca113b40 Resurrect old thread debugging code. Not hooked in, compiles. 2011-09-26 18:55:56 +00:00