[nemiver] Allow disassembling from address 0



commit bc193f5a015fe0e18c4b45733a62abd049aedf68
Author: Dodji Seketeli <dodji seketeli org>
Date:   Sun Apr 14 15:13:08 2013 +0200

    Allow disassembling from address 0
    
        * src/persp/dbgperspective/nmv-dbg-perspective.cc
        (DBGPerspective::disassemble_around_address_and_do): Allow
        Debugging at address 0 as some targets let meaningful stuff be
        placed there.  This is in response to a message started on the
        mailing list by an unnamed person which email address is
        Inductiveload <inductiveload gmail com>:
        https://mail.gnome.org/archives/nemiver-list/2013-March/msg00000.html.

 src/persp/dbgperspective/nmv-dbg-perspective.cc | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index d9760a9..6547439 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -7780,8 +7780,6 @@ DBGPerspective::disassemble_around_address_and_do
         return;
 
     Range addr_range (a_address, a_address);
-    THROW_IF_FAIL (addr_range.min () != 0
-                   && addr_range.max () != 0);
     // Increase the address range of instruction to disassemble by a
     // number N that is equal to m_priv->num_instr_to_disassemble.
     // 17 is the max size (in bytes) of an instruction on intel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]