History log of /haiku/src/add-ons/kernel/debugger/disasm/disasm.cpp
Revision Date Author Comments
# 224fb9cf 24-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

Fixed the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31227 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d9ea25c5 28-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed error handling in module initialization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30908 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23fdebca 24-Aug-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added option "-b <count>" to "dis". It causes up to <count>
instructions to be printed before the given address. The feature is
implemented by looking up the address of the previous symbol for the
given address and disassembling forward (two passes).
* The instuction at given address is printed highlighted (blue).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27191 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd560820 24-Aug-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Register command with add_debugger_command_etc() and show some nicer
usage text.
* Removed "length" parameter from disasm_arch_dump_insns() and the
instruction count limit. If at all this should be an architecture
implementation specific limitation.
* In the x86 case we use an input hook instead of a fixed buffer, now.
* Addressed TODO: If no address is given, the current iframe's PC is
used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27187 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0228d059 09-Aug-2008 François Revol <revol@free.fr>

allow giving count of insn to disassemble, up to 50 for now as buffer is still fixed sized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26906 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 76c9eb5b 24-Jul-2008 François Revol <revol@free.fr>

disasm kernel debugger module providing a dis addr [count] command, currently only for x86, using Udis86.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26618 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 224fb9cf6e04ccbf4dc9825e0364891f067c6c7a 24-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

Fixed the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31227 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d9ea25c51dc55f702384960fd95e4c11e99f1654 28-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed error handling in module initialization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30908 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23fdebca54748818f55701fc086e652b7d375949 24-Aug-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added option "-b <count>" to "dis". It causes up to <count>
instructions to be printed before the given address. The feature is
implemented by looking up the address of the previous symbol for the
given address and disassembling forward (two passes).
* The instuction at given address is printed highlighted (blue).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27191 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd560820779dfe7e133a4b33594ef23a53bb17e8 24-Aug-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Register command with add_debugger_command_etc() and show some nicer
usage text.
* Removed "length" parameter from disasm_arch_dump_insns() and the
instruction count limit. If at all this should be an architecture
implementation specific limitation.
* In the x86 case we use an input hook instead of a fixed buffer, now.
* Addressed TODO: If no address is given, the current iframe's PC is
used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27187 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0228d059a264f16f9843f7124afaddc7a1365c03 09-Aug-2008 François Revol <revol@free.fr>

allow giving count of insn to disassemble, up to 50 for now as buffer is still fixed sized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26906 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 76c9eb5b42cd8de19a6fc41967346bc9d2ba086f 24-Jul-2008 François Revol <revol@free.fr>

disasm kernel debugger module providing a dis addr [count] command, currently only for x86, using Udis86.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26618 a95241bf-73f2-0310-859d-f6bbb57e9c96