public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/7233] Send output to gdb_stdout et.al. Date: Wed, 29 Dec 2021 17:47:09 +0000 [thread overview] Message-ID: <bug-7233-4717-ylhLcsn2l3@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-7233-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=7233 --- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tom Tromey <tromey@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d68510ac191cb8b4b662a5fd1f3bcf9f4b136971 commit d68510ac191cb8b4b662a5fd1f3bcf9f4b136971 Author: Tom Tromey <tom@tromey.com> Date: Sun Dec 26 13:41:36 2021 -0700 Use correct stream for process record output The process record code often emits unfiltered output. In some cases, this output ought to go to gdb_stderr (but see below). In other cases, the output is guarded by a logging variable and so ought to go to gdb_stdlog. This patch makes these changes. Note that in many cases, the output to stderr is followed by a "return -1", which is how process record indicates an error. It seems to me that calling error here would be preferable, because, in many cases, that's all the caller does when it sees a -1. However, I haven't made this change. This is part of PR gdb/7233. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=7233 -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2021-12-29 17:47 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-7233-4717@http.sourceware.org/bugzilla/> 2014-09-16 19:30 ` sergiodj at redhat dot com 2014-09-16 19:41 ` cvs-commit at gcc dot gnu.org 2021-12-29 17:47 ` cvs-commit at gcc dot gnu.org 2021-12-29 17:47 ` cvs-commit at gcc dot gnu.org [this message] 2021-12-29 17:47 ` cvs-commit at gcc dot gnu.org 2021-12-29 18:02 ` cvs-commit at gcc dot gnu.org 2021-12-29 18:02 ` cvs-commit at gcc dot gnu.org 2021-12-29 18:02 ` cvs-commit at gcc dot gnu.org 2021-12-29 18:02 ` cvs-commit at gcc dot gnu.org 2021-12-29 18:03 ` cvs-commit at gcc dot gnu.org 2021-12-29 18:03 ` cvs-commit at gcc dot gnu.org 2021-12-29 18:03 ` cvs-commit at gcc dot gnu.org 2022-04-08 0:11 ` tromey at sourceware dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-7233-4717-ylhLcsn2l3@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).