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
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
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
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
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
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
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
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
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
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
christos
09d11d2f8f
use gstdint.h from libdecnumber.
2011-09-26 14:31:25 +00:00
mrg
5f7fcf61d3
mknative files for armeb / binutils 2.21.1a
2011-09-26 09:33:45 +00:00
mrg
8f6ce38a21
mknative files for arm / binutils 2.21.1a
...
(built with a hack to gas/config/tc-arm.c.)
2011-09-26 09:26:58 +00:00
christos
605c6d89d1
Build glue for x86_64. This is working gdb for amd64 minus kernel stacktrace
...
support. It is disabled for now because it breaks user program traces.
2011-09-26 03:02:44 +00:00
christos
3e93b50f82
Disable our custom stack unwinder for now. It is completely broken now because
...
gdb asserts when a frame returns 0. In previous versions of gdb, it just
printed 0, and stopped scanning. Our unwinder produces the same results in
both versions of gdb, i.e. it is broken and worse than the current gdb
default. We will need to revisit this for kernel debugging.
2011-09-26 02:35:33 +00:00
christos
5ecf4f1c7e
#define _KMEMUSER so that the struct lwp test works.
2011-09-25 20:26:04 +00:00
christos
b5a43e29a1
- fix missing argument
...
- expose struct lwp by #define _KMEMUSER
2011-09-25 20:25:08 +00:00
christos
2aaaf67e44
disable .y.c rule.
2011-09-25 20:23:51 +00:00