public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
From: craig@triscend.com
To: insight-gnats@sources.redhat.com
Subject: insight/151: If the control char entry in the memory window prefs is blank an error and stack trace are produced
Date: Tue, 07 May 2002 15:53:00 -0000	[thread overview]
Message-ID: <20020507224544.18141.qmail@sources.redhat.com> (raw)


>Number:         151
>Category:       insight
>Synopsis:       If the control char entry in the memory window prefs is blank an error and stack trace are produced
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 07 15:53:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     craig@triscend.com
>Release:        unknown-1.0
>Organization:
>Environment:
Windows 2000/Cygwin & Linux
>Description:
A stack trace is displayed if the control char is removed in the memory window prefrences.
>How-To-Repeat:
After connecting to a target, open the memory window, right click on the memory window and select prefrences. Remove the dot (.) from the "Control Char" entry in the Miscellaneous section. Click Apply.
>Fix:
See attached patch, if there is no control char, the control char defaults to a dot (.)
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="mempref.itb.pat"
Content-Disposition: inline; filename="mempref.itb.pat"

Index: mempref.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/mempref.itb,v
retrieving revision 1.3
diff -c -p -r1.3 mempref.itb
*** mempref.itb	5 Mar 2002 22:22:19 -0000	1.3
--- mempref.itb	7 May 2002 22:38:37 -0000
*************** body MemPref::apply {} {
*** 316,321 ****
--- 316,324 ----
        set format $gformat
      }
    }
+   if {[string length $gascii_char] <= 0} {
+     set gascii_char "."
+   }
  
    # pass all the changed values back to parent
    debug "$win configChange -size $size -numbytes $numbytes \



                 reply	other threads:[~2002-05-07 22:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020507224544.18141.qmail@sources.redhat.com \
    --to=craig@triscend.com \
    --cc=insight-gnats@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).