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=77568

--- shadow/77568        2006-02-15 14:56:19.000000000 -0500
+++ shadow/77568.tmp.25709      2006-02-15 14:56:19.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 77568
+Product: Mono: Debugger
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: cli
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: You shouldn't need to run "file" before "attach" in mdb
+
+If you run mdb and then try to attach to an existing process, you'll get
+this error:
+
+ERROR: No executable file specified.
+Use the `file' command.
+
+Somehow gdb doesn't need this information to attach to native processes.
+
+Looking at various mono process in /proc/<pid>/fd, it looks like file
+descriptor 3 always contains the exe file I'm running:
+
+$ ls -l /proc/*/fd | grep "\.exe"
+lr-x------ 1 joe users 64 2006-02-15 14:47 3 -> /usr/lib/banshee/banshee.exe
+lr-x------ 1 joe users 64 2006-02-15 14:47 3 ->
+/opt/gnome/lib/tomboy/Tomboy.exe
+lr-x------ 1 joe users 64 2006-02-15 14:47 3 ->
+/home/joe/build/mono/lib/mono/1.0/mdb.exe
+lr-x------ 1 joe users 64 2006-02-15 14:43 3 ->
+/home/joe/cvs/beagle/tools/Settings.exe
+
+mdb could look at that and extract the file to load automatically.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to