public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix memwin typo
@ 2001-10-15 12:05 Keith Seitz
  2001-12-18 13:38 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Seitz @ 2001-10-15 12:05 UTC (permalink / raw)
  To: Insight Maling List

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...
   #

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] Fix memwin typo
  2001-10-15 12:05 [PATCH] Fix memwin typo Keith Seitz
@ 2001-12-18 13:38 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2001-12-18 13:38 UTC (permalink / raw)
  To: Insight Maling List

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...
   #

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-18 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-15 12:05 [PATCH] Fix memwin typo Keith Seitz
2001-12-18 13:38 ` Keith Seitz

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).