Commit Graph

87607 Commits

Author SHA1 Message Date
lukem e48d7547e2 Change -F from "special must be a regular file" to "special can be any type,
and don't attempt to do any file name translation (e.g, search in fstab)".

In the non -F case, search for special in fstab. If found, convert fs_spec
to a raw device name. In any case, use opendisk(3) to open the device.
2001-11-09 09:05:51 +00:00
lukem 949fa9ae03 remove blank lines from the lists of files to backup_and_diff 2001-11-09 09:01:20 +00:00
lukem 3c367dcbb0 use MAXPATHLEN instead of 32 as the size of the rawbuf 2001-11-09 07:50:19 +00:00
thorpej 2436e0546d This is not a Sun3-specific program. 2001-11-09 07:43:16 +00:00
thorpej 13aa19d0fc Eval boards usually don't have boot loaders. If we're lucky, we
have firmware that understands ELF.  We're usually stuck with S-Records.
To make life easier, attempt to stuff kernel symbols into the image
with dbsym(8).

If the kernel doesn't have SYMTAB_SPACE, or if the SYMTAB_SPACE is too
small, the kernel build continues as normal; this is just a convenience
measure.
2001-11-09 07:39:25 +00:00
thorpej 028f694d86 Make an error message more informative. 2001-11-09 07:36:03 +00:00
thorpej 73f86f9fe4 Add a DBSYM variable for the dbsym(8) host tool. 2001-11-09 07:30:55 +00:00
thorpej 147b1bdc1c Add some rudimentary support for ELF symbols in DDB on the ARM ports.
On platforms which load the kernel sans symbols directly from firmware
(possibly in e.g. S-Record format), call ddb_init() with empty arguments,
so that it will search any compiled in SYMTAB_SPACE.  On all other platforms,
if __ELF__, also call ddb_init() with empty arguments until ELF bootloaders
which pass symbol information are ready.
2001-11-09 07:21:37 +00:00
lukem 704b08b696 Generally don't need the extra byte in MAXPATHLEN sized buffers, because
pathnames are guaranteed by POSIX to be MAXPATHLEN-1 bytes long.
Kindly pointed out by Warner Losh in private email.
2001-11-09 06:55:56 +00:00
thorpej 47514a31be Remove unneeded declarations of the db_machine_init() function. The
ARM ports are the only ones that actually have one, and it is about
to change.
2001-11-09 06:52:23 +00:00
thorpej ca61e8a63a Support for building the new BFD-using dbsym(8) as a targeted host
tool.
2001-11-09 05:53:26 +00:00
thorpej aeeee8c24d New BFD-using dbsym(8) written by Simon Burge, with some code
derived from the BFD-using mdsetimage(8).

TODO:
* Use loadfile(), rather than home-grown ELF parsing code (requires
  some changes to loadfile()).
* Support a.out like the gwr's dbsym(8) (this comes for free when
  we switch to loadfile()).
2001-11-09 05:52:20 +00:00
augustss 1315ed7da5 Regen. 2001-11-09 05:49:53 +00:00
augustss 1018a07d67 Add a device (from OpenBSD). 2001-11-09 05:49:09 +00:00
matt e85e9a59a1 Make this compile under ELF. 2001-11-09 05:31:44 +00:00
thorpej 3b569c7be3 * Fix a quoting error so that when using -n, we actually see
$TOOLDIR and $DESTDIR in their expanded form.
* Set USETOOLS=yes in the make wrapper script; it's pretty pointless
  using the make wrapper unless you're using the host tools.
* In the -t case, make sure to only echo the "make obj" command if -n.
2001-11-09 04:14:17 +00:00
thorpej b72e770a8a IQ80310-specific setup for the i80312 Companion I/O chip driver. 2001-11-09 03:31:37 +00:00
thorpej 660b98b7dc Snapshot of work-in-progress for Intel i80312 Companion I/O chip;
just basic Inbound and Outbound window setup is done, PCI configuration
space access (not quite working yet), and I/O and Memory space routines
so far.
2001-11-09 03:27:51 +00:00
reinoud 411b3e63cf Update it again *sigh* ... still trouble with my snapshot's ELF in building
the ramdisc but eventually the all-ELF ramdisc got build by an a.out
system...
2001-11-09 01:42:14 +00:00
simonb 0000c94242 Delete "break"s and "return"s after the math_abort() macro, which itself
finishes with a "return".
2001-11-09 00:38:57 +00:00
thorpej 3130a93ac8 Remove unnecessary prototypes for zero_page_read{only,write}(). 2001-11-09 00:34:34 +00:00
eeh d0f2652711 Overhaul the interrupt system to use hardware interrupts directly. 2001-11-08 23:28:13 +00:00
bjh21 4da598993d Rename a parameter to fix build problem with new toolchain. 2001-11-08 22:45:45 +00:00
bjh21 7723559395 Quiet GCC warnings. 2001-11-08 22:23:59 +00:00
reinoud a706224d9e Fix bootdisk lossage .... 2001-11-08 22:18:49 +00:00
scw 61fd713a11 Commit a change I've had lying around for a while: Initialise wired
PTEs with `PG_U' to avoid them being needlessly updated when first
accessed.
2001-11-08 21:53:44 +00:00
scw 05c8b8d35b Fix a couple of uninitialised variable warnings with New Toolchain. 2001-11-08 21:41:42 +00:00
scw a1cf047679 Fix a couple of uninitialised variable warning with New Toolchain. 2001-11-08 21:40:25 +00:00
wiz f456b88410 Remove mention of BUILDLING.html, and follow rename of BUILDING.txt to
BUILDING.
Noted by Love <lha@stacken.kth.se> on tech-toolchain.
2001-11-08 21:29:06 +00:00
bouyer f7bc541779 Fix a memory leak when we change pl_corename several times. 2001-11-08 21:24:47 +00:00
bjh21 7bdb61e034 Fix from Richard Earnshaw to make MASK_RETURN_ADDR work on both 26-bit and
32-bit ARMs, switching at run time.
2001-11-08 20:47:56 +00:00
wiz 73322f1e45 Drop an unnecessary empty line. 2001-11-08 20:40:44 +00:00
jmc 67de198df5 XXX...Complete hack for now.
Add a stub for RMD160File which prints out a warning and returns NULL.

This allows mtree to be built when hosting from a 1.5.x box.
The real solution is to convert the src/tools bits into clean portable tools
and not have them so NetBSD-current centric.
2001-11-08 20:30:54 +00:00
wiz 7be1bf7993 Drop 'HEIMDAL' from Os, fix punctuation in one place, and sort SEE ALSO. 2001-11-08 20:21:07 +00:00
wiz 440da35ad1 Sort SEE ALSO. 2001-11-08 20:20:29 +00:00
wiz c214b605c7 Fix Dd, and two punctuation nits. 2001-11-08 20:20:01 +00:00
wiz e704cca5ec Drop unnecessary empty lines. 2001-11-08 20:18:57 +00:00
wiz 43ac9b6569 Fix Xrefs. 2001-11-08 20:18:10 +00:00
wiz f7b5c3a4df Uppercase Dt argument. 2001-11-08 20:17:09 +00:00
manu 22376d8b65 Fixed a small bug in -u option parsing (it only worked if you supplied a
user *and* a group)
2001-11-08 20:06:22 +00:00
gmcgarry 965d17cd26 Reference krb5(3) and add description for libcom_err. 2001-11-08 19:52:51 +00:00
gmcgarry 9a9f44d50b Install krb5.3 2001-11-08 19:47:59 +00:00
gmcgarry f243ad4c28 Customise documentation for NetBSD:
- introduce krb5.3 as an entry-point to libkrb5 documentation
- add LIBRARY sections
- reference the real headers in <krb5/krb5.h>
2001-11-08 19:47:37 +00:00
mycroft 676fa7ff61 In the `not what I asked for' department:
Do NOT return an error from term_init() if term_set() fails.  Otherwise
el_init() barfs and libedit fails to work.
2001-11-08 19:39:10 +00:00
mycroft 09aca455ce Remove an unused variable. 2001-11-08 19:34:41 +00:00
christos 64a6ea2e08 Regen. 2001-11-08 17:05:58 +00:00
christos c7a7458e1e PR/14503: Cesar Crusius: Add Xircom XE2000. 2001-11-08 17:05:42 +00:00
tron 34d8f65b19 Use "vnd0" instead of "/dev/vnd0c" as argument for "vnconfig" because it
is more portable and works with the latest "vnconfig".
2001-11-08 16:52:20 +00:00
reinoud a822070813 Note the addition of arch/acorn32 as Acorn's line of ARM 6,7,SA machines. 2001-11-08 16:47:51 +00:00
christos 22002034fe Now that vnconfig uses opendisk(3) update it's usage encouraging use
of "vnd0" instead of "/dev/rvnd0{c,d}". Noted by tron.
2001-11-08 15:41:55 +00:00