Commit Graph

2608 Commits

Author SHA1 Message Date
tron
c461628ce9 Fix build with stack smash protection enabled. 2011-11-06 10:55:27 +00:00
christos
92f64477e8 Hook in tree 2011-11-05 22:40:26 +00:00
christos
f2a3d14797 make this work:
- split alloca stuff in a separate file
- fix size_t/int/long inconsistencies
- fix weak alias stuff
- make paths consistent
- fix config files
- use switch instead of if/then/elseif...
- fix Makefiles
2011-11-05 22:39:12 +00:00
cheusov
3e8537647d Fix segfault when read(2) returns -1 2011-11-05 00:17:19 +00:00
christos
09b48f4059 more dependencies needed for the other texinfo files. 2011-11-04 17:52:19 +00:00
joerg
fe2cc85884 Update LLVM/Clang snapshot to r143571 for the improved optimizer. 2011-11-03 17:52:53 +00:00
christos
f37cf30aee fix vax floating point overflows. 2011-11-02 23:19:48 +00:00
wiz
4165ef4b81 Use standard section names. 2011-11-02 20:26:03 +00:00
yamt
ed36af787f fix a function prototype 2011-11-02 16:45:00 +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
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
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
mrg
21ce43ac51 makefile frontend to run gmp configure under nbmake-$MACHINE. 2011-10-30 01:50:32 +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
d986b3bb4c make sure to use powerpc64/elf.m4, not powerpc32/elf.m4 here! 2011-10-29 11:42:09 +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
mrg
83554ca40d now that ppc64 sort of builds, i can generate at least gmp configury.
thanks christos!
2011-10-29 09:16:54 +00:00
christos
bfc91a38aa rename data() -> parse_data() to appease the powerpc64 toolchain:
{standard input}: Assembler messages:
{standard input}:105: Error: symbol `.data' is already defined
2011-10-28 14:00:20 +00:00
tron
a1f7ffadc0 Resolve conflicts from last import. 2011-10-28 07:12:17 +00:00
tron
1613d646d0 Import Postfix 2.8.6. Changes since version 2.8.5:
- The Postfix SMTP daemon sent "bare" newline characters instead of
  <CR><LF> when a header_checks REJECT pattern matched multi-line
  header. This bug was introduced with Postfix 1.1.
- The Postfix SMTP daemon sent "bare" newline characters instead of
  <CR><LF> when an smtpd_proxy_filter returned a multi-line
  response. This bug was introduced with Postfix 2.1.
- For compatibility with future EAI (email address
  internationalization) implementations, the Postfix MIME processor no
  longer enforces the strict_mime_encoding_domain check on unknown
  message subtypes such as message/global*. This check is disabled by
  default.
- The Postfix master daemon could report a panic error ("master_spawn:
  at process limit") after the process limit for some service was
  reduced with "postfix reload". This bug existed in all Postfix
  versions.
2011-10-28 07:08:57 +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
711bd7d5de Add all the missing HAS_ so that we get back login_cap functionality. 2011-10-25 16:56:23 +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
jmcneill
7bd854f074 hook xsetwallpaper into xorg build 2011-10-22 22:23:50 +00:00