Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321408

Summary: Setting "Direction-->Backward" of "Find/Replace Memory" dialog can not find memory address one by one in Memory view.
Product: [Tools] CDT Reporter: Randy Rohrbach <Randy.Rohrbach>
Component: cdt-memoryAssignee: Randy Rohrbach <Randy.Rohrbach>
Status: RESOLVED FIXED QA Contact: Ted Williams <ted>
Severity: normal    
Priority: P3 CC: Randy.Rohrbach
Version: 7.0Flags: Randy.Rohrbach: review? (pawel.1.piech)
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Combined patch for 315020/321407/321408 cdtdoug: iplog-

Description Randy Rohrbach CLA 2010-07-30 17:26:12 EDT
Setting "Direction-->Backward" of "Find/Replace Memory" dialog can not find memory address one by one in Memory view.

The algorithm for searching backwards does not work properly.

Randy
Comment 1 Randy Rohrbach CLA 2010-07-30 17:27:08 EDT
I'm taking this one.

Randy
Comment 2 Randy Rohrbach CLA 2010-07-30 17:33:06 EDT
Created attachment 175621 [details]
Combined patch for 315020/321407/321408

Combined patch which resolves multiple bugzilla issues.

315020
321407
321408
Comment 3 Randy Rohrbach CLA 2010-07-30 18:08:17 EDT
I checked the changes in to HEAD and 7.0

Pawel please review.

Randy
Comment 4 CDT Genie CLA 2010-07-30 18:23:02 EDT
*** cdt cvs genie on behalf of rarohrba ***
Bug 315020 - The Memory Browser Find/Replace logic prefetchs data outside the specified memory range.
Bug 321407 - &quot;Case Insensitive&quot; option is supposed to be disabled while the searching format is Hex/decimal/octal/binary.
Bug 321408 - Setting &quot;Direction--&gt;Backward&quot; of &quot;Find/Replace Memory&quot; dialog can not find memory address one by one in Memory view.

[*] FindReplaceDialog.java 1.8 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.search/src/org/eclipse/cdt/debug/ui/memory/search/FindReplaceDialog.java?root=Tools_Project&r1=1.7&r2=1.8
[*] MemorySearchResultsPage.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.search/src/org/eclipse/cdt/debug/ui/memory/search/MemorySearchResultsPage.java?root=Tools_Project&r1=1.2&r2=1.3

[*] FindReplaceDialog.java 1.7.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.search/src/org/eclipse/cdt/debug/ui/memory/search/FindReplaceDialog.java?root=Tools_Project&r1=1.7&r2=1.7.2.1
[*] MemorySearchResultsPage.java 1.2.4.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.search/src/org/eclipse/cdt/debug/ui/memory/search/MemorySearchResultsPage.java?root=Tools_Project&r1=1.2&r2=1.2.4.1