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: [RFA PATCH 2/3 V2] Add "class" option for pascal compiler


On 01/14/2015 03:04 PM, Pierre Muller wrote:

>      set result [remote_exec host $gpc_compiler "-o $dest --automake $add_flags $source"]
> @@ -120,6 +127,13 @@ proc fpc_compile {source dest type options} {
>  		append add_flags " -g"
>  	    }
>  	}
> +	if { $i == "class" } {
> +	    if [board_info $dest exists pascal_class_flags] {
> +		append add_flags " [board_info $dest pscal_class_flags]"

It'd be good to try setting this in a board file to make sure it
works.  I've spotted a typo here (same in the gpc branch): "pscal_class_flags".

Thanks,
Pedro Alves


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