From: Tom Tromey <tom@tromey.com>
To: Simon Marchi via Gdb-patches <gdb-patches@sourceware.org>
Cc: Libor Bukata <libor.bukata@oracle.com>
Subject: Re: [PATCH 1/2] gdb: push target earlier in procfs_target::attach (PR 27435)
Date: Sun, 21 Feb 2021 14:04:21 -0700 [thread overview]
Message-ID: <87a6rxku96.fsf@tromey.com> (raw)
In-Reply-To: <20210221155630.3026942-1-simon.marchi@polymtl.ca> (Simon Marchi via Gdb-patches's message of "Sun, 21 Feb 2021 10:56:29 -0500")
>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:
Simon> Tested by trying to attach on a process on gcc211 on the gcc compile
Simon> farm.
Simon> gdb/ChangeLog:
Simon> PR gdb/27435
Simon> * inf-ptrace.c (struct target_unpusher): Move to target.h.
Simon> (target_unpush_up): Likewise.
Simon> * procfs.c (procfs_target::attach): Push target early. Use
Simon> target_unpush_up to unpush target in case of error.
Simon> * target.h (struct target_unpusher): Move here.
Simon> (target_unpush_up): Likewise.
FWIW this looks reasonable to me.
Tom
next prev parent reply other threads:[~2021-02-21 21:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-21 15:56 Simon Marchi via Gdb-patches
2021-02-21 15:56 ` [PATCH 2/2] gdb: add asserts in thread code Simon Marchi via Gdb-patches
2021-02-21 21:04 ` Tom Tromey [this message]
2021-02-21 21:18 ` [PATCH 1/2] gdb: push target earlier in procfs_target::attach (PR 27435) Simon Marchi via Gdb-patches
2021-02-22 11:03 ` Libor Bukata via Gdb-patches
2021-02-22 16:51 ` Simon Marchi via Gdb-patches
2021-02-23 6:35 ` Libor Bukata via Gdb-patches
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=87a6rxku96.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=libor.bukata@oracle.com \
/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: link
Be 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