This is the mail archive of the gdb-patches@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: [patch] Fix a glitch in debugging 32-bit process with 64-bit GDB.


On Mon, Dec 08, 2008 at 06:42:52PM -0800, Paul Pluzhnikov wrote:
> That value was set here:
> 
> #0  define_symbol (valu=4294967280, string=0x2aaaabd3285c
> "ar_ptr:p(0,32)", desc=2742, type=160, objfile=0xed4070)
>     at ../../src/gdb/stabsread.c:936

I was afraid we were going to come back to the stabs reader somehow.

The bit of GDB you're patching is not at fault; either BFD or the
stabs reader is.  The right fix is to end up with a -16 in the symbol.
Something like Peter's patch, I suppose; although I thought something
else had been posted for this recently, maybe by Joel...

-- 
Daniel Jacobowitz
CodeSourcery


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