Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] run > file for win32
@ 2002-02-16  2:03 Christopher Faylor
  2002-02-20  1:58 ` Pierre Muller
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Faylor @ 2002-02-16  2:03 UTC (permalink / raw)
  To: gdb-patches

I've just adapted some patches from Tak Ota to win32-nat.c.

Tak's patch didn't seem to be complete but the concept was so nice that
I took some time in the last few days and finished things.

The result is that you can use shell meta characters in gdb now, so
things like 'run < foo > bar' now work.

Since this is a departure from previous behavior, I turned this is off
by default.  I added a 'set shell' command to control whether it is used
or not.

Hmm.  I forgot to document this, didn't I?  I'll submit that patch later.

Thanks you for your contribution, Tak!  I've wanted this in the windows
version of gdb for a long time.

cgf

2002-02-15  Christopher Faylor  <cgf@redhat.com>
            Tak Ota <Takaaki.Ota@am.sony.com>

	* win32-nat.c (get_image_name): New function.
	(handle_load_dll): Use get_image_name function.
	(get_child_debug_event): Avoid registering debug events until possibly
	execed process is started.
	(child_create_inferior): Allow invocation via shell so that command
	line redirection, etc.  works ok.
	(_initialize_inftarg): Add new command: "set shell" to control whether
	a shell is used to start a process.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-02-20 18:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-16  2:03 [PATCH] run > file for win32 Christopher Faylor
2002-02-20  1:58 ` Pierre Muller
2002-02-20  8:11   ` Christopher Faylor
2002-02-20  8:41     ` Pierre Muller
2002-02-20  8:58       ` Christopher Faylor
2002-02-20 10:42         ` muller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox