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
joerg
22c0e67d0f
Reduce exposure of kernel internals for __KMEMUSER
2011-11-01 21:21:32 +00:00
joerg
ac992c4949
Hook up nbperf into the normal tool build.
2011-11-01 21:16:28 +00:00
phx
45ea03e509
The Apollo family of IDE interface chips has both channels disabled by
...
default, so we have to enable them in a new chipfix function. Also move
the channel enable code for the 82C686B from encpcifix() to pciide.c.
2011-11-01 16:32:57 +00:00
jym
7beb0e066c
Avoid crashing when we do not explictly pass down a CPU when creating
...
a kthread(9) in the LSIDL (KTHREAD_IDLE) state.
2011-11-01 15:39:37 +00:00
christos
531a87f792
Test all digits.
2011-11-01 13:59:00 +00:00
yamt
358aee7f92
add skpc
2011-11-01 13:37:32 +00:00
yamt
30007d8b8f
document skpc
2011-11-01 13:36:15 +00:00
yamt
f291fca369
add scanc
2011-11-01 13:35:38 +00:00
yamt
ac67f2ccea
sort
2011-11-01 13:34:33 +00:00
yamt
e9ab523b8a
document scanc
2011-11-01 13:33:05 +00:00
chs
0ac4272b25
use WARNS instead of mucking with CFLAGS directly.
2011-11-01 13:19:53 +00:00
ws
ad730b8b4f
Replace ed usage with awk script.
...
Fixes PR toolchain/45532, generating the exact same output as previously.
Note that it doesn't address Tsutsui's additional check request.
2011-11-01 12:52:28 +00:00
martin
0d76365484
Enable INET6 in the installer
2011-11-01 09:28:14 +00:00
martin
e3288b80f0
If we are not building SMALLPROG, there is no need to strip out INET6
...
support.
2011-11-01 09:26:37 +00:00
tcort
fad5a928f9
Add new developer Thomas Cort (tcort)
2011-11-01 02:04:43 +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
christos
f3d1a5e782
PR/45545 Yui NARUSE: pipe2's return value is wrong
2011-10-31 21:31:29 +00:00
christos
9c67f9d994
make this work
2011-10-31 21:30: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
uwe
ebd5e6fb4e
#if-0'ed defines for PT_GETFPREGS and PT_SETFPREGS. Not used yet, but
...
reserve the numbers as they are "leaked" to readelf(1), that has to know
them as NT_NETBSDCORE_FIRSTMACH + x (see get_netbsd_elfcore_note_type).
2011-10-31 19:08:45 +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
pgoyette
7726fd7693
No need to keep on trying when this fails in the expected manner. We
...
really don't need to have 32k failures.
OK jruoho@
2011-10-31 18:37:01 +00:00
christos
eba0b3c2fd
Move all pipe2 tests to a separate file.
2011-10-31 15:41:31 +00:00
christos
7b65040d43
add pipe2 tests
2011-10-31 15:37:17 +00:00
jakllsch
b052e03160
Constify structure pointed to by getataparams() return value.
2011-10-31 15:26:11 +00:00
jakllsch
bfe1863ea2
Remove write-only variable.
2011-10-31 14:50:10 +00:00
jakllsch
58fe39198a
Wrap or shorten lines longer than 80 columns.
2011-10-31 14:44:07 +00:00
chs
8c0bc12273
switch everything except vax to gcc 4.5.
...
switch m68k to -Os since -O2 produces much bigger code
with gcc 4.5 than it did with gcc 4.1.
2011-10-31 14:20:11 +00:00
yamt
29af9462d1
annotate for lint
2011-10-31 13:27:51 +00:00
yamt
1cc677b523
fix a type in a printf message
2011-10-31 13:25:21 +00:00
yamt
8b0a34508b
replace a non us-ascii character in a comment
2011-10-31 13:23:55 +00:00
yamt
432b5ec94f
comment
2011-10-31 13:17:22 +00:00
yamt
d8e3880a8a
redo ip_output.c rev.1.206 and 1.207 differently. PR/43664.
...
ok'ed by martin@
2011-10-31 13:16:01 +00:00
yamt
4fa9fc4940
fix a double unlock bug introduced by tcp_input.c rev.1.312.
2011-10-31 13:01:42 +00:00
yamt
ee68698439
tcp_drain: grab softnet_lock where appropriate
2011-10-31 12:56:45 +00:00
yamt
bf52753ac3
tcp_reass_unlock: assertion
2011-10-31 12:52:19 +00:00
yamt
02a75580d4
remove an unnecessary cast
2011-10-31 12:50:50 +00:00
yamt
5594ed8178
typo in a comment
2011-10-31 12:49:32 +00:00
yamt
f2b7f3dffc
hpet:
...
- fix an integer overflow bug introduced by hpet.c rev.1.11.
- a workaround for AMD SB700 based systems, inspired from linux.
2011-10-31 12:47:15 +00:00
yamt
00b376e154
dumpsys_seg: don't overwrite the previous mapping
2011-10-31 12:42:36 +00:00
yamt
f68df90171
- make lendpri/changepri similar.
...
- make common code a subroutine.
2011-10-31 12:18:32 +00:00
jdc
d436f96ffc
Add support for the WSDISPLAYIO_GET_EDID ioctl (requires passing a device_t
...
to ffb_attach).
2011-10-31 08:28:46 +00:00