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 V2 3/5] Fortran: Resolve dynamic target types of pointers.


> From: Bernhard Heckel <bernhard.heckel@intel.com>
> Cc: gdb-patches@sourceware.org, Bernhard Heckel <bernhard.heckel@intel.com>
> Date: Mon,  4 Jul 2016 11:52:21 +0200
> 
> Dynamic target types of pointers have to be resolved before
> they can be further processed. If not, GDB wil show wrong
> boundaries, size,... or even crash as it will access some
> random memory.
> 
> 2016-06-30  Bernhard Heckel  <bernhard.heckel@intel.com>
> 
> gdb/Changelog:
> 	* NEWS: Added new fortran feature.
> 	* gdbtypes.c (resolve_dynamic_pointer_types): Resolve
> 	  dynamic target types.
> 	* valops.c (value_ind): Throw error when pointer is
> 	  not associated.
> 
> gdb/Testsuite/Changelog:
> 	* gdb.fortran/pointers.f90: Add dynamic variables.
> 	* gdb.fortran/pointers.exp: Test dynamic variables.
> 	* gdb.fortran/print_type.exp: Test pointer to dynamic
> 	  types.

OK for the NEWS part.

Thanks.


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