This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Outwit compiler dead code elimination in break.exp test
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: fnf at ninemoons dot com
- Cc: ac131313 at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Tue, 9 Dec 2003 01:52:41 -0500 (EST)
- Subject: Re: [PATCH] Outwit compiler dead code elimination in break.exp test
It works for me. My before-and-after tests came out clean again; all
the copyright dates look good; and the comment about the separate file
is exactly what I wanted.
Endorsed for approval.
(I'm trying to come up with some word that means "I don't have approval
authority but I'll vouch for this patch" ... "endorsed"? "recommended"?)
Michael C
===
2003-12-07 Fred Fish <fnf@redhat.com>
* gdb.base/break.c (marker1, marker2, marker3, marker4): Move
functions to break1.c and leave prototypes behind. Add more
"set breakpoint NN here" comments.
* gdb.base/break1.c: New file.
* gdb.base/break.exp: Handle compiling test case from multiple
source files and change source file references as needed.
* gdb.base/completion.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/condbreak.exp: Use bp_locationNN variables instead of
hardcoded line numbers.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/completion.exp: Use "break1" for completion tests since
"break" is no longer a unique prefix.