[Ada] Fix GDB output for fields in variable-length records

Eric Botcazou ebotcazou@adacore.com
Mon Jun 1 09:03:00 GMT 2015


Some fields in variable-length records are not properly decoded and thus 
garbage data is displayed by the debugger.

Tested on x86_64-suse-linux, applied on the mainline.


2015-06-01  Pierre-Marie de Rodat  <derodat@adacore.com>

	* gcc-interface/utils.c (scale_by_factor_of): When handling a function
	call expression, process the corresponding function body.  Also handle
	potential addends.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 2009 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150601/3dc1d95e/attachment.bin>


More information about the Gcc-patches mailing list