mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* infptrace.c (store_register): Fix typo.
This commit is contained in:
parent
b66df561bb
commit
3470a02f88
@ -1,3 +1,8 @@
|
|||||||
|
2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
|
Committed by Andrew Cagney.
|
||||||
|
* infptrace.c (store_register): Fix typo.
|
||||||
|
|
||||||
2005-02-21 Andrew Cagney <cagney@gnu.org>
|
2005-02-21 Andrew Cagney <cagney@gnu.org>
|
||||||
|
|
||||||
* command.h (deprecated_add_set_cmd): Rename add_set_cmd.
|
* command.h (deprecated_add_set_cmd): Rename add_set_cmd.
|
||||||
|
@ -288,8 +288,8 @@ store_register (int regnum)
|
|||||||
errno = 0;
|
errno = 0;
|
||||||
ptrace (PT_WRITE_U, tid, (PTRACE_TYPE_ARG3) addr, buf[i]);
|
ptrace (PT_WRITE_U, tid, (PTRACE_TYPE_ARG3) addr, buf[i]);
|
||||||
if (errno != 0)
|
if (errno != 0)
|
||||||
error (_("Couldn't write register %s (#%d): %s.")e, REGISTER_NAME (regnum),
|
error (_("Couldn't write register %s (#%d): %s."),
|
||||||
regnum, safe_strerror (errno));
|
REGISTER_NAME (regnum), regnum, safe_strerror (errno));
|
||||||
|
|
||||||
addr += sizeof (PTRACE_TYPE_RET);
|
addr += sizeof (PTRACE_TYPE_RET);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user