This is the mail archive of the gdb@sources.redhat.com 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: a question in gdb


On Tue, May 24, 2005 at 07:06:08PM +0800, zouq wrote:
> i download the gdb-6.3 version,
> and configure it as follows:
> ../gdb-6.3/configure --prefix=/opt/gdb-o32 --host=mipsel-linux -v
> make
> make install
> 
> then i use it to debug a n32 program,
> it comes with:
> (gdb) run
> 
>  Program received signal SIGTRAP, Trace/breakpoint trap.
>  0x83df010000160 in ?? ()
> 
> 
> why ?
> can someone tell me the reason?
> thanks a lot.

You can't debug 64-bit binaries with a 32-bit GDB.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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