Module Name: src
Committed By: christos
Date: Thu Oct 27 14:30:55 UTC 2016
Modified Files:
src/external/gpl3/gdb/dist/gdb: inf-ptrace.c
Log Message:
it might not be a breakpoint, so make the message what it actually is.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gdb/dist/gdb/inf-ptrace.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/inf-ptrace.c
diff -u src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.14 src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.15
--- src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.14 Mon Oct 24 17:22:33 2016
+++ src/external/gpl3/gdb/dist/gdb/inf-ptrace.c Thu Oct 27 10:30:55 2016
@@ -500,9 +500,10 @@ inf_ptrace_xfer_partial (struct target_o
to indicate failure. */
if (errno == EACCES)
{
- fprintf_unfiltered (gdb_stderr, "Cannot set breakpoint at %p (%s). "
+ fprintf_unfiltered (gdb_stderr, "Cannot %s process at %p (%s). "
"Is PaX MPROTECT active? See security(7), "
- "sysctl(7), paxctl(8)\n", piod.piod_offs,
+ "sysctl(7), paxctl(8)\n", writebuf ? "write to" :
+ "read from", piod.piod_offs,
strerror(errno));
return TARGET_XFER_E_IO; /* Some other error perhaps? */
}