[xdebug-dev] xdebug xdebug/xdebug_handler_gdb.c - Fixed bug #225: xdebug dumps core when protocol is GDB.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 12 Dec 2006 13:46:40 +0100

Date: Tue Dec 12 13:46:40 CET 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed bug #225: xdebug dumps core when protocol is GDB.

Modified files:
           xdebug/xdebug_handler_gdb.c (version: 1.82)

[FILE: /xdebug/xdebug_handler_gdb.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- xdebug/xdebug_handler_gdb.c:1.81 Mon Oct 02 08:35:00 2006 GMT
+++ xdebug/xdebug_handler_gdb.c Tue Dec 12 11:46:40 2006 GMT
@@ -1335,7 +1335,7 @@
 
 char *xdebug_gdb_get_revision(void)
 {
- return "$Revision: 1.81 $";
+ return "$Revision: 1.82 $";
 }
 
 int xdebug_gdb_init(xdebug_con *context, int mode)
@@ -1369,6 +1369,7 @@
 #endif
 
         context->function_breakpoints = xdebug_hash_alloc(64, (xdebug_hash_dtor) xdebug_hash_brk_dtor);
+ context->exception_breakpoints = xdebug_hash_alloc(64, (xdebug_hash_dtor) xdebug_hash_brk_dtor);
         context->class_breakpoints = xdebug_hash_alloc(64, (xdebug_hash_dtor) xdebug_hash_brk_dtor);
         context->line_breakpoints = xdebug_llist_alloc((xdebug_llist_dtor) xdebug_llist_brk_dtor);
         do {
@@ -1389,6 +1390,7 @@
 {
         xdfree(context->options);
         xdebug_hash_destroy(context->function_breakpoints);
+ xdebug_hash_destroy(context->exception_breakpoints);
         xdebug_hash_destroy(context->class_breakpoints);
         xdebug_llist_destroy(context->line_breakpoints, NULL);
         xdfree(context->buffer);
Received on Tue Dec 12 2006 - 13:46:45 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST