Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: phi <phi@hpfrcu81.france.hp.com>
Cc: Robin Rowe <rower@MovieEditor.com>, gdb@sources.redhat.com
Subject: Re: Just-in-time debugging on Linux
Date: Mon, 10 Jun 2002 09:25:00 -0000	[thread overview]
Message-ID: <878z5nt7gf.fsf@creche.redhat.com> (raw)
In-Reply-To: phi's message of "Sun, 09 Jun 2002 11:36:37 +0200"

>>>>> "phi" == phi  <phi@hpfrcu81.france.hp.com> writes:

phi> Then wrap them up in a script 
phi> rename prog xyz into xyz.ori  this doesn't modify the prog?
phi> then implement the script xyz that does

phi> xyz::
phi> #! your shell
phi> gdb xyz.ori $@

This doesn't really work.  One problem is that the inferior won't
start running automatically.  The other problem is that I/O
redirections get hosed (I think).

I do think this would be a useful feature for gdb.  I've wanted it for
a number of years now, but haven't had the time to implement it.

Incidentally your script is missing a `--args'.

Tom


  reply	other threads:[~2002-06-10 16:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-09  1:30 # " Michael Veksler
2002-06-09  1:57 ` Robin Rowe
2002-06-09  2:36   ` phi
2002-06-10  9:25     ` Tom Tromey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-07 17:24 Just-in-time debugging Robin Rowe
2002-06-08 10:26 ` Christopher Faylor
2002-06-08 23:17   ` Just-in-time debugging on Linux Robin Rowe

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=878z5nt7gf.fsf@creche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=phi@hpfrcu81.france.hp.com \
    --cc=rower@MovieEditor.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