Re: troubles with gdb
On Thu, Oct 21, 2004 at 11:25:28AM +0200, olivier.delouya@takasic.fr wrote:
> I am having troubles with gdb /arm-linux:
>
> each program step displays the following message
>
> "[tcsetpgrp failed in terminal_inferior: Inapropriate ioctl call for
> device]"
> a strace shows that it results from an ioctl(0, 0x5410, [51]) = -1, ENOTTY
> (the fact that strace is not capable of displaying the symbolic ioctl call
> may
> be an additional indication..
>
> What could it be?
> the console wrongly initialized?
> a ioctl requested by gdb not implemented by the device driver ?
> what ever?
>
> thanks to help me
My first guess from the error would be that something curses/ncurses
related isn't working because of a wrong terminal type or just a crappy
terminal in general. Or the program doesn't even have a TTY at all to
talk to.
Len Sorensen
Reply to: