ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/mon.cpp
(Generate patch)

Comparing mon/src/mon.cpp (file contents):
Revision 1.26 by cebix, 2007-01-21T17:32:05Z vs.
Revision 1.28 by cebix, 2010-02-21T11:58:33Z

# Line 1 | Line 1
1   /*
2   *  mon.cpp - cxmon main program
3   *
4 < *  cxmon (C) 1997-2004 Christian Bauer, Marc Hellwig
4 > *  cxmon (C) Christian Bauer, Marc Hellwig
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 1050 | Line 1050 | void mon_init()
1050          mon_add_command("d86", disassemble_80x86_32,    "d86 [start [end]]        Disassemble 80x86 (32-bit) code\n");
1051          mon_add_command("d8086", disassemble_80x86_16,  "d8086 [start [end]]      Disassemble 80x86 (16-bit) code\n");
1052          mon_add_command("d8664", disassemble_x86_64,    "d8664 [start [end]]      Disassemble x86-64 code\n");
1053 +        mon_add_command("dm", disassemble_mips,                 "dm [start [end]]         Disassemble MIPS code\n");
1054 +        mon_add_command("dmel", disassemble_mipsel,             "dmel [start [end]]       Disassemble MIPS (little-endian) code\n");
1055          mon_add_command(":", modify,                                    ": start string           Modify memory\n");
1056          mon_add_command("f", fill,                                              "f start end string       Fill memory\n");
1057          mon_add_command("y", apply_byte,                                "y[b|h|w] start end expr  Apply expression to memory\n");
# Line 1112 | Line 1114 | void mon_exit()
1114   *  Main function, read-execute loop
1115   */
1116  
1117 < void mon(int argc, char **argv)
1117 > void mon(int argc, const char **argv)
1118   {
1119          bool done = false, interactive = true;
1120  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines