Author: martin
Date: 2007-10-31 10:08:20 -0500 (Wed, 31 Oct 2007)
New Revision: 88560

Modified:
   branches/martin/debugger-plophos/debugger/backend/BreakpointManager.cs
   branches/martin/debugger-plophos/debugger/backend/server/breakpoints.c
   branches/martin/debugger-plophos/debugger/backend/server/breakpoints.h
Log:


Modified: branches/martin/debugger-plophos/debugger/backend/BreakpointManager.cs
===================================================================
--- branches/martin/debugger-plophos/debugger/backend/BreakpointManager.cs      
2007-10-31 15:05:59 UTC (rev 88559)
+++ branches/martin/debugger-plophos/debugger/backend/BreakpointManager.cs      
2007-10-31 15:08:20 UTC (rev 88560)
@@ -32,9 +32,6 @@
                static extern void mono_debugger_breakpoint_manager_unlock ();
 
                [DllImport("monodebuggerserver")]
-               static extern bool 
mono_debugger_breakpoint_manager_is_any_bpt_in_memory_area (IntPtr manager, 
long start, int size);
-
-               [DllImport("monodebuggerserver")]
                static extern int mono_debugger_breakpoint_info_get_id (IntPtr 
info);
 
                [DllImport("monodebuggerserver")]
@@ -237,17 +234,6 @@
                        }
                }
 
-               public bool IsAnyBreakpointInMemoryArea (TargetAddress address, 
int size)
-               {
-                       Lock ();
-                       try {
-                               return 
mono_debugger_breakpoint_manager_is_any_bpt_in_memory_area (
-                                       _manager, address.Address, size);
-                       } finally {
-                               Unlock ();
-                       }
-               }
-
                public void DomainUnload (Inferior inferior, int domain)
                {
                        Lock ();

Modified: branches/martin/debugger-plophos/debugger/backend/server/breakpoints.c
===================================================================
--- branches/martin/debugger-plophos/debugger/backend/server/breakpoints.c      
2007-10-31 15:05:59 UTC (rev 88559)
+++ branches/martin/debugger-plophos/debugger/backend/server/breakpoints.c      
2007-10-31 15:08:20 UTC (rev 88560)
@@ -105,27 +105,6 @@
        return ++last_breakpoint_id;
 }
 
-gboolean
-mono_debugger_breakpoint_manager_is_any_bpt_in_memory_area (BreakpointManager 
*bpm,
-                                                           guint64 start, 
guint32 size)
-{
-       int i;
-
-       for (i = 0; i < bpm->breakpoints->len; i++) {
-               BreakpointInfo *info = g_ptr_array_index (bpm->breakpoints, i);
-               guint64 offset;
-
-               if (info->is_hardware_bpt || !info->enabled)
-                       continue;
-               if ((info->address < start) || (info->address >= start+size))
-                       continue;
-
-               return TRUE;
-       }
-
-       return FALSE;
-}
-
 int
 mono_debugger_breakpoint_info_get_id (BreakpointInfo *info)
 {

Modified: branches/martin/debugger-plophos/debugger/backend/server/breakpoints.h
===================================================================
--- branches/martin/debugger-plophos/debugger/backend/server/breakpoints.h      
2007-10-31 15:05:59 UTC (rev 88559)
+++ branches/martin/debugger-plophos/debugger/backend/server/breakpoints.h      
2007-10-31 15:08:20 UTC (rev 88560)
@@ -60,10 +60,6 @@
 GPtrArray *
 mono_debugger_breakpoint_manager_get_breakpoints     (BreakpointManager *bpm);
 
-gboolean
-mono_debugger_breakpoint_manager_is_any_bpt_in_memory_area (BreakpointManager 
*bpm,
-                                                           guint64 start, 
guint32 size);
-
 void
 mono_debugger_breakpoint_manager_remove              (BreakpointManager *bpm, 
BreakpointInfo *breakpoint);
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to