diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2019-08-29 16:11:45 -0400 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2019-08-30 17:04:37 -0400 |
commit | 47a536d940d2f2bccfec51539b857da06ebc429e (patch) | |
tree | 314ff8e2b562fa8208115d340d3119df6d90609e /gdb/ChangeLog | |
parent | d6a00eba2accffec92a5974c2ad1f79612a6679e (diff) | |
download | gdb-47a536d940d2f2bccfec51539b857da06ebc429e.zip gdb-47a536d940d2f2bccfec51539b857da06ebc429e.tar.gz gdb-47a536d940d2f2bccfec51539b857da06ebc429e.tar.bz2 |
Remove "\nError: " suffix from nat/fork-inferior.c:trace_start_error warning message
Rationale: https://sourceware.org/ml/gdb-patches/2019-08/msg00651.html
This very simple patch removes the "\nError: " suffix from the warning
message printed by nat/fork-inferior.c:trace_start_error. This proved
to just pollute the screen, causing things like:
Starting program: /usr/bin/true
warning: Could not trace the inferior process.
Error:
warning: ptrace: Permission denied
This "Error: " string is not useful at all, and can confuse things,
therefore let's just remove it and simplify the resulting messages:
Starting program: /usr/bin/true
warning: Could not trace the inferior process.
warning: ptrace: Permission denied
gdb/ChangeLog:
2019-08-30 Sergio Durigan Junior <sergiodj@redhat.com>
* nat/fork-inferior.c (trace_start_error): Remove "\nError: "
suffix from warning message.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2cc7b58..ebcfae1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-08-30 Sergio Durigan Junior <sergiodj@redhat.com> + + * nat/fork-inferior.c (trace_start_error): Remove "\nError: " + suffix from warning message. + 2019-08-30 Tom Tromey <tom@tromey.com> * tui/tui-winsource.h (struct tui_source_window_base) |