[RFA] Add new test for breakpoints on templates

Jerome Guitton guitton@adacore.com
Tue Dec 16 16:26:00 GMT 2008


This is related to:

http://sourceware.org/ml/gdb-patches/2008-12/msg00310.html

Basically, this checks that a breakpoint on a "no-code line" will
be expanded in several locations (one per template instance).

OK to apply ?


2008-12-16  Jerome Guitton  <guitton@adacore.com>

	* gdb.cp/templates.cpp (GetMax): New template.
	(main): Declare two instances of GetMax.
	* gdb.cp/templates.exp: Add new test.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: template_test.diff
Type: text/x-diff
Size: 1668 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20081216/2015ae99/attachment.bin>


More information about the Gdb-patches mailing list