<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/contrib/gdb, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2019-11-01T11:28:43Z</updated>
<entry>
<title>[PPC64] Fix GDB sigtramp detection</title>
<updated>2019-11-01T11:28:43Z</updated>
<author>
<name>Leandro Lupori</name>
<email>luporl@FreeBSD.org</email>
</author>
<published>2019-11-01T11:28:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9d8d1209839f802b4cdaeb794cca2d2b5597a9a5'/>
<id>urn:sha1:9d8d1209839f802b4cdaeb794cca2d2b5597a9a5</id>
<content type='text'>
Current implementation of ppcfbsd_pc_in_sigtramp() seems to take only 32-bit
PowerPC in account, as on 64-bit PowerPC most kernel instruction addresses will
be wrongly reported as in sigtramp.

This change adds proper sigtramp detection for PPC64.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D22199
</content>
</entry>
<entry>
<title>Remove usesless readline compat includes which will reinclude readline.h</title>
<updated>2019-09-12T08:54:48Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2019-09-12T08:54:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d3a4d5586634d19b0296560d33afc8f8daefa8c5'/>
<id>urn:sha1:d3a4d5586634d19b0296560d33afc8f8daefa8c5</id>
<content type='text'>
itself.

This simplifies the upcoming update to newer libedit.
</content>
</entry>
<entry>
<title>Commit forgotten change in gdb allowing to use libedit</title>
<updated>2018-02-06T12:17:03Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2018-02-06T12:17:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=0b0d7292372ffa26df00d65db5a7f484edc66640'/>
<id>urn:sha1:0b0d7292372ffa26df00d65db5a7f484edc66640</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix KGDB backtrace on ARM</title>
<updated>2016-04-20T17:58:13Z</updated>
<author>
<name>Wojciech Macek</name>
<email>wma@FreeBSD.org</email>
</author>
<published>2016-04-20T17:58:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d4015ddc57f4920eaf184ab5c5dc246140142c5a'/>
<id>urn:sha1:d4015ddc57f4920eaf184ab5c5dc246140142c5a</id>
<content type='text'>
Modify trapframe decoding to properly analyze trapframe.

Provide method for fixup_pc. It happens, that in some kernel
functions, the GDB stack frame decoder cannot determine both
func name and frame size. This is because these functions
either contain invalid instruction, or their format does
not match standard schema. Detect that scenarios and move
PC accordingly to jump into known function schema, which
GDB is able to parse.

Obtained from:         Semihalf
Sponsored by:          Juniper Networks
Reviewed by:           kib, zbb
Differential Revision: https://reviews.freebsd.org/D5976
</content>
</entry>
<entry>
<title>Workaround KGDB issues on ARM by ignoring ARM EABI version higher than 5</title>
<updated>2015-10-30T12:21:37Z</updated>
<author>
<name>Zbigniew Bodek</name>
<email>zbb@FreeBSD.org</email>
</author>
<published>2015-10-30T12:21:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f62dbbae616ca0ceaa84e5705e3530be456ad501'/>
<id>urn:sha1:f62dbbae616ca0ceaa84e5705e3530be456ad501</id>
<content type='text'>
To make KGDB working, it needs to understand kernel ELF image.
By default it is compiled using EABI_5, which is not supported
on the gdb-6. As a workaround, treat these images as EABI_2 because
they share a lot of things in common.

This workaround does not guarantee ALL funtionalities
to work.

Submitted by:  Wojciech Macek &lt;wma@semihalf.com&gt;
Reviewed by:   jhb
Obtained from: Semihalf
Sponsored by:  Juniper Networks Inc.
Differential Revision: https://reviews.freebsd.org/D4012
</content>
</entry>
<entry>
<title>Update intree gdb/kgdb to handle 2 dwarf types:</title>
<updated>2015-05-17T15:49:38Z</updated>
<author>
<name>Sean Bruno</name>
<email>sbruno@FreeBSD.org</email>
</author>
<published>2015-05-17T15:49:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=76da95eba4fc446d18860ce2f3a25574e6f94a16'/>
<id>urn:sha1:76da95eba4fc446d18860ce2f3a25574e6f94a16</id>
<content type='text'>
DW_OP_GNU_uninit
DW_OP_piece

This squashes the warnings about type 0x93 not known in kgdb when opening a kernel crash dump.

Upstream refs:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=87808bd699575a850139a1f916512ab7a47fd496
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=42be36b328ae784ae6981da7c7cab95b67ed7737
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=23572ecadc89af384c1804ad7692f32c55fbfc80

Differential Revision:	https://reviews.freebsd.org/D2534
Reviewed by:	emaste, jhb, davide
</content>
</entry>
<entry>
<title>MFV	r277658:</title>
<updated>2015-01-24T21:05:18Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2015-01-24T21:05:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=82b6caf97a4d152910de2c0b53a3ca81da8aad40'/>
<id>urn:sha1:82b6caf97a4d152910de2c0b53a3ca81da8aad40</id>
<content type='text'>
GDB: Replace use of sprintf.

2005-03-17  Mark Kettenis  &lt;kettenis@gnu.org&gt;

      * corelow.c (get_core_register_section): Replace usage of sprintf
      and strcpy with xstrprintf and xstrdup.

Sourceware commit:	3ecda4574edb38ad12fb491ccaf6d9b0caa3a07a

CID:	1006819
MFC after:	4 days
</content>
</entry>
<entry>
<title>MFV:	r277654</title>
<updated>2015-01-24T20:25:21Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2015-01-24T20:25:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=af2c167e631b97f50baebab178f5453198e2cc4f'/>
<id>urn:sha1:af2c167e631b97f50baebab178f5453198e2cc4f</id>
<content type='text'>
gdb: Add missing break statements

2004-05-21  Jim Blandy  &lt;jimb@redhat.com&gt;

       * dwarf2expr.c (execute_stack_op): Add 'break' statements after
       cases for DW_OP_div and DW_OP_shr.  (Thanks to Reva Cuthbertson.)

Sourceware commit	99c87dab95747d380392a3698740507a21ad3236

CID:	1008254
MFC after:	4 days
</content>
</entry>
<entry>
<title>MFV r277607:</title>
<updated>2015-01-23T20:40:31Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2015-01-23T20:40:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f860bc065abb40f8fa7ba7e05596377c9ac52dd9'/>
<id>urn:sha1:f860bc065abb40f8fa7ba7e05596377c9ac52dd9</id>
<content type='text'>
GDB: Fix memset thinkos.

2005-03-25  Anthony Green  &lt;green@redhat.com&gt;

       * remote.c (remote_store_registers): Fix memset usage.
       * std-regs.c (value_of_builtin_frame_reg): Ditto.
       (value_of_builtin_frame_fp_reg): Ditto.
       (value_of_builtin_frame_reg): Ditto.

Reported by:	Dirk Engling
CID:		604160, 604161, 604162, 604163
MFC after:	5 days
</content>
</entry>
<entry>
<title>recognize the FreeBSD ARCH tag that is put on binaries like on armeb</title>
<updated>2014-02-12T02:03:37Z</updated>
<author>
<name>John-Mark Gurney</name>
<email>jmg@FreeBSD.org</email>
</author>
<published>2014-02-12T02:03:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=85e5839202cb355b70bc0030010f96712570426e'/>
<id>urn:sha1:85e5839202cb355b70bc0030010f96712570426e</id>
<content type='text'>
EABI binaries...

MFC after:	1 week
</content>
</entry>
</feed>
