1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/devel/gdb/files/commit-b00f86d
John Baldwin 2fab2693cf Import several patches recently merged upstream.
- Fix fork following to honor 'detach-on-fork'
- Fix vfork following to post a fake vfork_done event to fix breakpoints
  in vfork parents (a real vfork_done event is pending but requires kernel
  changes currently in review).
- Fix x86 debug registers to work with multiple threads (PR 157755)
- Add support for 'info auxv' on both live processes and cores.
- Add support for 'catch syscall'.  Note that catching system calls by
  names requires parsing an XML file mapping system call names to
  numbers.  The port now installs the XML syscall files to the data
  directory.  In addition, the EXPAT option is now enabled by default as
  expat is used to parse the XML files.
- Bump PORTREVISION.

PR:		157755, 210874
Approved by:	luca.pizzamiglio@gmail.com (maintainer), bdrewery
2016-07-15 01:10:15 +00:00

35 lines
1.4 KiB
Plaintext

commit b00f86d0720d2cf44f3edb6101682074da1abe5d
Author: John Baldwin <jhb@FreeBSD.org>
Date: Wed Jun 15 22:44:11 2016 -0700
Add constants for FreeBSD-specific auxiliary vector entry types.
include/ChangeLog:
* elf/common.h (AT_FREEBSD_EXECPATH, AT_FREEBSD_CANARY)
(AT_FREEBSD_CANARYLEN, AT_FREEBSD_OSRELDATE, AT_FREEBSD_NCPUS)
(AT_FREEBSD_PAGESIZES, AT_FREEBSD_PAGESIZESLEN)
(AT_FREEBSD_TIMEKEEP, AT_FREEBSD_STACKPROT): Define.
diff --git include/elf/common.h include/elf/common.h
index 087d876..d2da009d 100644
--- include/elf/common.h
+++ include/elf/common.h
@@ -1012,6 +1012,16 @@
#define AT_L2_CACHESHAPE 36
#define AT_L3_CACHESHAPE 37
+#define AT_FREEBSD_EXECPATH 15 /* Path to the executable. */
+#define AT_FREEBSD_CANARY 16 /* Canary for SSP. */
+#define AT_FREEBSD_CANARYLEN 17 /* Length of the canary. */
+#define AT_FREEBSD_OSRELDATE 18 /* OSRELDATE. */
+#define AT_FREEBSD_NCPUS 19 /* Number of CPUs. */
+#define AT_FREEBSD_PAGESIZES 20 /* Pagesizes. */
+#define AT_FREEBSD_PAGESIZESLEN 21 /* Number of pagesizes. */
+#define AT_FREEBSD_TIMEKEEP 22 /* Pointer to timehands. */
+#define AT_FREEBSD_STACKPROT 23 /* Initial stack protection. */
+
#define AT_SUN_UID 2000 /* Effective user ID. */
#define AT_SUN_RUID 2001 /* Real user ID. */
#define AT_SUN_GID 2002 /* Effective group ID. */