76 Commits

Author SHA1 Message Date
Dom Cobley
d85af7144f gdb: Fix ctrl-c handling with gdbserver
See: https://sourceware.org/bugzilla/show_bug.cgi?id=18772
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
2022-06-20 13:46:15 +01:00
Rudi Heitbaum
90d566d803 gdb: update to 12.1
ann:
- https://lists.gnu.org/archive/html/info-gnu/2022-05/msg00000.html
2022-05-02 09:51:12 +00:00
heitbaum
788f22f17d gdb: update to 11.2
update 11.1 (2021-09-13) to 11.2 (2022-01-16)

Release Notes:
- https://www.sourceware.org/gdb/download/ANNOUNCEMENT
- https://www.sourceware.org/gdb/
- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-11.2-release

January 16th, 2022: GDB 11.2 Released!
The latest version of GDB, version 11.2, is available for download.

This is a minor corrective release over GDB 11.1, fixing the following issues:

- PR sim/28302 (gdb fails to build with glibc 2.34)
- PR build/28318 (std::thread support configure check does not use CXX_DIALECT)
- PR gdb/28405 (arm-none-eabi: internal-error: ptid_t remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*): Assertion `first_resumed_thread != nullptr' failed)
- PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
- PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6)
- PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
- PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section)
- PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)
2022-02-05 04:36:24 +00:00
heitbaum
eb70950135 gdb: remove RPATH 2022-01-23 21:39:17 +00:00
Jernej Skrabec
611b517507 gdb: Add gmp dependency 2021-09-24 17:40:56 +02:00
heitbaum
ab7fcbac51 gdb: update to 11.1 2021-09-19 21:30:05 +10:00
Ian Leonard
02d5330409 debug: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:33:44 +00:00
heitbaum
230280139e gdb: update to 10.1 2020-12-13 07:19:59 +00:00
Matthias Reichl
f699a62097 gdb: support building remote/cross gdb for host
gdbserver is already present in the image but a remote/cross gdb
for the target arch was missing.

Add this so we can easily remote-debug programs.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-04-22 16:18:48 +02:00
Jernej Skrabec
1ad1ac54cf gdb: fix expat search on some hosts 2020-02-22 07:39:18 +01:00
MilhouseVH
0e1b760dd8 gdb: update to gdb-9.1 2020-02-09 12:27:23 +00:00
Ian Leonard
08bdf2a5cd gdb: set size build flag
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-21 02:54:54 +00:00
MilhouseVH
7ffc044f29 gdb: update to gdb-8.2.1 2019-02-01 20:42:55 +00:00
MilhouseVH
c19a3ff780 packages: setup_toolchain $TARGET only called after package is sourced
Packages referencing variables defined in setup_toolchain such as CC, CXX,
AR, CFLAGS, LDFLAGS, HOST_CC etc. etc. must only reference these variables in
pre_build()/pre_configure()/pre_make() etc. functions, as the variables will not
be available when the package is sourced, but will be available after the call
to setup_toolchain() from scripts/build.
2018-12-18 03:43:28 +00:00
CvH
85e5b4dc1f cleanup: PKG_SHORTDESC 2018-10-22 15:06:12 +02:00
CvH
4cffa5fe6f cleanup: remove PKG_ARCH="any" 2018-10-22 15:06:12 +02:00
CvH
4317bc5002 cleanup: remove PKG_SECTION 2018-10-22 15:06:11 +02:00
CvH
75b84c1126 spdx: packages/debug 2018-07-17 23:58:49 +02:00
Matthias Reichl
d6ba56ef5f gdb: drop lto build flag
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-04 19:54:29 +02:00
Sascha Kuehndel (InuSasha)
8827a540aa
buildsystem: add BUILD_FLAG support
- replace strip_lto/strip_gold (only allowed to disable)
- add flag for PIC feature
- add flag to stop build parallel
- add support for hardening option (initial copy from debian 9)

All build parameters, are added in setup_toolchain.
`PKG_[FLAG]_[HOST/TARGET]_ENABLED` variable is introduced for checking the flag (yes/no) in the package.mk

Thanks to @MilhouseVH, for support and fixing
2018-03-07 18:35:01 +01:00
Matthias Reichl
6b7a5ce8d9 gdb: only install to target
Don't pollute sysroot with static libs and headers

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-02-20 10:54:57 +01:00
MilhouseVH
5da53e5c40 gdb: update to gdb-8.1 2018-02-06 23:28:36 +00:00
Sascha Kuehndel (InuSasha)
3846ec7dac
buildsystem: replace PKG_AUTORECONF 2017-11-22 00:41:12 +01:00
cvh
13f69f494a packages: change depends to ncurses 2017-08-21 19:19:51 +02:00
Peter Vicman
50a51452be build system: add sha256 checksum to all packages
putting #1597 in use
2017-07-17 20:49:23 +02:00
MilhouseVH
2201d21eea gdb: update to gdb-7.12.1 2017-05-10 22:29:02 +01:00
Alan
7487ed9f8e tex: changes to remove tex dependencies 2017-02-02 15:09:44 +04:00
awiouy
cf5d3a4579 decommission PKG_REV 2017-01-19 00:06:13 +01:00
Stephan Raue
3dd3941fbf gdb: update to gdb-7.11.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
(cherry picked from commit 3696010d45cdd7818c7fb9bc3481ee6a87ab7731)
2016-11-16 00:18:25 +00:00
awiouy
e0c2de9b39 Decommission PKG_PRIORITY 2016-09-24 11:57:39 +02:00
cvh
2bbeec8418 change gnu.org download location 2016-09-14 10:55:52 +02:00
Stefan Saraev
0d9b10fb05 ncurses: replace with netbsd-curses 2016-04-20 23:25:00 -07:00
Lukas Rusak
37c3c4d33e gdb: update to 7.11 2016-03-02 22:38:29 +01:00
Stefan Saraev
922fc2d398 gdb: add / to auto-load safe-path 2016-02-01 09:15:00 +01:00
Stephan Raue
f51faa070d packages: update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-01-02 17:29:56 +01:00
Stephan Raue
0cf74174ca gdb: update to gdb-7.10.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-12-18 12:37:34 +01:00
Stephan Raue
51eea0c617 gdb: update to gdb-7.10
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-09-04 23:56:38 +02:00
Stephan Raue
82fd73ce55 gdb: update to gdb-7.9.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-05-24 13:05:42 +02:00
Stephan Raue
04dc11ba15 gdb: update to gdb-7.9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-03-27 08:04:22 +01:00
Stephan Raue
9b94010caf gdb: update to gdb-7.8.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-01-17 19:35:34 +01:00
Stephan Raue
0612c11688 gdb: update to gdb-7.8.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-10-31 11:04:25 +01:00
Stephan Raue
049d05616e gdb: update to gdb-7.8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 00:58:33 +02:00
Stefan Saraev
3e140517cc gdb: update to gdb-7.7 2014-02-06 23:52:41 +02:00
Stephan Raue
8b5b7786a9 gdb: rework PKG_DEPENDS, replace and merge PKG_BUILD_DEPENDS_* with PKG_DEPENDS_*
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-01-30 14:57:03 +01:00
Stefan Saraev
4f99854a03 gdb: build without lzma 2014-01-30 14:47:15 +01:00
Stephan Raue
0f3e2d4ffa update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-21 21:51:48 +01:00
Stephan Raue
3e6156032b gdb: build with GOLD linker again
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-08-30 00:29:35 +02:00
Juergen Orschiedt
389e6bc48d gdb: fix thread debugging 2013-08-28 16:16:18 +02:00
Stephan Raue
98c9fde736 gd: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-21 19:04:08 +02:00
Stephan Raue
ea24152296 gdb: update to gdb-7.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-05 00:55:58 +02:00