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 [EMAIL PROTECTED]

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

--- shadow/77056        2005-12-21 16:05:37.000000000 -0500
+++ shadow/77056.tmp.3330       2005-12-21 16:09:25.000000000 -0500
@@ -30,6 +30,88 @@
 ------- Additional Comments From [EMAIL PROTECTED]  2005-12-21 16:05 -------
 Noticed something else with this:
 
 "step" does the right thing.  It executes the line and immediately
 returns back to the current stack frame.  "next" presumably goes down
 into it.  This is backwards from how gdb does it.
+
+------- Additional Comments From [EMAIL PROTECTED]  2005-12-21 16:09 -------
+Hmm, not entire right.  Here's a session using "next":
+
+
+
[EMAIL PROTECTED] ~/cvs/gmime/mono]$ mdb test.exe
+Mono Debugger
+(mdb) r
+Starting program: test.exe
+Could not find file
+"/usr/lib/mono/gac/gmime-sharp/2.0.0.0__677013d4cb5910f0/gmime-sharp.dll.mdb".
+Could not find file
+"/usr/lib/mono/gac/glib-sharp/2.8.0.0__35e10195dab3c99f/glib-sharp.dll.mdb".
+Could not find file "/usr/lib/mono/1.0/System.dll.mdb".
+Process @4 stopped at #0: 0x40e077ac in X.Main()+0x2c at
+/home/joe/cvs/gmime/mono/test.cs:24.
+  24            GMime.Global.Init ();
+(mdb) n
+Process @4 stopped at #0: 0x4000c101 in _dl_debug_state+0x1.
+0x4000c101      mov    %esp,%ebp
+(mdb) finish
+(mdb) finish
+(mdb) finish
+(mdb) finish
+(mdb) n
+Process @4 stopped at #0: 0x4000c103 in _dl_debug_state+0x3.
+0x4000c103      pop    %ebp
+(mdb)
+
+If I rerun it, without the "finish":
+
+Process @4 stopped at #0: 0x40e077ac in X.Main()+0x2c at
+/home/joe/cvs/gmime/mono/test.cs:24.
+  24            GMime.Global.Init ();
+(mdb) n
+Process @4 stopped at #0: 0x4000c101 in _dl_debug_state+0x1.
+0x4000c101      mov    %esp,%ebp
+(mdb)
+Process @4 stopped at #0: 0x4000c103 in _dl_debug_state+0x3.
+0x4000c103      pop    %ebp
+(mdb)
+
+You can see that the "finish" command has no effect.
+
+For contrast, here is a session in which I run "step".  It also
+eventually gets into the instruction mode:
+
[EMAIL PROTECTED] ~/cvs/gmime/mono]$ mdb test.exe
+Mono Debugger
+(mdb) r
+Starting program: test.exe
+Could not find file
+"/usr/lib/mono/gac/gmime-sharp/2.0.0.0__677013d4cb5910f0/gmime-sharp.dll.mdb".
+Could not find file
+"/usr/lib/mono/gac/glib-sharp/2.8.0.0__35e10195dab3c99f/glib-sharp.dll.mdb".
+Could not find file "/usr/lib/mono/1.0/System.dll.mdb".
+Process @4 stopped at #0: 0x40e077ac in X.Main()+0x2c at
+/home/joe/cvs/gmime/mono/test.cs:24.
+  24            GMime.Global.Init ();
+(mdb) step
+Process @4 stopped at #0: 0x40e077b1 in X.Main()+0x31 at
+/home/joe/cvs/gmime/mono/test.cs:26.
+  26            int fd = Syscall.open
+("/home/joe/.evolution/mail/imap/[EMAIL PROTECTED]/folders/INBOX/178713.",
+OpenFlags.O_RDONLY);
+(mdb) step
+Process @4 stopped at #0: 0x40e077d5 in X.Main()+0x55 at
+/home/joe/cvs/gmime/mono/test.cs:27.
+  27            GMime.StreamFs stream_fs = new GMime.StreamFs (fd);
+(mdb) step
+Process @4 stopped at #0: 0x40e077f7 in X.Main()+0x77 at
+/home/joe/cvs/gmime/mono/test.cs:29.
+  29            GMime.Parser parser = new GMime.Parser (stream_fs);
+(mdb) step
+Process @4 stopped at #0: 0x40e0781f in X.Main()+0x9f at
+/home/joe/cvs/gmime/mono/test.cs:31.
+  31            GMime.Message message = parser.ConstructMessage ();
+(mdb) step
+Process @4 stopped at #0: 0x4000c101 in _dl_debug_state+0x1.
+0x4000c101      mov    %esp,%ebp
+(mdb)
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to