diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2016-04-13 14:06:51 +0200 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2016-04-13 15:01:14 +0200 |
commit | e26b7e41652e288dfdb4c48121bba470c4774150 (patch) | |
tree | 20927125f829e761568e34750b753b57dadf21ab /gdb/testsuite/ChangeLog | |
parent | 37ce0cc4b7bf61f4c81023a8245876b690121df5 (diff) | |
download | gdb-e26b7e41652e288dfdb4c48121bba470c4774150.zip gdb-e26b7e41652e288dfdb4c48121bba470c4774150.tar.gz gdb-e26b7e41652e288dfdb4c48121bba470c4774150.tar.bz2 |
btrace: fix test build error in gdb.btrace/instruction_history.c
On systems with a newer version of GCC the gdb.btrace/instruction_history.exp
test fails to build like this:
Running .../gdb.btrace/instruction_history.exp ...
gdb compile failed, .../gdb.btrace/instruction_history.c:
In function 'main': .../gdb.btrace/instruction_history.c:24:3: warning:
implicit declaration of function 'loop' [-Wimplicit-function-declaration]
loop ();
^
Declare loop to fix it.
testsuite/
* gdb.btrace/instruction_history.c (loop): Add declaration.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d3d400b..e7a0f3f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-04-13 Markus Metzger <markus.t.metzger@intel.com> + + * gdb.btrace/instruction_history.c (loop): Add declaration. + 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com> * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond". |