Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 2007-08-23  2:56 xchen
  0 siblings, 0 replies; 32+ messages in thread
From: xchen @ 2007-08-23  2:56 UTC (permalink / raw)
  To: gdb

Hi 
 
I meet this error when I use gdb run on 860 board
 
compile gdb 
CC=ppc_8xx-gcc AR=ppc_8xx-ar RANLIB=ppc_8xx-ranlib LD=ppc_8xx-ld ./configure
--build=i686-linux --host=ppc-linux --prefix=/us
r --sysconfdir=/etc |tee configure.out
make 2>&1 | tee make.out
make install 2>&1 | tee -a make.out
 
belowed is the snapshot for gdb
 
# cat hellogdb.c
#include<stdio.h>
 
int main()
{
        int i=1;
        int m=2;
        printf("hello gdb\n");
        return 1;
}
# ./gdb hellogdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x100003ec: file hellogdb.c, line 5.
(gdb) run
Starting program: /mnt/cf/system/hellogdb 
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
 
Breakpoint 1, main () at hellogdb.c:5
5               int i=1;
(gdb) step
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
6               int m=2;
 
Does anyone know the reason?
 
Thx
 
Xi


^ permalink raw reply	[flat|nested] 32+ messages in thread
* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
@ 1999-04-16  9:02 christophe leroy
  1999-04-16  8:07 ` christophe leroy
  1999-04-16 14:31 ` Philip Blundell
  0 siblings, 2 replies; 32+ messages in thread
From: christophe leroy @ 1999-04-16  9:02 UTC (permalink / raw)
  To: gdb

Does someone knows why I'm getting such an error when triing to run
something with gdb  on an arm processor :
BFD: /mnt/./tick: version count (4) does not match symbol count (8)

(gdb) run
Starting program: /mnt/./tick
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
BFD: /lib/libc.so.6: version count (847) does not match symbol count
(1695)
Cannot access memory at address 0x0.

I've managed to make the BFD related problem disappear by replacing bfd
subtree by binutils one.
the "tcsetpgrp failed" stays anyway
So if someone can help

Thanks

christophe

christophe leroy wrote:

> christophe leroy wrote:
>
> > Philip Blundell wrote:
> >
> >
> > I think i've found something.
> >
> >
http://master.debian.org/~davidw/netwinder/gdb_4.17-4.arm.m68k.objc.threads.hwwp.fpu.gnat.1.diff.gz

> >
> > christophe
> >
> > unsubscribe: body of `unsubscribe linux-arm' to
majordomo@vger.rutgers.edu
>
> I've compiled and tried gdb.  I've got errors !
>
> christophe
>
> init-2.02# bin/gdb ./tick
> GNU gdb 4.17.m68k.objc.threads.hwwp.fpu.gnat
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
you are
> welcome to change it and/or distribute copies of it under certain
conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
details.
> This GDB was configured as "arm-linux"...BFD: /mnt/./tick: version
count (4) does not match symbol
> count (8)
>
> (gdb) break main
> Breakpoint 1 at 0x20003d0: file tick.c, line 4.
> (gdb) run
> Starting program: /mnt/./tick
> [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for
device]
> BFD: /lib/libc.so.6: version count (847) does not match symbol count
(1695)
> Cannot access memory at address 0x0.
> (gdb)
>




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

end of thread, other threads:[~2007-08-23 11:47 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20070823025630.E5EB6D7FBF@cm-ms5.globat.com>
2007-08-23  7:59 ` Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Stuart Hughes
2007-08-23 11:47   ` Daniel Jacobowitz
2007-08-23  2:56 xchen
  -- strict thread matches above, loose matches on Subject: below --
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
2007-08-23  2:56 xchen
1999-04-16  9:02 christophe leroy
1999-04-16  8:07 ` christophe leroy
1999-04-16 14:31 ` Philip Blundell
1999-04-26  9:48   ` christophe leroy
1999-04-26  8:26     ` christophe leroy

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