public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Use int instead of LONGEST in tdesc_type sizes.
@ 2016-03-15 20:16 sergiodj+buildbot
  2016-03-15 20:25 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
  2016-03-15 21:44 ` Failures on AIX-POWER7-plain, " sergiodj+buildbot
  0 siblings, 2 replies; 3+ messages in thread
From: sergiodj+buildbot @ 2016-03-15 20:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 54157a25aa28ba78e1da1dfa06e6c988d75e88f1 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 54157a25aa28ba78e1da1dfa06e6c988d75e88f1

Use int instead of LONGEST in tdesc_type sizes.

gdb/ChangeLog:

	* target-descriptions.c (struct tdesc_type) <u.u.size>: Change type
	from LONGEST to int.
	(struct tdesc_type) <u.f.size>: Ditto.
	(tdesc_set_struct_size): Change type of "size" arg from LONGEST
	to int.  Add assertion size > 0.
	(tdesc_create_flags): Ditto.
	* target-descriptions.h (tdesc_set_struct_size): Update.
	(tdesc_create_flags): Update.
	* xml-tdesc.c (MAX_FIELD_SIZE, MAX_FIELD_BITSIZE): New macros.
	(MAX_VECTOR_SIZE): New macro.
	(tdesc_start_struct): Catch conversion errors from LONGEST to int.
	(tdesc_start_flags, tdesc_start_field, tdesc_start_vector): Ditto.


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

end of thread, other threads:[~2016-03-15 21:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-15 20:16 [binutils-gdb] Use int instead of LONGEST in tdesc_type sizes sergiodj+buildbot
2016-03-15 20:25 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
2016-03-15 21:44 ` Failures on AIX-POWER7-plain, " 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).