Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: m0-debugger
Commits on May 20, 2012
  1. Correct various things to pass codingstd_tests

    authored
    Fix trailing whitespace, whitespace near parens, cuddled elses and line
    lengths.
Commits on May 19, 2012
  1. Update debugger help text

    authored
  2. Add initial breakpoint support

    authored
    Add debugger ops to add a breakpoint, list all breakpoints and a function
    to check if the line about to be executed has a breakpoint.
Commits on May 18, 2012
  1. Add make target m0_c_debugger_tests

    authored
    Add a make target to run the cm0 debugger tests and add 1 simple test.
  2. Add logic to get a script filename from the commandline

    authored
    Search argv for "-s" and if it's found load the next arg as the debugger
    script filename.
Commits on May 17, 2012
  1. Add the backend to support debugger scripting

    authored
    Add a char* field to the M0_Debugger_Info struct to store the name of the
    script file. Also, change the get_db_user_input function to read data from
    stdin or the script file as appropriate.
Commits on May 9, 2012
  1. Refactor parsing of user inputs & repeat previous command on enter ke…

    authored
    …y press
    
    Refactor parsing of user inputs to isolate string parsing and create an
    enumeration of debugger commands.
    Also, now pressing enter re-runs the previous command, a la gdb. cotto++ for
    suggesting this.
Commits on May 8, 2012
  1. Autogenerate the ops list for m0_ops.h and m0_debugger.h

    authored
    Add a way to generate ops lists for C files, add m0_ops.h and m0_debugger.h to
    the list of files to process and add templates to m0_ops.h and m0_debugger.h.
  2. Add debugger print commands

    authored
    Add debugger commands and appropriate help text:
    * p  ARG - prints ARG as hex
    * ps ARG - prints ARG as a string
    * pi ARG - prints ARG as an integer
    * pn ARG - prints ARG as a float
    NOTE: ARG must be a register name spelled in all caps
Commits on May 7, 2012
  1. Add an initial take on a simple m0-debugger

    authored
    The debugger is very simple and supports the following commands:
    * s - single step
    * c - continue
    * l - list the disassembled source code for the line about to be executed
    * h - help
    * Placeholders for a few more debugger commands
    
    The debugger can be built using 'make m0_debugger'
Commits on May 2, 2012
  1. @cotto
  2. @cotto
  3. @cotto
  4. @cotto

    add a debugging macro for c-m0

    cotto authored
  5. @cotto
  6. @cotto

    Treat argv[1] as an m0 string instead of a C string

    authored cotto committed
  7. @cotto
Commits on May 1, 2012
  1. @cotto
  2. @cotto
  3. Make interp_argv be uint64_t* instead of char**

    authored
    The pointers in interp_argv need to be uniformly 8 bytes each. This will
    make m0_args_basic access the correct argument.
Commits on Apr 30, 2012
  1. @cotto
Something went wrong with that request. Please try again.