Patch: Adjust gdbtk-bp.c to recent change

Roland Schwingel <[email protected]>
Newsgroups gmane.comp.debugging.insight
Message-ID <[email protected]>
Hi...

Yesterday the function create_breakpoint() was extended by a new 
parameter. This breaks compilation of gdbtk.
Attached you will find a small patch that fixes this.

ChangeLog:

2012-03-14  Roland Schwingel<[email protected]>


	* generic/gdbtk-bp.c (gdb_set_bp): Adjust parameters
	of create_breakpoint() to match recent change.


Roland
gdbtk-bp.c.patch (text/plain, 303 B)
--- gdbtk-bp.c_orig	2012-03-14 13:34:46.406456000 +0100
+++ gdbtk-bp.c	2012-03-14 13:36:49.096271700 +0100
@@ -543,7 +543,7 @@
 			 (pending ? AUTO_BOOLEAN_TRUE : AUTO_BOOLEAN_FALSE),
 			 &bkpt_breakpoint_ops,
 			 0	/* from_tty */,
-			 enabled, 0);
+			 enabled, 0, 0);
     }
 
   if (e.reason < 0)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.