Changeset e07fe0c in mainline for generic/src/console/kconsole.c


Ignore:
Timestamp:
2005-12-12T17:23:09Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fbe058f
Parents:
ebbdb8f
Message:

added support for breakpoints to mips32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/console/kconsole.c

    rebbdb8f re07fe0c  
    4141#include <func.h>
    4242#include <symtab.h>
     43#include <macros.h>
    4344
    4445/** Simple kernel console.
     
    396397 * @param arg Not used.
    397398 */
    398 void kconsole(void *arg)
     399void kconsole(void *prompt)
    399400{
    400401        cmd_info_t *cmd_info;
     
    408409       
    409410        while (true) {
    410                 cmdline = clever_readline(__FUNCTION__, stdin);
     411                cmdline = clever_readline(prompt, stdin);
    411412                len = strlen(cmdline);
    412413                if (!len)
     
    415416                if (!cmd_info)
    416417                        continue;
     418                if (strncmp(cmd_info->name,"exit", \
     419                            min(strlen(cmd_info->name),5)) == 0)
     420                        break;
    417421                (void) cmd_info->func(cmd_info->argv);
    418422        }
Note: See TracChangeset for help on using the changeset viewer.