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] function eval cleanup


>>>>> "Sami" == sami wagiaalla <swagiaal@redhat.com> writes:

Sami> Corrected pre-overload-resolution function evaluation.
Sami> 2010-07-20  Sami Wagiaalla  <swagiaal@redhat.com>
Sami> 	* eval.c (evaluate_subexp_standard): Disabled evaluation of C++
Sami> 	function symbols before overload resolution.

Looks good.

Just one detail...

Sami> +if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \
Sami> +      {debug c++}] != "" } {
Sami> +    untested "Couldn't compile test program"
Sami> +    return -1
Sami> +}
Sami> +
Sami> +# Get things started.
Sami> +
Sami> +gdb_exit
Sami> +gdb_start
Sami> +gdb_reinitialize_dir $srcdir/$subdir
Sami> +gdb_load ${binfile}

These days, prepare_for_testing is preferred instead of all the
boilerplate.

Ok with that change.

Tom


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