[obv] A comment fix

Yao Qi yao@codesourcery.com
Wed Nov 9 02:32:00 GMT 2011


Change "FROM" to "OLDLOC" in comment.  Committed.

-- 
Yao (齐尧) 

2011-11-08  Yao Qi  <yao@codesourcery.com>

	* remote-utils.c (relocate_instruction): A comment fix.

index 8832417..4d28658 100644
--- a/gdb/gdbserver/remote-utils.c
+++ b/gdb/gdbserver/remote-utils.c
@@ -1613,7 +1613,7 @@ look_up_one_symbol (const char *name, CORE_ADDR *addrp, 
    where we want the instruction to be copied (and possibly adjusted)
    to.  On output, it points to one past the end of the resulting
    instruction(s).  The effect of executing the instruction at TO
-   shall be the same as if executing it at FROM.  For example, call
+   shall be the same as if executing it at OLDLOC.  For example, call
    instructions that implicitly push the return address on the stack
    should be adjusted to return to the instruction after OLDLOC;
    relative branches, and other PC-relative instructions need the



More information about the Gdb-patches mailing list