* input redirection
@ 2002-10-12 4:07 Varun Kacholia
0 siblings, 0 replies; 4+ messages in thread
From: Varun Kacholia @ 2002-10-12 4:07 UTC (permalink / raw)
To: gdb
hello,
I want to redirect the input to gdb from some other program/device.
Actually i wish to attach gdb to an already running program and need
that the program can pass commands to gdb backend w/o again and again
executing gdb. The program once makes a persistent connection (how?)
with gdb backend and passes commands to the backend which the user inputs.
I tried the -tty option but in vain.
Thanks a lot for any help.
--
Varun
------
^ permalink raw reply [flat|nested] 4+ messages in thread
* input redirection
@ 2002-10-23 2:23 antoine.trux
2002-10-23 10:38 ` Christopher Faylor
2002-10-23 10:59 ` Eli Zaretskii
0 siblings, 2 replies; 4+ messages in thread
From: antoine.trux @ 2002-10-23 2:23 UTC (permalink / raw)
To: gdb
Hi,
There seems to be problems related to input redirection with the Insight Debugger, at least on Windows NT. I discussed this in insight@sources.redhat.com:
http://sources.redhat.com/ml/insight/2002-q3/msg00133.html
http://sources.redhat.com/ml/insight/2002-q3/msg00135.html
http://sources.redhat.com/ml/insight/2002-q3/msg00139.html
http://sources.redhat.com/ml/insight/2002-q3/msg00140.html
In his last reply, Keith Seitz (keiths@redhat.com) suggested that I contact gdb@sources.redhat.com regarding this problem.
Any help appreciated,
Antoine
P.S.: Yes, I searched the archives of gdb@sources.redhat.com and cygwin@sources.redhat.com, but found nothing helpful.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: input redirection
2002-10-23 2:23 antoine.trux
@ 2002-10-23 10:38 ` Christopher Faylor
2002-10-23 10:59 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Christopher Faylor @ 2002-10-23 10:38 UTC (permalink / raw)
To: gdb
On Wed, Oct 23, 2002 at 12:23:21PM +0300, antoine.trux@nokia.com wrote:
>P.S.: Yes, I searched the archives of gdb@sources.redhat.com and
>cygwin@sources.redhat.com, but found nothing helpful.
Hmm. You should have found some indication that input redirection isn't
currently functional in gdb for Windows whether it's the insight version
or the command line version.
There was some work added (from me) a while ago but it wasn't
functional. Pierre Mueller had some patches which helped but I didn't
like them so they didn't go in. I have an idea about how to do things
correctly but, for now, input redirection doesn't work.
cgf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: input redirection
2002-10-23 2:23 antoine.trux
2002-10-23 10:38 ` Christopher Faylor
@ 2002-10-23 10:59 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2002-10-23 10:59 UTC (permalink / raw)
To: antoine.trux; +Cc: gdb
> Date: Wed, 23 Oct 2002 12:23:21 +0300
> From: <antoine.trux@nokia.com>
>
> There seems to be problems related to input redirection with the Insight Debugger, at least on Windows NT. I discussed this in insight@sources.redhat.com:
>
> http://sources.redhat.com/ml/insight/2002-q3/msg00133.html
> http://sources.redhat.com/ml/insight/2002-q3/msg00135.html
> http://sources.redhat.com/ml/insight/2002-q3/msg00139.html
> http://sources.redhat.com/ml/insight/2002-q3/msg00140.html
I think redirection a-la "run < foo" is supported on Windows beginning
with GDB 5.2 or 5.2.1 (or maybe only the upcoming 5.3). I do recall
that it was introduced only a few months ago.
Chris, can you please comment?
Antoine, can you try the latest codebase from CVS head, and see if
the problem is solved there?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-23 17:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-12 4:07 input redirection Varun Kacholia
2002-10-23 2:23 antoine.trux
2002-10-23 10:38 ` Christopher Faylor
2002-10-23 10:59 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox