aboutsummaryrefslogtreecommitdiff
path: root/devel/gdb/files
Commit message (Collapse)AuthorAgeFilesLines
* - Fix a potential parallel build issueTijl Coosemans2015-11-052-0/+11
| | | | | | | | | | | - Fix a regression when debugging a threaded process that forks (like r399623, but for vfork(2)) PR: 203661 Submitted by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=400860
* Don't look up thread names when examining core files. The names are onlyTijl Coosemans2015-10-191-0/+3
| | | | | | | | | | | available when a process is running. PR: 201291 Submitted by: Eric Badger <eric@badgerio.us> Approved by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=399717
* Fix build with KGDB option.Jung-uk Kim2015-10-191-0/+12
| | | | Notes: svn path=/head/; revision=399704
* Fix a regression when debugging a threaded process that forks.Tijl Coosemans2015-10-181-1/+3
| | | | | | | | PR: 203661 Submitted by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=399623
* Add a new KGDB option to the devel/gdb port. This adds a forward portJohn Baldwin2015-10-0612-0/+3774
| | | | | | | | | | | | | of the kernel-specific bits of kgdb to recent gdb. It only supports amd64, i386, powerpc, powerpc64, and sparc64. PR: 203299 Reviewed by: bdrewery Glanced at by: emaste, jilles, luca.pizzamiglio@gmail.com (maintainer) Differential Revision: https://reviews.freebsd.org/D3727 Notes: svn path=/head/; revision=398712
* Update gdb to 7.10John Baldwin2015-09-189-1386/+6
| | | | | | | | | | | | | | | * Removing patches from the port already committed in upstream * Adopting the new OPTION dependent targets (like do-install-PYTHON-on:) * Enable support for 64-bit targets on 32-bit systems (e.g. allow the i386 gdb to debug an amd64 binary). * Now supports fork and exec tracing. PR: 203170 Submitted by: luca.pizzamiglio@gmail.com (maintainer) Approved by: tijl Notes: svn path=/head/; revision=397259
* - Update to 7.9.1Tijl Coosemans2015-06-041-0/+2
| | | | | | | | | | | - Fix crash on some core files - Fix plist PR: 200001, 200011, 200638 Submitted by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=388538
* Update to 7.9.John Baldwin2015-04-2917-474/+1150
| | | | | | | | | | | | | | | | | | | | - Move changes that have been adopted upstream after 7.9 into extra patches named after the commit to GDB's master branch. This includes previous patches such as the signal trampoline detection fixes and XSAVE support as well as well as new fixes such as fixing 'gcore' to not require procfs. - The tui-io.c patch previously needed with new readline has been accepted upstream. - The remaining patches have been updated to apply cleanly. - The threads target has been fixed to actually pass register requests for LWP-backed threads down to the ptrace backends without detouring via libthread_db which actually fixes AVX with threads. PR: 199451 Differential Revision: https://reviews.freebsd.org/D2293 Approved by: bapt, luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=384978
* - Add support for XSAVE on amd64 and i386 using the recently addedJohn Baldwin2015-02-1811-425/+1365
| | | | | | | | | | | | | | | | | | | | | | | | PT_GETXSTATE_INFO and XSTATE core dump sections. - Use kern.proc.sigtramp on i386 to fix unwinding across signal frames. - Change the amd64 FreeBSD ABI to return an i386 target description when debugging a 32-bit process. This allows XSAVE debugging to work for an i386 binary on amd64. - Rework thread patches to pull all threads-related patches out of the main port patches and into a single optional patch. - Adjust the thread patches so that fbsd-threads.c passes register requests for LWPs down to the native target instead of calling ptrace directly. This allows XSAVE to work with threads without any other changes. The x86 nat.c files now pass LWP IDs to ptrace register operations (other platforms already did this). The supply/collect regset stubs are now only needed to support userland threads for libkse. PR: 197501 Approved by: maintainer, bdrewery Notes: svn path=/head/; revision=379311
* Remove obsolete patches.Tijl Coosemans2014-11-244-168/+0
| | | | | | | | | PR: 195255 Submitted by: jhb Approved by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=373198
* - Fix a buffer overflow when copying a stringTijl Coosemans2014-10-073-11/+65
| | | | | | | | | | | | | | - Use sysctl KERN_PROC_SIGTRAMP to retrieve the signal trampoline location for the native amd64 ABI. This fixes unwinding over the signal frame after trampoline was moved to the shared page. (https://svnweb.freebsd.org/changeset/base/258663) - Remove some gcc specific warning flags PR: 194190 Submitted by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=370292
* On FreeBSD 9.x i386 systems, debugging applications with threads causes aTijl Coosemans2014-08-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | crash of gdb. When the libthr is loaded by gdb, the thread support want to add FreeBSD specific information to the current thread. Doing this, it cleans the thread list and re-add the current thread with the updated information (actually, the LWP id). This operation call a free of the struct thread_info (clean/init the thread list) and a malloc of the same struct (add the current thread). The problem is that a pointer to the struct thread_info is stored in another struct (about the execution context) and it's not updatable. On FreeBSD 9.x i386 systems, the malloc return a new pointer; then the execution context contains a broken pointer. On all other platform, the malloc return the same pointer and the execution context stays coherent. This patch avoids to clean the thread list and to re-add the thread; it just update thread information of the current thread. PR: 192890 Submitted by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=365578
* Fix symbol addresses in threadsTijl Coosemans2014-08-121-4/+4
| | | | | | | | PR: 192608 Submitted by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=364713
* devel/gdb: 7.7.1 -> 7.8Kurt Jaeger2014-08-042-14/+4
| | | | | | | | | | | | For changes see also: http://www.gnu.org/software/gdb/download/ANNOUNCEMENT PR: 192323 Submitted by: yuri@rawbw.com Approved by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=364054
* - Update to version 7.7.1.Tijl Coosemans2014-06-1026-431/+53
| | | | | | | | | | | - Fix a problem on FreeBSD 10+ with converters/libiconv installed. GDB could not print string variables then. PR: 190700 Submitted by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=357297
* - Fix build with devel/readline 6.3 updateBryan Drewery2014-03-011-0/+17
| | | | | | | | Submitted by: antoine With hat: portmgr Notes: svn path=/head/; revision=346724
* - Update to 7.6.2Rusmir Dusko2014-01-231-0/+59
| | | | | | | | | | | | | - Change CONFIGURE_ARGS - Reordering Options - Use the new format for LIB_DEPENDS - Break lines around 80 characters PR: ports/184796 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> Notes: svn path=/head/; revision=340871
* devel/gdb: fix build with gcc 4.8William Grzybowski2013-12-011-0/+11
| | | | | | | | PR: ports/184119 Submitted by: maintainer Notes: svn path=/head/; revision=335377
* - Add a patch I forgot in ports/183048Danilo Egea Gondolfo2013-10-211-0/+11
| | | | | | | Reported by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Notes: svn path=/head/; revision=331155
* - Update to 7.6.1Thomas Abthorpe2013-09-263-3/+46
| | | | | | | | PR: ports/181801 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Notes: svn path=/head/; revision=328329
* Enable PowerPC support.Raphael Kubo da Costa2013-09-012-8/+28
| | | | | | | | | | | | | | | | The latest gdb, 7.6, brings native PowerPC FreeBSD support. We just need enable it in ports. There is a minor glitch which needs patching gdb itself. Namely, ALL_TARGET_OBJ is missing ppcfbsd-tdep.o. This part is already sent upstream. PR: ports/178784 Submitted by: andreast Approved by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> Notes: svn path=/head/; revision=325922
* Problems with inline and clang are because clang defaults to C99.Tijl Coosemans2013-07-061-43/+0
| | | | | | | | | | By adding USE_CSTD=gnu89 patch-include-cgen-basic-ops.h can be removed. PR: 180257 Approved by: luca.pizzamiglio@gmail.com (maintainer) Notes: svn path=/head/; revision=322388
* Update to 7.6.Raphael Kubo da Costa2013-05-168-181/+101
| | | | | | | | PR: ports/178257 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Notes: svn path=/head/; revision=318323
* - Add option to disable TUIPawel Pekala2013-03-1322-13/+572
| | | | | | | | | | | | - Correct enabling of all targets, add patches to fix new clang build issues raised by this change - Fix WWW: line PR: ports/176103 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Notes: svn path=/head/; revision=314093
* Improve/fix build with clang.Rene Ladan2012-12-246-34/+91
| | | | | | | | PR: ports/174568 Submitted by: maintainer Notes: svn path=/head/; revision=309466
* - Show thread names, closing ports/172572. Thanks to Mark Lokowich.Raphael Kubo da Costa2012-10-283-29/+157
| | | | | | | | | | | | | | | | - It is now possible to choose which readline version to use, closing ports/172077. Thanks to Jan Beich. - Fix patches to remove compilation warnings. - Clean configure arguments to remove a compilation warning. - Fix file permissions when the PYTHON option is enabled. - Trim Makefile header. PR: ports/172828 Submitted by: Luca Pizzammiglio <luca.pizzamiglio@gmail.com> (maintainer) Feature safe: yes Notes: svn path=/head/; revision=306581
* Don't allow files to be extracted with 0666 permissions.Koop Mast2012-08-273-13/+32
| | | | | | | | | | | | | | Readd a patch that fixes thread support Correct configure test so it detects r_fs and r_gs fields of struct reg. This fixes thread support on i386 10-current. Fix a segmentation fault on the amd64 architecture PR: ports/171109 [2], ports/171086 [1] Reported by: Arrowdodger <6yearold@gmail.com> [2] Submitted by: maintainer [2], Tijl Coosemans <tijl@coosemans.org> [1] Notes: svn path=/head/; revision=303232
* - Update to 7.5Bryan Drewery2012-08-249-223/+24
| | | | | | | | | | | - Remove patches integrated upstream PR: ports/170913 Submitted by: Luca Pizzammiglio <luca.pizzamiglio@gmail.com> (maintainer) Approved by: eadler (mentor) Notes: svn path=/head/; revision=303052
* Clarify a comment and incorporate a couple of patches.Wesley Shields2012-08-031-3/+5
| | | | | | | | PR: ports/170321 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Notes: svn path=/head/; revision=301875
* - Split THREADS patches to better support GNU binutilsMichael Scheidell2012-07-273-27/+29
| | | | | | | | PR: ports/169662 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Notes: svn path=/head/; revision=301593
* - Fix Segfault [1]Michael Scheidell2012-06-231-1/+5
| | | | | | | | | | | | - Update to OptionsNG [2] PR: ports/168444 [1] PR: ports/169265 [2] Reported by: bgmoser@codexterous.com [1] Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Notes: svn path=/head/; revision=299807
* - Update to 7.4.1Sunpoet Po-Chuan Hsieh2012-05-011-0/+17
| | | | | | | | | | | - Fix build with clang Changes: http://www.gnu.org/software/gdb/download/ANNOUNCEMENT PR: ports/167448 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Notes: svn path=/head/; revision=295791
* - Adds HW watchpoint support for amd64, closing ports/160930 (thanks to Ben ↵Michael Scheidell2012-02-257-6/+195
| | | | | | | | | | | | | | Morrow) - Adds a symbolic link executable with the version suffix to support tools without debugger configuration (like devel/nemiver) - Bump PORTREVISION due to track changes to options and pkg-plist PR: ports/165357 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Approved by: gabor (mentor, implicit) Notes: svn path=/head/; revision=292213
* - update to version 7.4Michael Scheidell2012-01-274-15/+42
| | | | | | | | | | | | | - adds devel/readline as mandatory dependency (the previous version is not compatible anymore) - fixes a problem with multihread applications (thanks Lee Thomas) - fixes a misconfiguration issue if the devel/binutils port is installed PR: ports/164521 Submitted by: maintainer Approved by: gabor (mentor, implicit) Notes: svn path=/head/; revision=289869
* - fix segfault if debugging a multithread applicationOlli Hauer2011-11-061-3/+8
| | | | | | | | | | | - bump PORTREVISION - small portlint fixes PR: ports/162093 Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer) Notes: svn path=/head/; revision=285183
* Update to 7.3.1Steven Kreuzer2011-09-261-12/+12
| | | | | | | Submitted by: rdivacky@ Notes: svn path=/head/; revision=282422
* Add WITH_DEBUG to build with debugging symbolsSteven Kreuzer2011-01-051-4/+22
| | | | | | | | | | Fix a bug on amd64 where we would recurse infinitely on the stack frame when parsing a signal frame Submitted by: jhb@ Notes: svn path=/head/; revision=267435
* GDB is a source-level debugger for Ada, C, C++, Objective-C, Pascal andSteven Kreuzer2010-11-1610-0/+1910
many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. This version of gdb has been modified by jhb@ to recognize freebsd threads Reviewed by: John Baldwin <jhb@FreeBSD.org>, swell.k@gmail.com Notes: svn path=/head/; revision=264650