[patch] PR gdb/1665 pending catch/throw catchpoints

Aleksandar Ristovski aristovski@qnx.com
Tue Apr 29 22:30:00 GMT 2008


Hello,

As per discussion here: 
http://sourceware.org/ml/gdb/2008-04/msg00241.html

Catchpoints for 'catch catch' and 'catch throw' will be made pending if the command is issued before first inferior run. 

Thanks,

Aleksandar Ristovski
QNX Software Systems.


-------------------
ChangeLog:

	PR gdb/1665
	* breakpoint.c (create_breakpoint): Add breakpoint_ops argument and
	assign its value to the breakpoint created.
	(create_breakpoints): Add breakpoint_ops argument and pass it
	to create_breakpoint call.
	(break_command_really): Add breakpoint_ops argument and pass/assign
	appropriately.
	(break_command_1): Pass NULL as ops argument.
	(set_breakpoint): Pass NULL as ops argument.
	(print_one_exception_catchpoint): Print <PENDING> if no loc available.
	(handle_gnu_v3_exceptions): Call generic breakpoint code to insert
	catch and throw catchpoints.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: breakpoint.c.catch.diff
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080429/50d347dd/attachment.ksh>


More information about the Gdb-patches mailing list