* Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
1999-04-16 9:02 Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] christophe leroy
@ 1999-04-16 8:07 ` christophe leroy
1999-04-16 14:31 ` Philip Blundell
1 sibling, 0 replies; 32+ messages in thread
From: christophe leroy @ 1999-04-16 8:07 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
* 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
* Re: Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
1999-04-16 9:02 Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] christophe leroy
1999-04-16 8:07 ` christophe leroy
@ 1999-04-16 14:31 ` Philip Blundell
1999-04-26 9:48 ` christophe leroy
1 sibling, 1 reply; 32+ messages in thread
From: Philip Blundell @ 1999-04-16 14:31 UTC (permalink / raw)
To: christophe leroy; +Cc: gdb
>Does someone knows why I'm getting such an error when triing to run
>something with gdb on an arm processor :
Try gdb 4.18 with the patch I posted to this mailing list a few days ago. You
need to be running a 2.2.5 kernel patched with the latest diff from my
directory on ftp.netwinder.org for native breakpoints to work, though.
p.
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
1999-04-26 9:48 ` christophe leroy
@ 1999-04-26 8:26 ` christophe leroy
0 siblings, 0 replies; 32+ messages in thread
From: christophe leroy @ 1999-04-26 8:26 UTC (permalink / raw)
To: Philip Blundell; +Cc: gdb
Philip Blundell wrote:
> >Does someone knows why I'm getting such an error when triing to run
> >something with gdb on an arm processor :
>
> Try gdb 4.18 with the patch I posted to this mailing list a few days ago. You
> need to be running a 2.2.5 kernel patched with the latest diff from my
> directory on ftp.netwinder.org for native breakpoints to work, though.
>
> p.
I've tried this and get the following problems.
- Patch, found on http://sourceware.cygnus.com , i've got some ununderstandable
rejects. Applied by hand
- Configure in readline directory doesn't like cross compiling.
What can I do ?
christophe
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
1999-04-16 14:31 ` Philip Blundell
@ 1999-04-26 9:48 ` christophe leroy
1999-04-26 8:26 ` christophe leroy
0 siblings, 1 reply; 32+ messages in thread
From: christophe leroy @ 1999-04-26 9:48 UTC (permalink / raw)
To: Philip Blundell; +Cc: gdb
Philip Blundell wrote:
> >Does someone knows why I'm getting such an error when triing to run
> >something with gdb on an arm processor :
>
> Try gdb 4.18 with the patch I posted to this mailing list a few days ago. You
> need to be running a 2.2.5 kernel patched with the latest diff from my
> directory on ftp.netwinder.org for native breakpoints to work, though.
>
> p.
I've tried this and get the following problems.
- Patch, found on http://sourceware.cygnus.com , i've got some ununderstandable
rejects. Applied by hand
- Configure in readline directory doesn't like cross compiling.
What can I do ?
christophe
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
2007-08-23 7:59 ` Stuart Hughes
@ 2007-08-23 11:47 ` Daniel Jacobowitz
0 siblings, 0 replies; 32+ messages in thread
From: Daniel Jacobowitz @ 2007-08-23 11:47 UTC (permalink / raw)
To: Stuart Hughes; +Cc: xchen, gdb
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
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[not found] <20070823025630.E5EB6D7FBF@cm-ms5.globat.com>
@ 2007-08-23 7:59 ` Stuart Hughes
2007-08-23 11:47 ` Daniel Jacobowitz
0 siblings, 1 reply; 32+ messages in thread
From: Stuart Hughes @ 2007-08-23 7:59 UTC (permalink / raw)
To: xchen; +Cc: gdb
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
Regards, Stuart
On Thu, 2007-08-23 at 10:55 +0800, xchen wrote:
> 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]
@ 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
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 --
1999-04-16 9:02 Unknown error with gdb [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] 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
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
2007-08-23 2:56 xchen
[not found] <20070823025630.E5EB6D7FBF@cm-ms5.globat.com>
2007-08-23 7:59 ` Stuart Hughes
2007-08-23 11:47 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox