Re: [Qemu-devel] setting MIPS gdb breakpoints have wrong offsets

2006-06-11 Thread Daniel Jacobowitz
On Sun, Jun 11, 2006 at 10:56:51PM +0200, Stefan Weil wrote: > Hi Dirk, > > when I set a breakpoint to address 0x8180 ("b *0x8180"), this > works as expected. So do breakpoints to symbolic addresses in the > Linux kernel. > > "info breakpoints" shows address 0x8180 for the fir

Re: [Qemu-devel] setting MIPS gdb breakpoints have wrong offsets

2006-06-11 Thread Stefan Weil
Hi Dirk, when I set a breakpoint to address 0x8180 ("b *0x8180"), this works as expected. So do breakpoints to symbolic addresses in the Linux kernel. "info breakpoints" shows address 0x8180 for the first example. Maybe "b *0xbfc00380" works for your case. If it does, your m

[Qemu-devel] setting MIPS gdb breakpoints have wrong offsets

2006-06-11 Thread Dirk Behme
Hi, I just tried to debug some simple MIPS code using qemu-system-mipsel by setting some breakpoints. If I use gdb's break command with symbol names the breakpoints are set at offsets and therefore they are never hit. Please find an example below. I'd like to stop the program if I get an in