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?


Sorry to not be clear, but I was doing it before running:
$gdb ./UPXps
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) x/2i 0xc07fd0
0xc07fd0:       Cannot access memory at address 0xc07fd0

Gary Guy

On Wed, Mar 26, 2008 at 5:10 PM, Daniel Jacobowitz <drow@false.org> wrote:
> On Wed, Mar 26, 2008 at 05:09:33PM -0400, gdb guy wrote:
> > I get the following error.
> > (gdb) x/2i 0xc07fd0
> > 0xc07fd0:       Cannot access memory at address 0xc07fd0
>
> Do it before the first time you run and that may help.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>


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