This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: break doesn't work with thread on mips
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: GDB <gdb at sources dot redhat dot com>
- Date: Wed, 6 Mar 2002 22:35:07 -0500
- Subject: Re: break doesn't work with thread on mips
- References: <20020306010500.A12030@lucon.org>
On Wed, Mar 06, 2002 at 01:05:00AM -0800, H . J . Lu wrote:
> 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?
Are you using current GDB?
Program exited normally.
(gdb) del 1
(gdb) b main
Breakpoint 2 at 0x4009f4: file twothreads.c, line 16.
It works for me.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer