[Mono-bugs] [Bug 81555][Nor] New - repeated "list" commands don't match gdb

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 7 16:37:44 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joeshaw at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81555

--- shadow/81555	2007-05-07 16:37:44.000000000 -0400
+++ shadow/81555.tmp.5186	2007-05-07 16:37:44.000000000 -0400
@@ -0,0 +1,132 @@
+Bug#: 81555
+Product: Mono: Debugger
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: cli
+AssignedTo: martin at ximian.com                            
+ReportedBy: joeshaw at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: repeated "list" commands don't match gdb
+
+mdb's list command seems to take gdb syntax, but doesn't match gdb's
+behavior in many cases, particularly in keeping a cursor when running
+"list" or "list -" repeatedly:
+
+For example:
+(mdb) list
+ 478 
+ 479                    if (! ExtendedAttribute.Supported) {
+ 480                            Logger.Log.Warn ("Extended attributes are
+not supported on this filesystem.  " +
+ 481                                             "Performance will suffer
+as a result.");
+ 482                    }
+ 483 
+ 484                    if (disable_textcache) {
+ 485                            Log.Warn ("Running with text-cache disabled!");
+ 486                            Log.Warn ("*** Snippets will not be
+returned for documents indexed in this session.");
+ 487                    }
+ 488 
+ 489                    // Start our memory-logging thread
+ 490                    if (arg_debug_memory)
+ 491                            ExceptionHandlingThread.Start (new
+ThreadStart (LogMemoryUsage));
+ 492 
+ 493                    // Do BEAGLE_EXERCISE_THE_DOG_HARDER-related
+processing.
+ 494                    ExerciseTheDogHarder ();
+ 495 
+ 496                    // Initialize GObject type system
+ 497                    g_type_init ();
+(mdb) list
+ 478 
+ 479                    if (! ExtendedAttribute.Supported) {
+ 480                            Logger.Log.Warn ("Extended attributes are
+not supported on this filesystem.  " +
+ 481                                             "Performance will suffer
+as a result.");
+ 482                    }
+ 483 
+ 484                    if (disable_textcache) {
+ 485                            Log.Warn ("Running with text-cache disabled!");
+ 486                            Log.Warn ("*** Snippets will not be
+returned for documents indexed in this session.");
+ 487                    }
+ 488 
+ 489                    // Start our memory-logging thread
+ 490                    if (arg_debug_memory)
+ 491                            ExceptionHandlingThread.Start (new
+ThreadStart (LogMemoryUsage));
+ 492 
+ 493                    // Do BEAGLE_EXERCISE_THE_DOG_HARDER-related
+processing.
+ 494                    ExerciseTheDogHarder ();
+ 495 
+ 496                    // Initialize GObject type system
+ 497                    g_type_init ();
+(mdb) 
+
+However, the cursor is correctly moved if you run "list" and then simply
+hit enter:
+
+(mdb) list
+ 478 
+ 479                    if (! ExtendedAttribute.Supported) {
+ 480                            Logger.Log.Warn ("Extended attributes are
+not supported on this filesystem.  " +
+ 481                                             "Performance will suffer
+as a result.");
+ 482                    }
+ 483 
+ 484                    if (disable_textcache) {
+ 485                            Log.Warn ("Running with text-cache disabled!");
+ 486                            Log.Warn ("*** Snippets will not be
+returned for documents indexed in this session.");
+ 487                    }
+ 488 
+ 489                    // Start our memory-logging thread
+ 490                    if (arg_debug_memory)
+ 491                            ExceptionHandlingThread.Start (new
+ThreadStart (LogMemoryUsage));
+ 492 
+ 493                    // Do BEAGLE_EXERCISE_THE_DOG_HARDER-related
+processing.
+ 494                    ExerciseTheDogHarder ();
+ 495 
+ 496                    // Initialize GObject type system
+ 497                    g_type_init ();
+(mdb) 
+ 498 
+ 499                    if (SystemInformation.XssInit ())
+ 500                            Logger.Log.Debug ("Established a connection
+to the X server");
+ 501                    else
+ 502                            Logger.Log.Debug ("Unable to establish a
+connection to the X server");
+ 503                    XSetIOErrorHandler (BeagleXIOErrorHandler);
+ 504 
+ 505                    // Lower our CPU priority
+ 506                    SystemPriorities.Renice (7);
+ 507 
+ 508                    QueryDriver.Init ();
+ 509                    Server.Init ();
+ 510 
+ 511                    SetupSignalHandlers ();
+ 512                    Shutdown.ShutdownEvent += OnShutdown;
+ 513 
+ 514                    main_loop = new MainLoop ();
+ 515                    Shutdown.RegisterMainLoop (main_loop);
+ 516 
+ 517                    // Defer all actual startup until the main loop is
+(mdb) 
+
+The same behavior occurs with "list -" to go backward.


More information about the mono-bugs mailing list