break doesn't work with thread on mips

H . J . Lu hjl@lucon.org
Wed Mar 6 01:05:00 GMT 2002


When I do

# gdb a.out
(gdb) b main
Breakpoint 1 at 0x400910: file x.c, line 25.
(gdb) r
(gdb) del 1
(gdb) b main
reading register sp (#29): No such process.

That is break no longer works after the program runs if thread is used.
Why does gdb want to read sp anyway? It sounds like the old bug:

http://sources.redhat.com/ml/gdb/2001-11/msg00156.html

Has it been fixed?


H.J.



More information about the Gdb mailing list