matt
a52d311628
Add mips64*-netbsd* clauses
2011-11-23 19:41:50 +00:00
mlelstv
329d131575
Fix passing of floating point registers.
2011-11-19 13:00:38 +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
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
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
njoly
aa8703ce6a
Adjust dependencies for alpha.
2011-11-07 23:21:32 +00:00
christos
09b48f4059
more dependencies needed for the other texinfo files.
2011-11-04 17:52:19 +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
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
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
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
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
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
tron
84030af9c0
Fix build with stack smash protection enabled.
2011-10-22 10:41: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
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
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