Commit Graph

330 Commits

Author SHA1 Message Date
rin
e31b62ddaa Skip the initial GP load in function prologue when inserting a breakpoint.
GNU ld for alpha is so clever that the redundant GP load in function
entrypoint is skipped. we must therefore skip initial GP loads; otherwise
breakpoints in function entrypoints can also be skipped.

Reported to upstream (Bug 20969):
  https://sourceware.org/bugzilla/show_bug.cgi?id=20969

ok martin
2016-12-15 10:01:16 +00:00
christos
5b0871f5ea regen mips64 2016-12-03 00:40:47 +00:00
christos
787b0418af regen m68k 2016-12-02 17:51:07 +00:00
christos
a6a34af0f6 regen for vax 2016-11-27 18:52:05 +00:00
mrg
38ac2f14f5 regen all gdb platforms. 2016-11-20 00:19:55 +00:00
mrg
98abf92201 s/#/$/ in a $NetBSD$ so it actually expands 2016-11-19 09:46:58 +00:00
skrll
0efd40303c mknative re-run 2016-11-19 09:10:33 +00:00
skrll
8d8621a4bd Real mknative re-run 2016-11-19 08:46:03 +00:00
skrll
56b555c863 Mark the alpha options use_secureplt as false... we don't do secure plt
on alpha (yet)
2016-11-19 07:54:19 +00:00
skrll
c7af765c8e Add in netbsd-core.lo for all arm/mips 2016-11-19 07:52:49 +00:00
skrll
f958ae60d4 (simulate) mknative re-run 2016-11-18 12:42:10 +00:00
skrll
3a5e17dcb9 Provide a generic nbsd_skip_solib_resolver and use it in alpha and arm.
Others should follow suit.

I even tested it.
2016-11-18 09:52:33 +00:00
martin
226fa8b9ee Add a skip_solib_resolver, from Rin Okuyama, fixes single stepping for
shared binaries.
2016-10-29 17:02:06 +00:00
christos
6ffca6ccd9 it might not be a breakpoint, so make the message what it actually is. 2016-10-27 14:30:55 +00:00
skrll
4b15477c73 .mt files are dead 2016-10-27 11:48:24 +00:00
christos
8d3ec8c9f8 Don't fail silently if we can't set a breakpoint 2016-10-24 21:22:33 +00:00
mrg
7b28f87c3c regen. 2016-10-24 03:02:48 +00:00
mrg
647468f389 regen after config.bfd fix. 2016-10-23 18:51:55 +00:00
skrll
f1c7b5d7e5 Sync with external/gpl3/binutils/dist/bfd/config.bfd for mips so we build
in the right vector set
2016-10-23 12:46:57 +00:00
skrll
628b30c419 Sync with external/gpl3/binutils/dist/bfd/config.bfd for arm so we build
in the right vector set
2016-10-23 12:43:01 +00:00
skrll
33576f34ff Trailing whitespace 2016-10-23 07:40:08 +00:00
skrll
074ac3ce32 PR toolchain/51557: gdb can't read core files
Register an iterate_over_regset_sections methods for armnbsd
2016-10-23 07:33:15 +00:00
skrll
a6174a4ba0 Add -lkvm for bsd-kvm.o 2016-10-22 14:57:50 +00:00
skrll
d2624817ef No need for corelow.o here now as it is in COMMON_OBS 2016-10-22 14:38:07 +00:00
skrll
4f5401ddf9 Fix HPPANBSD_SIZEOF_GREGS to match sizeof(struct reg) 2016-10-22 11:04:16 +00:00
mrg
7b202c5d1e fix earmhf and earmhfeb builds. 2016-10-18 00:16:58 +00:00
mrg
c78a23b309 mknative-gdb for GDB 7.12 and coldfire/m68000. untested.
this completes our regularly scheduled mknative-gdb for all ports.
until next time enjoy your flight and have a nice day.
2016-10-17 18:44:43 +00:00
mrg
fbe48ae2ff remove unused files. 2016-10-17 18:32:33 +00:00
mrg
400d1a1689 mknative-gdb for GDB 7.12 and sh3*. untested. 2016-10-17 18:19:06 +00:00
mrg
e110ade75c mknative-gdb for GDB 7.12 for m68k and vax. untested. 2016-10-17 17:38:07 +00:00
mrg
15077f1b3c add some missing casts and make these build. 2016-10-17 17:37:44 +00:00
christos
a417a46e02 regen powerpc64 2016-10-17 14:02:20 +00:00
mrg
c1e10f7755 mknative-gdb for GDB 7.12 and i386 (untested) 2016-10-17 06:26:37 +00:00
mrg
fe0f2a5492 add missing i386bsd_supply_gregset() and i386bsd_collect_gregset() protos 2016-10-17 06:26:20 +00:00
mrg
3caff98623 mknative-gdb for GDB 7,12 and mips64*. untested (but builds.) 2016-10-17 04:15:35 +00:00
mrg
c9be6ee8d6 mknative-gdb for GDB 7.12 and alpha, mipsel and mipseb.
alpha and mipseb build (mipsel should), nothing is tested.
2016-10-16 08:23:05 +00:00
mrg
c03f037c58 define _KMEMUSER so that necessary things become visible always. 2016-10-16 05:12:20 +00:00
mrg
b0273061d2 move the GDB_MACHINE_ARCH setting into a separate file so tools can
access it.  modify it such that it's "arm" or "armeb" for all arm,
but only in new gdb, not gdb.old (avoid changing gdb.old as much
as possible now.)
2016-10-16 04:36:51 +00:00
mrg
47f5dba6de gdb only needs on arm and on armeb set, for all the 32 bit arm ports.
regen arm and armeb for gdb 7.12, and delete the rest.
2016-10-16 04:30:04 +00:00
mrg
23a8d08d85 mknative-gdb for GDB 7.12 and sparc, sparc64 and powerpc. sparc
works, the others aren't yet tested but do build.
2016-10-15 03:11:47 +00:00
christos
d1f6f311d5 multiple include protection 2016-10-14 23:49:23 +00:00
christos
b3faa1f1b4 Add new path for arm 2016-10-14 16:38:27 +00:00
christos
f424392a52 regen earm 2016-10-14 16:19:23 +00:00
christos
9ff2fcdd59 fix some aarch64 nits 2016-10-14 14:41:32 +00:00
skrll
f4ea3389b0 We have our own popcount 2016-10-14 14:14:58 +00:00
skrll
e6e32b5f39 Make this compile 2016-10-14 14:12:48 +00:00
mrg
3c9887d690 mknative for gdb 7.12 and sparc*, and earmv4. sparc64 doesn't build yet.
others not yet tested.
2016-10-14 05:37:44 +00:00
skrll
2920ca48d3 mknative for hppa gdb 7.12 2016-10-13 21:09:13 +00:00
christos
c358683dff Merge conflicts and regen amd64 2016-10-12 20:20:32 +00:00
christos
ba340e457d import gdb-7.12 2016-10-12 16:47:08 +00:00