forked from Imagelibrary/binutils-gdb
Tweak warning output on Linux kernels with broken i386 NX support.
The "you have broken" bit of this text reads to me as if I had broken it myself somehow. This patch eliminates that ambiguity. 2013-02-25 Pedro Alves <palves@redhat.com> * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change warning text.
This commit is contained in:
@@ -224,8 +224,9 @@ linux_ptrace_test_ret_to_nx (void)
|
||||
"address %p nor is the return instruction %p!"),
|
||||
pc, return_address, &linux_ptrace_test_ret_to_nx_instr);
|
||||
else
|
||||
warning (_("Cannot call inferior functions, you have broken "
|
||||
"Linux kernel i386 NX (non-executable pages) support!"));
|
||||
warning (_("Cannot call inferior functions on this system - "
|
||||
"Linux kernel with broken i386 NX (non-executable pages) "
|
||||
"support detected!"));
|
||||
#endif /* defined __i386__ || defined __x86_64__ */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user