linux-mips-fnet
[Top] [All Lists]

Bus error of gdb 5.0 with MIPS patch

To: linux-mips@fnet.fr, linux@engr.sgi.com
Subject: Bus error of gdb 5.0 with MIPS patch
From: Jun Sun <jsun@mvista.com>
Date: Sat, 29 Jul 2000 09:05:57 -0700
Cc: jpuhlman@mvista.com
Sender: jsun@hermes.mvista.com
Hi,

I started to play with gdb 5.0 + the MIPS patch at
http://www.ds2.pg.gda.pl/~macro/gdb-5.0/, but I am having a bus error if
I want to do 'next step'.  Setting breakpoints and continuing running
seem to be fine.

The gdb 4.17 rpm from oss.sgi.com does not have this problem.

Any idea?

Jun

---------------

sh-2.03# ./gdb hello
GNU gdb 5.0 (UI_OUT)
Copyright 2000 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 "mipsel-hardhat-linux"...
(gdb) n
The program is not being run.
(gdb) b main
Breakpoint 1 at 0x400c24: file hello.c, line 5.
(gdb) r
Starting program: /tmp/hello 
[tcsetpgrp failed in terminal_inferior: Not a typewriter]
[tcsetpgrp failed in terminal_inferior: Not a typewriter]
[tcsetpgrp failed in terminal_inferior: Not a typewriter]

Breakpoint 1, main () at hello.c:5
5         printf("hello, world\n");
(gdb) n
[tcsetpgrp failed in terminal_inferior: Not a typewriter]
Bus error

-----------

P.S., Does anybody know how to fix "tcsetpgrp ..." error?

<Prev in Thread] Current Thread [Next in Thread>