This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] validate binary before use


On Thu, 28 Mar 2013 19:37:27 +0100, Jan Kratochvil wrote:
> > +if { ![istarget "*-*-nto-*"] } {
> > +  set exec_opts [list debug shlib_load]
> > +}
> > +
> > +if { [prepare_for_testing $testfile.exp $executable $srcfile $exec_opts] != 0 } {

Use build_executable here as prepare_for_testing just additionally calls
clean_restart but you do prepare_for_testing on your own later.


> > +  untested ${testfile}.exp


Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]