2002-11-03 00:01:44 +00:00
|
|
|
/*
|
|
|
|
* BedBug Functions
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
2014-04-11 02:01:25 +00:00
|
|
|
#include <cli.h>
|
2002-11-03 00:01:44 +00:00
|
|
|
#include <command.h>
|
|
|
|
#include <linux/ctype.h>
|
|
|
|
#include <net.h>
|
2003-06-27 21:31:46 +00:00
|
|
|
#include <bedbug/type.h>
|
2002-11-03 00:01:44 +00:00
|
|
|
#include <bedbug/bedbug.h>
|
|
|
|
#include <bedbug/regs.h>
|
|
|
|
#include <bedbug/ppc.h>
|
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
|
|
|
|
|
|
extern void show_regs __P ((struct pt_regs *));
|
|
|
|
extern int run_command __P ((const char *, int));
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
ulong dis_last_addr = 0; /* Last address disassembled */
|
|
|
|
ulong dis_last_len = 20; /* Default disassembler length */
|
|
|
|
CPU_DEBUG_CTX bug_ctx; /* Bedbug context structure */
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
/* ======================================================================
|
|
|
|
* U-Boot's puts function does not append a newline, so the bedbug stuff
|
|
|
|
* will use this for the output of the dis/assembler.
|
|
|
|
* ====================================================================== */
|
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
int bedbug_puts (const char *str)
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
/* -------------------------------------------------- */
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
printf ("%s\r\n", str);
|
|
|
|
return 0;
|
|
|
|
} /* bedbug_puts */
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* ======================================================================
|
|
|
|
* Initialize the bug_ctx structure used by the bedbug debugger. This is
|
|
|
|
* specific to the CPU since each has different debug registers and
|
|
|
|
* settings.
|
|
|
|
* ====================================================================== */
|
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
void bedbug_init (void)
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
/* -------------------------------------------------- */
|
2002-11-03 00:01:44 +00:00
|
|
|
|
|
|
|
#if defined(CONFIG_4xx)
|
2006-03-31 16:32:53 +00:00
|
|
|
void bedbug405_init (void);
|
|
|
|
|
|
|
|
bedbug405_init ();
|
2003-04-10 11:18:18 +00:00
|
|
|
#elif defined(CONFIG_8xx)
|
2006-03-31 16:32:53 +00:00
|
|
|
void bedbug860_init (void);
|
|
|
|
|
|
|
|
bedbug860_init ();
|
2002-11-03 00:01:44 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_MPC824X) || defined(CONFIG_MPC8260)
|
2006-03-31 16:32:53 +00:00
|
|
|
/* Processors that are 603e core based */
|
|
|
|
void bedbug603e_init (void);
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
bedbug603e_init ();
|
2002-11-03 00:01:44 +00:00
|
|
|
#endif
|
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
return;
|
|
|
|
} /* bedbug_init */
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* ======================================================================
|
|
|
|
* Entry point from the interpreter to the disassembler. Repeated calls
|
|
|
|
* will resume from the last disassembled address.
|
|
|
|
* ====================================================================== */
|
2010-06-28 20:00:46 +00:00
|
|
|
int do_bedbug_dis (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
ulong addr; /* Address to start disassembly from */
|
|
|
|
ulong len; /* # of instructions to disassemble */
|
|
|
|
|
|
|
|
/* -------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Setup to go from the last address if none is given */
|
|
|
|
addr = dis_last_addr;
|
|
|
|
len = dis_last_len;
|
|
|
|
|
2010-07-16 23:06:04 +00:00
|
|
|
if (argc < 2)
|
2011-12-10 08:44:01 +00:00
|
|
|
return CMD_RET_USAGE;
|
2006-03-31 16:32:53 +00:00
|
|
|
|
|
|
|
if ((flag & CMD_FLAG_REPEAT) == 0) {
|
|
|
|
/* New command */
|
|
|
|
addr = simple_strtoul (argv[1], NULL, 16);
|
|
|
|
|
|
|
|
/* If an extra param is given then it is the length */
|
|
|
|
if (argc > 2)
|
|
|
|
len = simple_strtoul (argv[2], NULL, 16);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Run the disassembler */
|
|
|
|
disppc ((unsigned char *) addr, 0, len, bedbug_puts, F_RADHEX);
|
|
|
|
|
|
|
|
dis_last_addr = addr + (len * 4);
|
|
|
|
dis_last_len = len;
|
|
|
|
return 0;
|
|
|
|
} /* do_bedbug_dis */
|
|
|
|
|
|
|
|
U_BOOT_CMD (ds, 3, 1, do_bedbug_dis,
|
2009-01-28 00:03:12 +00:00
|
|
|
"disassemble memory",
|
2009-05-24 15:06:54 +00:00
|
|
|
"ds <address> [# instructions]");
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
/* ======================================================================
|
|
|
|
* Entry point from the interpreter to the assembler. Assembles
|
|
|
|
* instructions in consecutive memory locations until a '.' (period) is
|
|
|
|
* entered on a line by itself.
|
|
|
|
* ====================================================================== */
|
2010-06-28 20:00:46 +00:00
|
|
|
int do_bedbug_asm (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
long mem_addr; /* Address to assemble into */
|
|
|
|
unsigned long instr; /* Machine code for text */
|
|
|
|
char prompt[15]; /* Prompt string for user input */
|
|
|
|
int asm_err; /* Error code from the assembler */
|
|
|
|
|
|
|
|
/* -------------------------------------------------- */
|
|
|
|
int rcode = 0;
|
|
|
|
|
2010-07-16 23:06:04 +00:00
|
|
|
if (argc < 2)
|
2011-12-10 08:44:01 +00:00
|
|
|
return CMD_RET_USAGE;
|
2006-03-31 16:32:53 +00:00
|
|
|
|
|
|
|
printf ("\nEnter '.' when done\n");
|
|
|
|
mem_addr = simple_strtoul (argv[1], NULL, 16);
|
|
|
|
|
|
|
|
while (1) {
|
|
|
|
putc ('\n');
|
|
|
|
disppc ((unsigned char *) mem_addr, 0, 1, bedbug_puts,
|
|
|
|
F_RADHEX);
|
|
|
|
|
|
|
|
sprintf (prompt, "%08lx: ", mem_addr);
|
2014-04-11 02:01:27 +00:00
|
|
|
cli_readline(prompt);
|
2006-03-31 16:32:53 +00:00
|
|
|
|
|
|
|
if (console_buffer[0] && strcmp (console_buffer, ".")) {
|
|
|
|
if ((instr =
|
|
|
|
asmppc (mem_addr, console_buffer,
|
|
|
|
&asm_err)) != 0) {
|
|
|
|
*(unsigned long *) mem_addr = instr;
|
|
|
|
mem_addr += 4;
|
|
|
|
} else {
|
|
|
|
printf ("*** Error: %s ***\n",
|
|
|
|
asm_error_str (asm_err));
|
|
|
|
rcode = 1;
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return rcode;
|
|
|
|
} /* do_bedbug_asm */
|
|
|
|
|
|
|
|
U_BOOT_CMD (as, 2, 0, do_bedbug_asm,
|
2009-05-24 15:06:54 +00:00
|
|
|
"assemble memory", "as <address>");
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
/* ======================================================================
|
|
|
|
* Used to set a break point from the interpreter. Simply calls into the
|
|
|
|
* CPU-specific break point set routine.
|
|
|
|
* ====================================================================== */
|
|
|
|
|
2010-06-28 20:00:46 +00:00
|
|
|
int do_bedbug_break (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
/* -------------------------------------------------- */
|
|
|
|
if (bug_ctx.do_break)
|
|
|
|
(*bug_ctx.do_break) (cmdtp, flag, argc, argv);
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
} /* do_bedbug_break */
|
|
|
|
|
|
|
|
U_BOOT_CMD (break, 3, 0, do_bedbug_break,
|
2009-01-28 00:03:12 +00:00
|
|
|
"set or clear a breakpoint",
|
2006-03-31 16:32:53 +00:00
|
|
|
" - Set or clear a breakpoint\n"
|
|
|
|
"break <address> - Break at an address\n"
|
|
|
|
"break off <bp#> - Disable breakpoint.\n"
|
2009-05-24 15:06:54 +00:00
|
|
|
"break show - List breakpoints.");
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
/* ======================================================================
|
|
|
|
* Called from the debug interrupt routine. Simply calls the CPU-specific
|
|
|
|
* breakpoint handling routine.
|
|
|
|
* ====================================================================== */
|
|
|
|
|
|
|
|
void do_bedbug_breakpoint (struct pt_regs *regs)
|
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
/* -------------------------------------------------- */
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
if (bug_ctx.break_isr)
|
|
|
|
(*bug_ctx.break_isr) (regs);
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
return;
|
|
|
|
} /* do_bedbug_breakpoint */
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* ======================================================================
|
|
|
|
* Called from the CPU-specific breakpoint handling routine. Enter a
|
|
|
|
* mini main loop until the stopped flag is cleared from the breakpoint
|
|
|
|
* context.
|
|
|
|
*
|
|
|
|
* This handles the parts of the debugger that are common to all CPU's.
|
|
|
|
* ====================================================================== */
|
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
void bedbug_main_loop (unsigned long addr, struct pt_regs *regs)
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
int len; /* Length of command line */
|
|
|
|
int flag; /* Command flags */
|
|
|
|
int rc = 0; /* Result from run_command */
|
|
|
|
char prompt_str[20]; /* Prompt string */
|
2008-10-16 13:01:15 +00:00
|
|
|
static char lastcommand[CONFIG_SYS_CBSIZE] = { 0 }; /* previous command */
|
2006-03-31 16:32:53 +00:00
|
|
|
/* -------------------------------------------------- */
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
if (bug_ctx.clear)
|
|
|
|
(*bug_ctx.clear) (bug_ctx.current_bp);
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
printf ("Breakpoint %d: ", bug_ctx.current_bp);
|
|
|
|
disppc ((unsigned char *) addr, 0, 1, bedbug_puts, F_RADHEX);
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
bug_ctx.stopped = 1;
|
|
|
|
bug_ctx.regs = regs;
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
sprintf (prompt_str, "BEDBUG.%d =>", bug_ctx.current_bp);
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
/* A miniature main loop */
|
|
|
|
while (bug_ctx.stopped) {
|
2014-04-11 02:01:27 +00:00
|
|
|
len = cli_readline(prompt_str);
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
flag = 0; /* assume no special flags for now */
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
if (len > 0)
|
|
|
|
strcpy (lastcommand, console_buffer);
|
|
|
|
else if (len == 0)
|
|
|
|
flag |= CMD_FLAG_REPEAT;
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
if (len == -1)
|
|
|
|
printf ("<INTERRUPT>\n");
|
|
|
|
else
|
2012-02-14 19:59:21 +00:00
|
|
|
rc = run_command(lastcommand, flag);
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
if (rc <= 0) {
|
|
|
|
/* invalid command or not repeatable, forget it */
|
|
|
|
lastcommand[0] = 0;
|
|
|
|
}
|
|
|
|
}
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
bug_ctx.regs = NULL;
|
|
|
|
bug_ctx.current_bp = 0;
|
2002-11-03 00:01:44 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
return;
|
|
|
|
} /* bedbug_main_loop */
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* ======================================================================
|
|
|
|
* Interpreter command to continue from a breakpoint. Just clears the
|
|
|
|
* stopped flag in the context so that the breakpoint routine will
|
|
|
|
* return.
|
|
|
|
* ====================================================================== */
|
2010-06-28 20:00:46 +00:00
|
|
|
int do_bedbug_continue (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
/* -------------------------------------------------- */
|
|
|
|
|
|
|
|
if (!bug_ctx.stopped) {
|
|
|
|
printf ("Not at a breakpoint\n");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
bug_ctx.stopped = 0;
|
|
|
|
return 0;
|
|
|
|
} /* do_bedbug_continue */
|
|
|
|
|
|
|
|
U_BOOT_CMD (continue, 1, 0, do_bedbug_continue,
|
2009-01-28 00:03:12 +00:00
|
|
|
"continue from a breakpoint",
|
2009-05-24 15:06:54 +00:00
|
|
|
"");
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
/* ======================================================================
|
|
|
|
* Interpreter command to continue to the next instruction, stepping into
|
|
|
|
* subroutines. Works by calling the find_next_addr() routine to compute
|
|
|
|
* the address passes control to the CPU-specific set breakpoint routine
|
|
|
|
* for the current breakpoint number.
|
|
|
|
* ====================================================================== */
|
2010-06-28 20:00:46 +00:00
|
|
|
int do_bedbug_step (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
unsigned long addr; /* Address to stop at */
|
|
|
|
|
|
|
|
/* -------------------------------------------------- */
|
|
|
|
|
|
|
|
if (!bug_ctx.stopped) {
|
|
|
|
printf ("Not at a breakpoint\n");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2013-04-01 18:29:11 +00:00
|
|
|
if (!find_next_address((unsigned char *) &addr, false, bug_ctx.regs))
|
2006-03-31 16:32:53 +00:00
|
|
|
return 1;
|
|
|
|
|
|
|
|
if (bug_ctx.set)
|
|
|
|
(*bug_ctx.set) (bug_ctx.current_bp, addr);
|
|
|
|
|
|
|
|
bug_ctx.stopped = 0;
|
|
|
|
return 0;
|
|
|
|
} /* do_bedbug_step */
|
|
|
|
|
|
|
|
U_BOOT_CMD (step, 1, 1, do_bedbug_step,
|
2009-01-28 00:03:12 +00:00
|
|
|
"single step execution.",
|
2009-05-24 15:06:54 +00:00
|
|
|
"");
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
/* ======================================================================
|
|
|
|
* Interpreter command to continue to the next instruction, stepping over
|
|
|
|
* subroutines. Works by calling the find_next_addr() routine to compute
|
|
|
|
* the address passes control to the CPU-specific set breakpoint routine
|
|
|
|
* for the current breakpoint number.
|
|
|
|
* ====================================================================== */
|
2010-06-28 20:00:46 +00:00
|
|
|
int do_bedbug_next (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
unsigned long addr; /* Address to stop at */
|
|
|
|
|
|
|
|
/* -------------------------------------------------- */
|
|
|
|
|
|
|
|
if (!bug_ctx.stopped) {
|
|
|
|
printf ("Not at a breakpoint\n");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2013-04-01 18:29:11 +00:00
|
|
|
if (!find_next_address((unsigned char *) &addr, true, bug_ctx.regs))
|
2006-03-31 16:32:53 +00:00
|
|
|
return 1;
|
|
|
|
|
|
|
|
if (bug_ctx.set)
|
|
|
|
(*bug_ctx.set) (bug_ctx.current_bp, addr);
|
|
|
|
|
|
|
|
bug_ctx.stopped = 0;
|
|
|
|
return 0;
|
|
|
|
} /* do_bedbug_next */
|
|
|
|
|
|
|
|
U_BOOT_CMD (next, 1, 1, do_bedbug_next,
|
2009-01-28 00:03:12 +00:00
|
|
|
"single step execution, stepping over subroutines.",
|
2009-05-24 15:06:54 +00:00
|
|
|
"");
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
/* ======================================================================
|
|
|
|
* Interpreter command to print the current stack. This assumes an EABI
|
|
|
|
* architecture, so it starts with GPR R1 and works back up the stack.
|
|
|
|
* ====================================================================== */
|
2010-06-28 20:00:46 +00:00
|
|
|
int do_bedbug_stack (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
unsigned long sp; /* Stack pointer */
|
|
|
|
unsigned long func; /* LR from stack */
|
|
|
|
int depth; /* Stack iteration level */
|
|
|
|
int skip = 1; /* Flag to skip the first entry */
|
|
|
|
unsigned long top; /* Top of memory address */
|
|
|
|
|
|
|
|
/* -------------------------------------------------- */
|
|
|
|
|
|
|
|
if (!bug_ctx.stopped) {
|
|
|
|
printf ("Not at a breakpoint\n");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
top = gd->bd->bi_memstart + gd->bd->bi_memsize;
|
|
|
|
depth = 0;
|
|
|
|
|
|
|
|
printf ("Depth PC\n");
|
|
|
|
printf ("----- --------\n");
|
|
|
|
printf ("%5d %08lx\n", depth++, bug_ctx.regs->nip);
|
|
|
|
|
|
|
|
sp = bug_ctx.regs->gpr[1];
|
|
|
|
func = *(unsigned long *) (sp + 4);
|
|
|
|
|
|
|
|
while ((func < top) && (sp < top)) {
|
|
|
|
if (!skip)
|
|
|
|
printf ("%5d %08lx\n", depth++, func);
|
|
|
|
else
|
|
|
|
--skip;
|
|
|
|
|
|
|
|
sp = *(unsigned long *) sp;
|
|
|
|
func = *(unsigned long *) (sp + 4);
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
} /* do_bedbug_stack */
|
|
|
|
|
|
|
|
U_BOOT_CMD (where, 1, 1, do_bedbug_stack,
|
2009-01-28 00:03:12 +00:00
|
|
|
"Print the running stack.",
|
2009-05-24 15:06:54 +00:00
|
|
|
"");
|
2014-04-11 02:01:27 +00:00
|
|
|
|
2002-11-03 00:01:44 +00:00
|
|
|
/* ======================================================================
|
|
|
|
* Interpreter command to dump the registers. Calls the CPU-specific
|
|
|
|
* show registers routine.
|
|
|
|
* ====================================================================== */
|
2010-06-28 20:00:46 +00:00
|
|
|
int do_bedbug_rdump (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
|
2002-11-03 00:01:44 +00:00
|
|
|
{
|
2006-03-31 16:32:53 +00:00
|
|
|
/* -------------------------------------------------- */
|
|
|
|
|
|
|
|
if (!bug_ctx.stopped) {
|
|
|
|
printf ("Not at a breakpoint\n");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
show_regs (bug_ctx.regs);
|
|
|
|
return 0;
|
|
|
|
} /* do_bedbug_rdump */
|
|
|
|
|
|
|
|
U_BOOT_CMD (rdump, 1, 1, do_bedbug_rdump,
|
2009-05-24 15:06:54 +00:00
|
|
|
"Show registers.", "");
|
2002-11-03 00:01:44 +00:00
|
|
|
/* ====================================================================== */
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2001 William L. Pitts
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms are freely
|
|
|
|
* permitted provided that the above copyright notice and this
|
|
|
|
* paragraph and the following disclaimer are duplicated in all
|
|
|
|
* such forms.
|
|
|
|
*
|
|
|
|
* This software is provided "AS IS" and without any express or
|
|
|
|
* implied warranties, including, without limitation, the implied
|
|
|
|
* warranties of merchantability and fitness for a particular
|
|
|
|
* purpose.
|
|
|
|
*/
|