This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Use gdb::byte_vector in pascal_object_print_value
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 09 Sep 2017 19:01:02 -0400
- Subject: [binutils-gdb] Use gdb::byte_vector in pascal_object_print_value
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 49663d051c70e1366f9b94f586459a329e9b7053 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 49663d051c70e1366f9b94f586459a329e9b7053
Use gdb::byte_vector in pascal_object_print_value
This changes pascal_object_print_value to use a gdb::byte_vector.
This removes a cleanup. This change also points out how the previous
code had a possible use-after-free bug.
ChangeLog
2017-09-09 Tom Tromey <tom@tromey.com>
* p-valprint.c (pascal_object_print_value): Use gdb::byte_vector.