This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Trouble with GDB/MI output
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Uri Moszkowicz <uri at 4refs dot com>
- Cc: gdb at sourceware dot org
- Date: Sun, 15 Feb 2009 09:32:22 +1300
- Subject: Re: Trouble with GDB/MI output
- References: <f32f8f30902121303t2ad069c6v98728041f57e607b@mail.gmail.com> <f32f8f30902131301m388c8205sb7a900f9c75c3790@mail.gmail.com>
> The funny thing is the program output seems to go straight to my
> terminal, making redirection useless. I get this warning:
>
> &"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
Thiago Bauermann fixed a bug in GDB, just after the release of 6.8, to allow
GDB to set the controlling terminal of the inferior. You don't say what
version of GDB you are using but, assuming it's 6.8 or earlier, you could try
GDB in the CVS repository (or a snapshot) to see if that works with your CPAN
module.
--
Nick http://www.inet.net.nz/~nickrob