svn commit: r464493 - in head/devel/gdb: . files files/kgdb
Jung-uk Kim
jkim at FreeBSD.org
Thu Mar 15 21:08:24 UTC 2018
On 03/15/2018 15:19, Jung-uk Kim wrote:
> On 03/15/2018 10:26, Michal Meloun wrote:
>>
>>
>> On 14.03.2018 15:33, Luca Pizzamiglio wrote:
>>> Author: pizzamig
>>> Date: Wed Mar 14 14:33:21 2018
>>> New Revision: 464493
>>> URL: https://svnweb.freebsd.org/changeset/ports/464493
>>>
>>> Log:
>>> devel/gdb: Update to version 8.1
>>> The official annoucement is available here:
>>> https://www.gnu.org/software/gdb/download/ANNOUNCEMENT
>>> Moreover:
>>> * support for 'info proc' is added (jhb@)
>>> * update kgdb to use gdb 8.1
>>> Reviewed by: jhb@
>>> Differential Revision: https://reviews.freebsd.org/D14148
>>>
>> This caused breakage for (at least) amd64, armv6, armv7, arm64 on
>> 12/head. On all these arches, compile fails with:
>> (taken from amd64 build)
>>
>> arch/arm-get-next-pcs.c:52:26: error: constant expression evaluates to
>> -1 which cannot be narrowed
>> to type 'CORE_ADDR' (aka 'unsigned long') [-Wc++11-narrowing]
>> CORE_ADDR breaks[2] = {-1, -1};
>> ^~
>> arch/arm-get-next-pcs.c:52:26: note: insert an explicit cast to silence
>> this issue
>> CORE_ADDR breaks[2] = {-1, -1};
> ...
>
> The attached patch worked around the problem for me.
While we are at it, we should remove "-Wno-extended-offsetof" from
CFLAGS. It was deprecated in Clang 6.
https://llvm.org/viewvc/llvm-project?view=revision&revision=318796
Jung-uk Kim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.diff
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20180315/443eaea5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20180315/443eaea5/attachment.sig>
More information about the svn-ports-head
mailing list