<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>349a1e57 - MFS r352754: Add WITH_PIE knob to build Position Independent Executables</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#349a1e57</link>
        <description>MFS r352754: Add WITH_PIE knob to build Position Independent ExecutablesMFC r344179: Add WITH_PIE knob to build Position Independent ExecutablesBuilding binaries as PIE allows the executable itself to be loaded at arandom address when ASLR is enabled (not just its shared libraries).With this change PIE objects have a .pieo extension and INTERNALLIBlibraries libXXX_pie.a.MK_PIE is disabled for some kerberos5 tools, Clang, and Subversion, asthey explicitly reference .a libraries in their Makefiles.  These canbe addressed on an individual basis later.  MK_PIE is also disabled forrtld-elf because it is already position-independent using bespokeMakefile rules.Currently only dynamically linked binaries will be built as PIE.MFC r344181: Fix Makefile conditional after r344179MFC r344182: Use make&apos;s :tl instead of checking &quot;no&quot; and &quot;NO&quot;MFC r344189: Fixup bsd.prog.mk after r344182MFC r344211: wlandebug: disable PIE to fix build failurelibifconfig is built as a static-only PRIVATELIB (and there is no _pie.aversion) so disable PIE in libifconfig&apos;s consumer.r345489: Fix GNU objdump build under WITH_PIEExplicitly specified bare .a libraries need ${PIE_SUFFIX}.r345490: Apply WITH_PIE changes to other binutils componentsFollowon to r345489, explicitly specified bare .a libraries need${PIE_SUFFIX} (although these still built).r345778: Fix gdb/kgdb build under WITH_PIEExplicitly specified bare .a libraries need ${PIE_SUFFIX}.Approved by:	re (gjb)Sponsored by:	The FreeBSD Foundation

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Thu, 26 Sep 2019 18:37:58 +0000</pubDate>
        <dc:creator>Ed Maste &lt;emaste@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>15c36a23 - Switch to use libedit instead of readline</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#15c36a23</link>
        <description>Switch to use libedit instead of readline

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Tue, 06 Feb 2018 12:12:44 +0000</pubDate>
        <dc:creator>Baptiste Daroussin &lt;bapt@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>eacae6dc - Fix LDADD/DPADD that should be LIBADD.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#eacae6dc</link>
        <description>Fix LDADD/DPADD that should be LIBADD.Sponsored by:	EMC / Isilon Storage Division

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Fri, 04 Dec 2015 03:17:47 +0000</pubDate>
        <dc:creator>Bryan Drewery &lt;bdrewery@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7f911abe - Add support to libkvm for reading vmcores from other architectures.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#7f911abe</link>
        <description>Add support to libkvm for reading vmcores from other architectures.- Add a kvaddr_type to represent kernel virtual addresses instead of  unsigned long.- Add a struct kvm_nlist which is a stripped down version of struct nlist  that uses kvaddr_t for n_value.- Add a kvm_native() routine that returns true if an open kvm descriptor  is for a native kernel and memory image.- Add a kvm_open2() function similar to kvm_openfiles().  It drops the  unused &apos;swapfile&apos; argument and adds a new function pointer argument for  a symbol resolving function.  Native kernels still use _fdnlist() from  libc to resolve symbols if a resolver function is not supplied, but cross  kernels require a resolver.- Add a kvm_nlist2() function similar to kvm_nlist() except that it uses  struct kvm_nlist instead of struct nlist.- Add a kvm_read2() function similar to kvm_read() except that it uses  kvaddr_t instead of unsigned long for the kernel virtual address.- Add a new kvm_arch switch of routines needed by a vmcore backend.  Each backend is responsible for implementing kvm_read2() for a given  vmcore format.- Use libelf to read headers from ELF kernels and cores (except for  powerpc cores).- Add internal helper routines for the common page offset hash table used  by the minidump backends.- Port all of the existing kvm backends to implement a kvm_arch switch and  to be cross-friendly by using private constants instead of ones that  vary by platform (e.g. PAGE_SIZE).  Static assertions are present when  a given backend is compiled natively to ensure the private constants  match the real ones.- Enable all of the existing vmcore backends on all platforms.  This means  that libkvm on any platform should be able to perform KVA translation  and read data from a vmcore of any platform.Tested on:	amd64, i386, sparc64 (marius)Differential Revision:	https://reviews.freebsd.org/D3341

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Fri, 27 Nov 2015 18:58:26 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ee5a34ec - Convert to LIBADD</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#ee5a34ec</link>
        <description>Convert to LIBADDReduce overlinking

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Tue, 25 Nov 2014 21:18:18 +0000</pubDate>
        <dc:creator>Baptiste Daroussin &lt;bapt@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5608fd23 - Revert r267233 for now. PIE support needs to be reworked.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#5608fd23</link>
        <description>Revert r267233 for now. PIE support needs to be reworked.1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other   build-only utility libraries.2. Another 40% is fixed by generating _pic.a variants of various libraries.3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR)   where it never would work anyhow, such as csu or loader. This suggests   there may be better ways of adding support to the tree. Many of these   cases can be fixed such that -fPIE will work but there is really no   reason to have it in those cases.4. Some of the uses are working around hacks done to some Makefiles that are   really building libraries but have been using bsd.prog.mk because the code   is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have   been needed.We likely do want to enable PIE by default (opt-out) for non-tree consumers(such as ports). For in-tree though we probably want to only enable PIE(opt-in) for common attack targets such as remote service daemons and setuidutilities. This is also a great performance compromise since ASLR is expectedto reduce performance. As such it does not make sense to enable it in allutilities such as ls(1) that have little benefit to having it enabled.Reported by:	kib

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Tue, 19 Aug 2014 15:04:32 +0000</pubDate>
        <dc:creator>Bryan Drewery &lt;bdrewery@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d029c3aa - Rework privatelib/internallib</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#d029c3aa</link>
        <description>Rework privatelib/internallibMake sure everything linking to a privatelib and/or an internallib does it directlyfrom the OBJDIR rather than DESTDIR.Add src.libnames.mk so bsd.libnames.mk is not polluted by libraries not existsingin final installationIntroduce the LD* variable which is what ld(1) is expecting (via LDADD) to link tointernal/privatelibDirectly link to the .so in case of private library to avoid having to complexifyLDFLAGS.Phabric:	https://phabric.freebsd.org/D553Reviewed by:	imp, emaste

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Wed, 06 Aug 2014 22:17:26 +0000</pubDate>
        <dc:creator>Baptiste Daroussin &lt;bapt@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>80189b3b - Replace all uses of libncurses and libtermcap with their wide character</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#80189b3b</link>
        <description>Replace all uses of libncurses and libtermcap with their wide charactervariants.  This allows usable file system images (i.e. those with both ashell and an editor) to be created with only one copy of the curses library.Exp-run:	antoinePR:		189842Discussed with:	baptSponsored by:	DARPA, AFRL

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Thu, 17 Jul 2014 18:24:34 +0000</pubDate>
        <dc:creator>Brooks Davis &lt;brooks@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>8a833bda - The GNU readline library is now an INTERNALLIB - that is, it is</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#8a833bda</link>
        <description>The GNU readline library is now an INTERNALLIB - that is, it isstatically linked into consumers (GDB and variants) in the basesystem, and the shared library is no longer installed.That also allows ports to be able to use a modern version of readlinePR:		162948Reviewed by:	emaste

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Wed, 09 Jul 2014 15:52:30 +0000</pubDate>
        <dc:creator>Baptiste Daroussin &lt;bapt@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>864c53ea - In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#864c53ea</link>
        <description>In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.This is currently an opt-in build flag. Once ASLR support is ready and stableit should changed to opt-out and be enabled by default along with ASLR.Each application Makefile uses opt-out to ensure that ASLR will be enabled bydefault in new directories when the system is compiled with PIE/ASLR. [2]Mark known build failures as NO_PIE for now.The only known runtime failure was rtld.[1] http://www.bsdcan.org/2014/schedule/events/452.en.htmlSubmitted by:		Shawn Webb &lt;lattera@gmail.com&gt;Discussed between:	des@ and Shawn Webb [2]

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Sun, 08 Jun 2014 17:29:31 +0000</pubDate>
        <dc:creator>Bryan Drewery &lt;bdrewery@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>03197d0a - When building a cross kgdb, link against the appropriate cross libkvm.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#03197d0a</link>
        <description>When building a cross kgdb, link against the appropriate cross libkvm.Provide an implementation of ps_pglobal_lookup() for use by the crosslibkvm.

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Sat, 28 Dec 2013 23:31:22 +0000</pubDate>
        <dc:creator>Marcel Moolenaar &lt;marcel@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e8dce5b9 - Complete the integration of tbemd branch into head.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#e8dce5b9</link>
        <description>Complete the integration of tbemd branch into head.TARGET_BIG_ENDIAN is now completely dead, except where it wasoriginally supposed to be used (internally in the toolchain building).TARGET_ARCH has changed in three cases:(1) Little endian mips has changed to mipsel.(2) Big endian mips has changed to mipseb.(3) Big endian arm has changed to armeb.Some additional changes are needed to make &apos;make universe&apos; work on armand mips after this change, so those are commented out for now.UPDATING information will be forthcoming.  Any remaining rough edgeswill be hammered out in -current.

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Wed, 10 Nov 2010 06:39:49 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4496b357 - Move the code for working with kld&apos;s out into its own file.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#4496b357</link>
        <description>Move the code for working with kld&apos;s out into its own file.

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Thu, 24 Jan 2008 19:11:13 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d7234520 - Restore r1.2 change to use TARGET_ARCH.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#d7234520</link>
        <description>Restore r1.2 change to use TARGET_ARCH.Submitted by:	kris

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Sun, 20 Feb 2005 23:06:03 +0000</pubDate>
        <dc:creator>Alexander Kabaev &lt;kan@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>325ce5d8 - Attempt to make kgdb little more useful and easy to use.  Properly initialize</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#325ce5d8</link>
        <description>Attempt to make kgdb little more useful and easy to use.  Properly initializeit to recognise what ABI  to use on amd64 (and possibly others) platform.Display PID and process name as a part of the &apos;info threads&apos; output, TIDsalone are too confusing. Introduce new commmands &apos;tid &lt;tid&gt;&apos; and &apos;proc &lt;pid&gt;&apos;to accompany gdb&apos;s default &apos;thread &lt;thread num&gt;&apos; to make the task of switchingbetween different contexts easier.

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Sun, 20 Feb 2005 22:55:07 +0000</pubDate>
        <dc:creator>Alexander Kabaev &lt;kan@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>01950bb6 - Use the system gnuregex library vs. building GNU regex bits into libiberty</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#01950bb6</link>
        <description>Use the system gnuregex library vs. building GNU regex bits into libibertyand using them.Reviewed by:	marcel,impDesired by:	ache

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Mon, 14 Feb 2005 12:10:14 +0000</pubDate>
        <dc:creator>David E. O&apos;Brien &lt;obrien@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>20a96613 - Makefile (only) changes to allow building a cross debugger.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#20a96613</link>
        <description>Makefile (only) changes to allow building a cross debugger.

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Tue, 30 Nov 2004 05:12:37 +0000</pubDate>
        <dc:creator>Marcel Moolenaar &lt;marcel@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>88bca61e - s/MACHINE_ARCH/TARGET_ARCH/. We use TARGET_ARCH to pick the MD files</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#88bca61e</link>
        <description>s/MACHINE_ARCH/TARGET_ARCH/. We use TARGET_ARCH to pick the MD filesfor libgdb and should do so here as well.

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Tue, 30 Nov 2004 02:56:53 +0000</pubDate>
        <dc:creator>Marcel Moolenaar &lt;marcel@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>60b992ff - Add the beginnings of kernel debugging support. the kgdb(1) tool</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile#60b992ff</link>
        <description>Add the beginnings of kernel debugging support. the kgdb(1) toolis basicly a shell on top of libgdb that knows about kernel threads,kernel modules and kvm(3). As the word &quot;beginnings&quot; implies, notall of the features have been implemented yet. The tool is usefuland I&apos;d like feedback on the taken route.The simplest way to debug a kernel core file is:	kgdb -n 0This opens /var/crash/vmcore.0 with the corresponding kernel inthe object directory (kernel.debug is used if it exists).Typical things that need to be added are:o  Auto loading of kernel modules,o  Handling of trapframes so that backtraces can be taken across   them,o  Some fancy commands to extract useful information out of a core   file,o  Various (probably many) other things.

            List of files:
            /freebsd-12.1/gnu/usr.bin/gdb/kgdb/Makefile</description>
        <pubDate>Sun, 25 Jul 2004 05:29:15 +0000</pubDate>
        <dc:creator>Marcel Moolenaar &lt;marcel@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
