This is the mail archive of the gdb-patches@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: Re: patch for printing 64-bit values in i386 registers; STABS format


> > BTW, what happens when there is an attempt to write a long long value?
> > GDB again assumes that it can write to contigious registers - the reason
> > why REGISTER_BYTE can't be killed.
>
> That ugliness could go away too with Mark's introduced method.  GDB
> could be fixed to find the next register properly.

I forgot about the write case.  It seems to route through write_register_bytes,
which is unfortunate because the register order problem is tougher to solve
there.  It might make more sense to avoid using write_register_bytes up in 
value_assign, having it iterate over the registers.

Mark, could you pass along your patch?  I might be able to use it.  

Thanks!

_____
colin

> --
> Daniel Jacobowitz
> MontaVistaSoftware                         Debian GNU/Linux Developer
>


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