Last change
on this file since 382 was 267, checked in by Rick van der Zwet, 14 years ago |
Random blips and pieces to try non to core-dump all the time.
|
File size:
1.1 KB
|
Line | |
---|
1 | # Copyright (c) 2010 Rick van der Zwet <info@rickvanderzwet.nl>
|
---|
2 | #
|
---|
3 | # Permission to use, copy, modify, and distribute this software for any
|
---|
4 | # purpose with or without fee is hereby granted, provided that the above
|
---|
5 | # copyright notice and this permission notice appear in all copies.
|
---|
6 | #
|
---|
7 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
---|
8 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
---|
9 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
---|
10 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
---|
11 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
---|
12 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
---|
13 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
---|
14 |
|
---|
15 | DEBUG_FLAGS= -g
|
---|
16 | KMOD= if_mos
|
---|
17 | SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
|
---|
18 | miibus_if.h opt_inet.h \
|
---|
19 | if_mos.c
|
---|
20 |
|
---|
21 | .include <bsd.kmod.mk>
|
---|
22 |
|
---|
23 | lsmod:
|
---|
24 | kldstat
|
---|
25 |
|
---|
26 | core:
|
---|
27 | kgdb /usr/obj/usr/src/sys/GENERIC/kernel.debug `ls /var/crash/vmcore.* | tail -1`
|
---|
28 |
|
---|
29 | ipload: load
|
---|
30 | sleep 5
|
---|
31 | ifconfig ue0 10.0.1.1/24
|
---|
32 |
|
---|
33 | code:
|
---|
34 | vim -o /usr/src/sys/dev/usb/net/if_rue.c if_mos.c
|
---|
Note:
See
TracBrowser
for help on using the repository browser.