Re: [PATCH] Recent GDB prompt/bp API updates
Keith Seitz <[email protected]>
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <[email protected]> |
On 08/01/2011 03:10 PM, Keith Seitz wrote: > If there are any problems, please let me know. There was a problem: breakpoints could not be set through the Source Window. I have committed the attach patch to correct this. Keith ChangeLog 2011-08-02 Keith Seitz <[email protected]> * generic/gdbtk-bp.c (gdb_set_bp): Pass a valid breakpoint_ops to create_breakpoint.
breakpoint_ops.patch
(text/plain, 587 B)
Index: generic/gdbtk-bp.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-bp.c,v
retrieving revision 1.42
diff -u -p -r1.42 gdbtk-bp.c
--- generic/gdbtk-bp.c 1 Aug 2011 22:08:20 -0000 1.42
+++ generic/gdbtk-bp.c 2 Aug 2011 18:05:04 -0000
@@ -540,7 +540,7 @@ gdb_set_bp (ClientData clientData, Tcl_I
bp_breakpoint /* type wanted */,
ignore_count,
(pending ? AUTO_BOOLEAN_TRUE : AUTO_BOOLEAN_FALSE),
- NULL /* breakpoint ops */,
+ &bkpt_breakpoint_ops,
0 /* from_tty */,
enabled, 0);
}