This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
- From: Daniel Jacobowitz <drow at false dot org>
- To: Stuart Hughes <stuarth at freescale dot com>
- Cc: xchen <xchen at sunrisetelecom dot com dot cn>, gdb at sourceware dot org
- Date: Thu, 23 Aug 2007 07:47:52 -0400
- Subject: Re: Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
- References: <20070823025630.E5EB6D7FBF@cm-ms5.globat.com> <1187855851.3805.37.camel@m20>
On Thu, Aug 23, 2007 at 08:57:30AM +0100, Stuart Hughes wrote:
> Hi Xi,
>
> I'm not sure if it's the same isse, but in LTIB we have this patch for
> gdb: http://www.bitshrine.org/gpp/gdb-6.3-tcsetpgrp-1.patch
Hmm, probably a reasonable patch. But if you're getting this error,
it means your kernel didn't give you a proper console device - it's
running raw on the serial port, and probably job control doesn't work
right either.
--
Daniel Jacobowitz
CodeSourcery