From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb@sourceware.org
Subject: Re: Debugging through exec() (Linux MAY_FOLLOW_EXEC)
Date: Mon, 04 Sep 2006 17:59:00 -0000 [thread overview]
Message-ID: <20060904175827.GA18513@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <usljui5z3.fsf@gnu.org>
On Fri, 18 Aug 2006 14:27:44 +0200, Eli Zaretskii wrote:
...
> Thanks for the explanations, but I seem to be dense today, because I
> don't get to the cheese yet.
>
> Perhaps if you could describe a scenario where the current behavior is
> inconvenient, and what does your patch change in this respect, I will
> understand the issues.
I have a Perl script spawning scp(1) in PTY. This scp(1) will not print the
progress bar if spawned by this Perl script, it shows it otherwise (it uses
isatty() to detect it). I would like to debug scp(1) there as the bug is
(apparently) not reproducible when scp(1) is executed standalone.
Sure there are many ways how to debug it but I feel this is the right sample
problem for "catch exec".
Unfortunately that my patch will not provide correct enough debugging state
after the "exec" event for the new inferior. Patch needs to be improven.
Regards,
Jan
prev parent reply other threads:[~2006-09-04 17:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060614142552.GA15021@nevyn.them.org>
[not found] ` <20060615203519.GA9603@host0.dyn.jankratochvil.net>
[not found] ` <20060721181556.GA9150@lace.redhat.com>
[not found] ` <20060721184421.GA22820@nevyn.them.org>
[not found] ` <20060722123102.GA1936@lace.redhat.com>
[not found] ` <20060724190332.GA13612@nevyn.them.org>
[not found] ` <20060729185317.GA16200@host0.dyn.jankratochvil.net>
[not found] ` <200607312038.k6VKchKj018729@elgar.sibelius.xs4all.nl>
[not found] ` <20060805164144.GA23819@host0.dyn.jankratochvil.net>
[not found] ` <20060808160113.GC21032@nevyn.them.org>
2006-08-14 15:07 ` Jan Kratochvil
2006-08-14 21:20 ` Eli Zaretskii
2006-08-14 21:39 ` Daniel Jacobowitz
2006-08-15 3:22 ` Eli Zaretskii
2006-08-15 14:28 ` Jan Kratochvil
2006-08-18 12:27 ` Eli Zaretskii
2006-09-04 17:59 ` Jan Kratochvil [this message]
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=20060904175827.GA18513@host0.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=eliz@gnu.org \
--cc=gdb@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: 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