This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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]

[PATCH] Allow debugging of exes with no debug info


Hi,

I don't know why this was disallowed in the past, but it seems like a
really lame limitation...

Keith

ChangeLog
2002-01-02  Keith Seitz  <keiths@redhat.com>

	* library/interface.tcl (set_exe): Allow users to debug
	executables with no debug information.

Patch
Index: library/interface.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/interface.tcl,v
retrieving revision 1.36
diff -u -p -r1.36 interface.tcl
--- library/interface.tcl	2002/01/02 23:42:50	1.36
+++ library/interface.tcl	2002/01/02 23:48:15
@@ -864,9 +864,6 @@ proc set_exe {} {
       tk_messageBox -icon error -default ok \
 	-title "GDB" -type ok -modal system \
 	-message "This executable has no debugging information."
-      set gdb_exe_name {}
-      set file_done 0
-      return
     }

     # force new target command


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