public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [aarch64] Handle unknown instruction encoding
@ 2015-05-27 16:42 sergiodj+buildbot
  2015-05-27 17:00 ` Failures on Debian-i686, branch master sergiodj+buildbot
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: sergiodj+buildbot @ 2015-05-27 16:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f62fce356bf1df27e01fc40a3a277fc924019ee7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: f62fce356bf1df27e01fc40a3a277fc924019ee7

[aarch64] Handle unknown instruction encoding
We see the following build error:

 gdb/aarch64-tdep.c: In function 'aarch64_process_record':
 gdb/aarch64-tdep.c:2823:17: error: 'record_buf[0]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
                 memcpy(&REGS[0], &RECORD_BUF[0], sizeof(uint32_t)*LENGTH); \
                 ^
 gdb/aarch64-tdep.c:3529:12: note: 'record_buf[0]' was declared here
   uint32_t record_buf[2];

since record_buf[0] isn't initialized in some paths in which
instruction encodings doesn't exist in current ARMv8 reference manual.
This patch is to let the function return AARCH64_RECORD_UNKNOWN for
these paths.

gdb:

2015-05-27  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_record_data_proc_simd_fp): Return
	AARCH64_RECORD_UNKNOWN for unknown instruction encoding.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-05-27 18:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-27 16:42 [binutils-gdb] [aarch64] Handle unknown instruction encoding sergiodj+buildbot
2015-05-27 17:00 ` Failures on Debian-i686, branch master sergiodj+buildbot
2015-05-27 17:06 ` Failures on Debian-i686-native-gdbserver, " sergiodj+buildbot
2015-05-27 17:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-05-27 17:17 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2015-05-27 17:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-05-27 17:22 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2015-05-27 17:25 ` Failures on Debian-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-05-27 17:40 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2015-05-27 17:49 ` Failures on Debian-x86_64-m64, " sergiodj+buildbot
2015-05-27 18:28 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-05-27 19:35 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).