This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] add ppc testcase to test fpscr
- From: Daniel Jacobowitz <drow at false dot org>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Thu, 21 Aug 2008 19:31:15 -0400
- Subject: Re: [rfc] add ppc testcase to test fpscr
- References: <1219360611.8989.6.camel@localhost.localdomain>
On Thu, Aug 21, 2008 at 08:16:51PM -0300, Thiago Jung Bauermann wrote:
> Hi,
>
> I've been playing with GDB code related to powerpc's fpscr, and noticed
> that there's nothing testing it in the testsuite. This patch adds basic
> sanity checking of that register.
>
> Also, this adds the function gdb_send_cmd to lib/gdb.exp. More than once
> I've wanted to send a commad to GDB and wait to get the prompt back
> (because send_gdb is too fast and can create racy testcases). This
> function scratches that itch.
Isn't this just the same as gdb_test "command" "" "" ?
--
Daniel Jacobowitz
CodeSourcery