From 86a30030874910390e77ce8369d23fb1a7c832de Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 9 Nov 2011 02:32:42 +0000 Subject: [PATCH] gdb/gdbserver * remote-utils.c (relocate_instruction): A comment fix. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/remote-utils.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 8264677ef91..e4185613404 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2011-11-08 Yao Qi + + * remote-utils.c (relocate_instruction): A comment fix. + 2011-11-07 Joel Brobecker * win32-i386-low.c (dr_status_mirror, dr_control_mirror): Delete. diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 8832417dc3e..4d286582351 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, int may_ask_gdb) 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 -- 2.30.2