Break at address on darwin

Pedro Alves pedro@codesourcery.com
Wed Aug 3 09:00:00 GMT 2011


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



More information about the Gdb mailing list