This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit/rx sim] Add a "sim noisy verbose" command


I've just committed the patch below.

As noted in the ChangeLog entry, it adds a "sim verbose noisy" command.
This command turns on all internal diagnostics for the rx simulator.

Kevin

	* gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.

Index: sim/rx/gdb-if.c
===================================================================
RCS file: /cvs/src/src/sim/rx/gdb-if.c,v
retrieving revision 1.3
diff -u -p -r1.3 gdb-if.c
--- sim/rx/gdb-if.c	14 Apr 2010 07:38:05 -0000	1.3
+++ sim/rx/gdb-if.c	28 May 2010 17:09:42 -0000
@@ -829,10 +836,12 @@ sim_do_command (SIM_DESC sd, char *cmd)
     {
       if (strcmp (args, "on") == 0)
 	verbose = 1;
+      else if (strcmp (args, "noisy") == 0)
+	verbose = 2;
       else if (strcmp (args, "off") == 0)
 	verbose = 0;
       else
-	printf ("The 'sim verbose' command expects 'on' or 'off'"
+	printf ("The 'sim verbose' command expects 'on', 'noisy', or 'off'"
 		" as an argument.\n");
     }
   else


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]