Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb@sourceware.org
Cc: "Ben L. Titzer" <ben.titzer@gmail.com>,
	Jonas Maebe <jonas.maebe@elis.ugent.be>
Subject: Re: Break at address on darwin
Date: Wed, 03 Aug 2011 09:00:00 -0000	[thread overview]
Message-ID: <201108030959.38208.pedro@codesourcery.com> (raw)
In-Reply-To: <CAL9pw=-KOMv=LbE8X1_mvaucsGeGJp2xNroCUmXch+_kCYBMEQ@mail.gmail.com>

On Tuesday 02 August 2011 22:51:22, Ben L. Titzer wrote:
> (gdb) disass 0x1114 0x1140
> Dump of assembler code from 0x1114 to 0x1140:
> 0x00001114:     mov    (%esp),%ebx
> 0x00001117:     mov    $0x0,%eax
...
> (gdb) break *0x1148
> Breakpoint 2 at 0x1148

> Num Type           Disp Enb Address    What
> 1   breakpoint     keep y   0x00001114
> 2   breakpoint     keep y   0x00001148

Does the program really load at those addresses?
They look suspiciously low.

-- 
Pedro Alves


  parent reply	other threads:[~2011-08-03  9:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02 16:47 Ben L. Titzer
2011-08-02 19:00 ` Jeffrey Walton
2011-08-02 19:19   ` Ben L. Titzer
2011-08-02 20:31     ` Jonas Maebe
2011-08-02 21:51       ` Ben L. Titzer
2011-08-03  8:09         ` Tristan Gingold
2011-08-03  9:00         ` Pedro Alves [this message]
2011-08-03  9:05           ` Jonas Maebe
2011-08-03 13:45             ` Ben L. Titzer
2011-08-03 14:06               ` Pedro Alves
2011-08-03 21:00                 ` Ben L. Titzer
2011-08-04  7:19                   ` Tristan Gingold

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=201108030959.38208.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=ben.titzer@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=jonas.maebe@elis.ugent.be \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox