[patch] Assert when 'break' with no arguments

Pedro Alves palves@redhat.com
Fri Feb 24 17:16:00 GMT 2012


On 02/24/2012 04:16 PM, Aleksandar Ristovski wrote:
> I understand your motive; strictly speaking, this is more correct, so fine by me.
> 
> The error is not supposed to happen anyway :-)

Yeah :-)  I've ran the testsuite, just in case, and applied it, with:

2012-02-24  Pedro Alves  <palves@redhat.com>

	* stack.c (set_last_displayed_sal): Issue internal_error instead
	of warning, and issue it after clearing the last displayed sal.

Thanks,
-- 
Pedro Alves



More information about the Gdb-patches mailing list