diff options
author | Pedro Alves <palves@redhat.com> | 2013-02-25 17:32:03 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-02-25 17:32:03 +0000 |
commit | f6f366b856fc001370119b2bfc772989abcdf3b1 (patch) | |
tree | ad868ea0b6454a93366adeb9eeb68ddf356b2386 /gdb/common/linux-ptrace.c | |
parent | 08f46fad0c90ea5579ab4cd913b6bc1506bb4ca7 (diff) | |
download | gdb-f6f366b856fc001370119b2bfc772989abcdf3b1.tar.gz |
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.
Diffstat (limited to 'gdb/common/linux-ptrace.c')
-rw-r--r-- | gdb/common/linux-ptrace.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/common/linux-ptrace.c b/gdb/common/linux-ptrace.c index 886be809d1d..e1001c67290 100644 --- a/gdb/common/linux-ptrace.c +++ b/gdb/common/linux-ptrace.c @@ -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__ */ } |