Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ddb Change printing of cpu number in the prompt in the M...



details:   https://anonhg.NetBSD.org/src/rev/e9c8d5f27541
branches:  trunk
changeset: 486778:e9c8d5f27541
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sun May 28 19:03:55 2000 +0000

description:
Change printing of cpu number in the prompt in the MULTIPROCESSOR case

diffstat:

 sys/ddb/db_command.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 74a403b6fcd2 -r e9c8d5f27541 sys/ddb/db_command.c
--- a/sys/ddb/db_command.c      Sun May 28 18:52:32 2000 +0000
+++ b/sys/ddb/db_command.c      Sun May 28 19:03:55 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_command.c,v 1.43 2000/05/26 03:34:31 jhawk Exp $    */
+/*     $NetBSD: db_command.c,v 1.44 2000/05/28 19:03:55 sommerfeld Exp $       */
 
 /* 
  * Mach Operating System
@@ -541,10 +541,12 @@
                        db_printf("\n");
                db_output_line = 0;
 
+
 #ifdef MULTIPROCESSOR
-               db_printf("(cpu %ld)", (long)cpu_number());
+               db_printf("db{%ld}> ", (long)cpu_number());
+#else
+               db_printf("db> ");              
 #endif
-               db_printf("db> ");
                (void) db_read_line();
 
                db_command(&db_last_command, db_command_table);



Home | Main Index | Thread Index | Old Index