This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Don't throw an error in "show mpx bound" implementation
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Mon, 06 Jul 2015 08:52:08 -0400
- Subject: [binutils-gdb] Don't throw an error in "show mpx bound" implementation
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 118ca22445afc728069ca80be2f30dae6913059e ***
Author: Patrick Palka <patrick@parcs.ath.cx>
Branch: master
Commit: 118ca22445afc728069ca80be2f30dae6913059e
Don't throw an error in "show mpx bound" implementation
"show" functions should not throw an exception in part because it causes
the output of the commands "info set" and "show" to get truncated.
This fixes the following fails:
FAIL: gdb.base/default.exp: info set
FAIL: gdb.base/default.exp: show
gdb/ChangeLog:
* i386-tdep.c (i386_mpx_info_bounds): Don't call error, instead
use printf_unfiltered.
(set_mpx_cmd): Add missing trailing space to command string
literal.
(_initialize_i386_tdep): Give the "mpx" prefix command its
correct name.