public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Insight Maling List <insight@sources.redhat.com>
Subject: [PATCH] Fix memwin typo
Date: Tue, 18 Dec 2001 13:38:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0112181336050.5888-100000@makita.cygnus.com> (raw)
Message-ID: <20011218133800.I1otiftIbiDBDvOvfXvBspgX5mMdbhmW5QjMVGsDiq0@z> (raw)

Hi,

This is pretty obivous boo-boo.

Keith

ChangeLog
2001-12-18  Keith Seitz  <keiths@redhat.com>

	* library/memwin.itb (incr_addr): Fix typo.

Patch
Index: gdb/gdbtk/library/memwin.itb
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/gdbtk/library/memwin.itb,v
retrieving revision 1.7
diff -u -p -r1.7 memwin.itb
--- gdb/gdbtk/library/memwin.itb	2001/11/23 18:03:34	1.7
+++ gdb/gdbtk/library/memwin.itb	2001/12/18 21:32:00
@@ -269,7 +269,7 @@ body MemWin::edit { cell } {

   if {$col == $Numcols} {
     # editing the ASCII field
-    set addr [gdb_incr_addr $current_addr + [expr {$bytes_per_row * $row}]]
+    set addr [gdb_incr_addr $current_addr [expr {$bytes_per_row * $row}]]
     set start_addr $addr

     # calculate number of rows to modify
@@ -543,7 +543,7 @@ body MemWin::incr_addr {num} {
     return
   }
   set old_addr $current_addr
-  set current_addr [gdb_incr_addr $current_addr + [expr {$bytes_per_row * $num}]]
+  set current_addr [gdb_incr_addr $current_addr [expr {$bytes_per_row * $num}]]

   # A memory address less than zero is probably not a good thing...
   #

             reply	other threads:[~2001-12-18 13:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-15 12:05 Keith Seitz [this message]
2001-12-18 13:38 ` Keith Seitz

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=Pine.GSO.4.33.0112181336050.5888-100000@makita.cygnus.com \
    --to=keiths@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).