This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: gdb.base/break.c change
Daniel Jacobowitz wrote:
Wrong patch checked in; you added a verbose -log and didn't fix the
test. Bit late there by now, but could you check your working
directory tomorrow? Thanks in advance.
oh, what a pigs ear I made of that.
Here's what I've now checked in. No more checking in when I'm tired.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
* gdb.base/break.c (main): Move position of malloc.
* gdb.base/break.exp: Revert mistaken checkin.
Index: gdb.base/break.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/break.exp,v
retrieving revision 1.25
diff -r1.25 break.exp
183,193d182
< verbose -log "Num Type\[ \]+Disp Enb Address\[ \]+What.*
< \[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$main_line.*
< \[0-9\]+\[\t \]+breakpoint keep y.* in marker2 at .*$srcfile1:($bp_location8|$bp_location9).*
< \[0-9\]+\[\t \]+breakpoint keep y.* in factorial$proto at .*$srcfile:$bp_location7.*
< \[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$bp_location1.*
< \[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$bp_location1.*
< \[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$bp_location2.*
< \[0-9\]+\[\t \]+breakpoint keep y.* in multi_line_if_conditional at .*$srcfile:$bp_location3.*
< \[0-9\]+\[\t \]+breakpoint keep y.* in multi_line_while_conditional at .*$srcfile:$bp_location4" \
< 2
<
Index: gdb.base/break.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/break.c,v
retrieving revision 1.6
diff -r1.6 break.c
90,93d89
< /* We're used by a test that requires malloc, so make sure it is
< in the executable. */
< (void)malloc (1);
<
103a100,103
> /* We're used by a test that requires malloc, so make sure it is
> in the executable. */
> (void)malloc (1);
>