This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[PATCH] Allow debugging of exes with no debug info
- From: Keith Seitz <keiths at redhat dot com>
- To: Insight Maling List <insight at sources dot redhat dot com>
- Date: Wed, 2 Jan 2002 15:49:20 -0800 (PST)
- Subject: [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