From: Fernando Nasser <fnasser@redhat.com>
To: Insight List <insight@sources.redhat.com>
Subject: Re: [patch] Fix saving of sessions (or lack of...)
Date: Tue, 02 Jan 2001 19:43:00 -0000 [thread overview]
Message-ID: <3A529FA0.5AE550DF@redhat.com> (raw)
In-Reply-To: <3A4D94B3.9FB3698@redhat.com>
This one is in.
Fernando Nasser wrote:
>
> If we exit a debugging session while the inferior is running, or while
> we are downloading, the session is not saved.
>
> I believe the session should be saved anyway.
>
> The patch is attached.
>
> ChangeLog:
>
> * library/interface.tcl (gdbtk_quit_check): Save session whenever
> possible.
>
> ------------------------------------------------------------------------
> Index: interface.tcl
> ===================================================================
> RCS file: /cvs/src/src/gdb/gdbtk/library/interface.tcl,v
> retrieving revision 1.11
> diff -c -p -r1.11 interface.tcl
> *** interface.tcl 2000/12/07 21:56:25 1.11
> --- interface.tcl 2000/12/30 07:45:36
> *************** proc gdbtk_quit_check {} {
> *** 222,228 ****
> if {![gdbtk_tcl_query $msg no]} {
> return 0
> }
> ! } elseif {$gdb_exe_name != ""} {
> session_save
> }
> return 1
> --- 222,231 ----
> if {![gdbtk_tcl_query $msg no]} {
> return 0
> }
> ! }
> !
> ! # If we have an executable file loaded, save a session associated to it
> ! if {$gdb_exe_name != ""} {
> session_save
> }
> return 1
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
prev parent reply other threads:[~2001-01-02 19:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-29 23:55 Fernando Nasser
2001-01-02 19:43 ` Fernando Nasser [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=3A529FA0.5AE550DF@redhat.com \
--to=fnasser@redhat.com \
--cc=insight@sources.redhat.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).