This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Break at address on darwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]