This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH] testsuite/gdb.dwarf2: Enable dw2-error.exp tests for arm targets
- From: "Abid, Hafiz" <Hafiz_Abid at mentor dot com>
- To: Omair Javaid <omair dot javaid at linaro dot org>, Tom Tromey <tromey at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Patch Tracking <patches at linaro dot org>
- Date: Tue, 1 Oct 2013 10:05:29 +0000
- Subject: RE: [PATCH] testsuite/gdb.dwarf2: Enable dw2-error.exp tests for arm targets
- Authentication-results: sourceware.org; auth=none
- References: <CANW4E-2JhgU6rNJApL8g_yB1EWWMXKodsbbk9Pwt76e=SKGsMA at mail dot gmail dot com> <87li4y7f69 dot fsf at fleche dot redhat dot com> <CANW4E-18_+FikhAR0tfE7-1vNuMLCiQEybgsdJhZk-UHrW_-ng at mail dot gmail dot com> <87k3icsln0 dot fsf at fleche dot redhat dot com> <CANW4E-20eiPBPs-MfXRcDGRBV-KhS8AmRqCHOifnhJ3CdTyNFw at mail dot gmail dot com> <87k3i2ca3b dot fsf at fleche dot redhat dot com> <CANW4E-0OaKChjs7KswbgE6Nfyuwi41Gjvse3ccC6xaGOgKa2FQ at mail dot gmail dot com>
> +if {[gdb_compile [list ${binfile}1.o ${binfile}2.o ] \
> + "${binfile}" executable {}] != ""} {
> + return -1
> +}
> +
> +clean_restart ${testfile}
> +
> gdb_exit
> gdb_start
> gdb_reinitialize_dir $srcdir/$subdir
This gdb_exit, gdb_start, gdb_reinitialize_dir sequence right after clean_restart tells me that perhaps one of them is redundant.