From: "Martin M. Hunt" <hunt@redhat.com>
To: Keith Seitz <keiths@cygnus.com>,
Insight Maling List <insight@sources.redhat.com>
Subject: Re: What to do when no debug info?
Date: Wed, 17 Oct 2001 13:06:00 -0000 [thread overview]
Message-ID: <200110172006.NAA10511@cygnus.com> (raw)
In-Reply-To: <Pine.GSO.4.33.0110171212490.11927-100000@makita.cygnus.com>
Perhaps a warning would be more appropriate. It seems to me this dialog was
inserted because someone was upset that GDB wasn't detecting that he was
trying to run a source debugger on an executable that couldn't be debugged.
On Wednesday 17 October 2001 12:14 pm, Keith Seitz wrote:
> Hi,
>
> For a long, long time now, Insight has, for historical reasons, disallowed
> the debugging of executables with no debug information when opened with
> the File->Open... menu.
>
> Anyone see any reason whatsoever that this restriction shouldn't be nuked?
> Keith
>
> PS. Proposed patch:
> Index: gdbtk/library/interface.tcl
> ===================================================================
> RCS file: /cvs/src/src/gdb/gdbtk/library/interface.tcl,v
> retrieving revision 1.30
> diff -u -p -r1.30 interface.tcl
> --- interface.tcl 2001/10/06 18:10:50 1.30
> +++ interface.tcl 2001/10/17 19:12:27
> @@ -860,13 +860,6 @@ proc set_exe {} {
> set gdb_exe_name {}
> set file_done 0
> return
> - } elseif {[string match {*no debugging symbols found*} $msg]} {
> - 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
prev parent reply other threads:[~2001-10-17 13:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-17 12:14 Keith Seitz
2001-10-17 13:06 ` Martin M. Hunt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200110172006.NAA10511@cygnus.com \
--to=hunt@redhat.com \
--cc=insight@sources.redhat.com \
--cc=keiths@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).