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
On Thu, 2008-08-21 at 19:31 -0400, Daniel Jacobowitz wrote:
> > 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" "" "" ?
Tried that, didn't work. Your command would check for:
-re "\[\r\n\]*()\[\r\n\]+$gdb_prompt $"
Which apparently is not good...
I admit I didn't look that much into it.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center