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: Why won't gdb stop on packed (UPX) file breakpoint at entrypoint?


I get the following error.
(gdb) x/2i 0xc07fd0
0xc07fd0:       Cannot access memory at address 0xc07fd0

Gary Guy

On Wed, Mar 26, 2008 at 5:00 PM, Daniel Jacobowitz <drow@false.org> wrote:
> On Wed, Mar 26, 2008 at 04:57:02PM -0400, gdb guy wrote:
> > (gdb) b *0xc07fd0
> > Breakpoint 1 at 0xc07fd0
> > (gdb) r
>
> Known bug (well, sort of a bug, sort of a feature) in GDB.  Use x/2i
> 0xc07fd0 and set the breakpoint at the second instruction.
>
> > Also, just for my own benefit, and those who google after me, on GDB
> > 6.3 (which I have on another older VM) what does DSO stand for when it
> > says "Loading system supplied DSO at 0xc00000"?
>
> Dynamic Shared Object.  Google for vDSO.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>


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