This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [PowerPC] Refactor have_ initializers in rs6000-tdep.c
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 26 Oct 2018 15:25:11 -0400
- Subject: [binutils-gdb] [PowerPC] Refactor have_ initializers in rs6000-tdep.c
*** TEST RESULTS FOR COMMIT 93b4691f0fe1f8249de3c3f9d2e271cb0ba3254e ***
Author: Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
Branch: master
Commit: 93b4691f0fe1f8249de3c3f9d2e271cb0ba3254e
[PowerPC] Refactor have_ initializers in rs6000-tdep.c
This patch refactors a series of initializers in rs6000_gdbarch_init
for clarity. The have_fpu initializer is also changed to set the
variable to 0, like the other similar variables. This doesn't affect
program behavior.
gdb/ChangeLog:
2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Replace line wrapping by a
second initializer line for the have_* variables. Initialize
have_fpu to 0 instead of 1.