[Ada] Fix back-and-forth issue in debugger

Eric Botcazou ebotcazou@adacore.com
Fri Feb 24 10:10:00 GMT 2017


This is a small regression present on the mainline: under some circumstances, 
the debugger may go back and forth when stepping over a call, if the arguments 
contain string concatenations.

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


2017-02-24  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/trans.c (Handled_Sequence_Of_Statements_to_gnu): If
	there is no end label, put the location of the At_End procedure on
	the call to the procedure.

-- 
Eric Botcazo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 2632 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170224/a0a38bfe/attachment.bin>


More information about the Gcc-patches mailing list