• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision13cdc2afb7873547ec2910ba647fb4a68602252f (tree)
Time2016-07-05 17:48:25
AuthorJan Kratochvil <jan.kratochvil@redh...>
CommiterJan Kratochvil

Log Message

babeltrace compilation regression

Since:
commit 2d681be471cf8aff8f296cb7713c39e9aa4fc2bb
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Wed Apr 27 15:52:16 2016 +0200
Avoid non-C++-enabled babeltrace versions
tested with:
libbabeltrace-devel-1.2.4-4.fc24.x86_64
libbabeltrace-devel-1.4.0-2.fc25.x86_64
it can no longer build due to:
configure:16435: gcc -o conftest -m64 -g3 -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -fno-diagno
stics-show-caret -Werror -static-libstdc++ -static-libgcc conftest.c -ldl -ldl -lncurses -lm -ldl -lbabeltrace -lbabeltrace-ctf >&5
conftest.c: In function 'main':
conftest.c:208:7: error: 'pos' is a pointer; did you mean to use '->'?

gdb/ChangeLog
2016-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>

* configure: Regenerate.
* configure.ac (HAVE_LIBBABELTRACE): Fix pos variable dereference.

Change Summary

Incremental Difference

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
1+2016-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2+
3+ * configure: Regenerate.
4+ * configure.ac (HAVE_LIBBABELTRACE): Fix pos variable dereference.
5+
16 2016-07-01 Don Breazeal <donb@codesourcery.com>
27
38 * remote.c (remote_get_memory_xfer_limit): New function.
--- a/gdb/configure
+++ b/gdb/configure
@@ -16422,7 +16422,7 @@ struct bt_iter_pos *pos = bt_iter_get_pos (bt_ctf_get_iter (NULL));
1642216422 struct bt_ctf_event *event = NULL;
1642316423 const struct bt_definition *scope;
1642416424
16425- pos.type = BT_SEEK_BEGIN;
16425+ pos->type = BT_SEEK_BEGIN;
1642616426 bt_iter_set_pos (bt_ctf_get_iter (NULL), pos);
1642716427 scope = bt_ctf_get_top_level_scope (event,
1642816428 BT_STREAM_EVENT_HEADER);
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -2309,7 +2309,7 @@ else
23092309 struct bt_ctf_event *event = NULL;
23102310 const struct bt_definition *scope;
23112311
2312- pos.type = BT_SEEK_BEGIN;
2312+ pos->type = BT_SEEK_BEGIN;
23132313 bt_iter_set_pos (bt_ctf_get_iter (NULL), pos);
23142314 scope = bt_ctf_get_top_level_scope (event,
23152315 BT_STREAM_EVENT_HEADER);