All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] setting MIPS gdb breakpoints have wrong offsets
Date: Sun, 11 Jun 2006 22:56:51 +0200	[thread overview]
Message-ID: <448C8393.8060802@mail.berlios.de> (raw)
In-Reply-To: <448C218D.7040802@gmail.com>

Hi Dirk,

when I set a breakpoint to address 0x80000180 ("b *0x80000180"), this
works as expected. So do breakpoints to symbolic addresses in the
Linux kernel.

"info breakpoints" shows address 0xffffffff80000180 for the first example.

Maybe "b *0xbfc00380" works for your case. If it does, your mips-gdb
is somehow strange.

Regards
Stefan


Dirk Behme schrieb:

> 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 
> interrupt, everything looks okay. But break command sets breakpoint at 
> 0xbfc00384 instead of 0xbfc00380. Is this a bug or feature? I use 
> qemu-system-mipsel with some of the pending MIPS patches applied 
> locally. If this is a bug, can anybody else reproduce this? Any idea?
>
> Best regards
>
> Dirk

  reply	other threads:[~2006-06-11 20:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11 13:58 [Qemu-devel] setting MIPS gdb breakpoints have wrong offsets Dirk Behme
2006-06-11 20:56 ` Stefan Weil [this message]
2006-06-12  0:43   ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=448C8393.8060802@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.