Re: [RFC] DW_OP_piece vs. DW_OP_bit_piece on a Register

2016-02-11 Thread Andreas Arnez
On Thu, Feb 11 2016, Matthew Fortune wrote: > No I think this is backwards it is the left half that shadows the next > register and pieces are taken from the right. I've attempted a description > below to see if it helps. > > I don't believe (in the MIPS case) we could unconditionally view the eve

RE: [RFC] DW_OP_piece vs. DW_OP_bit_piece on a Register

2016-02-11 Thread Matthew Fortune
Sorry for the slow response... Andreas Arnez writes: > On Mon, Jan 25 2016, Matthew Fortune wrote: > > > My dwarf knowledge is not brilliant but I have had to recently > > consider it for MIPS floating point ABI changes aka FPXX and friends. > > I don't know exactly where this fits in to your wh

Re: [RFC] DW_OP_piece vs. DW_OP_bit_piece on a Register

2016-01-26 Thread Andreas Arnez
On Mon, Jan 25 2016, Matthew Fortune wrote: > My dwarf knowledge is not brilliant but I have had to recently consider > it for MIPS floating point ABI changes aka FPXX and friends. I don't know > exactly where this fits in to your whole description but in case it has > a bearing on this we now hav

RE: [RFC] DW_OP_piece vs. DW_OP_bit_piece on a Register

2016-01-25 Thread Matthew Fortune
Andreas Arnez writes: > 6 Summary of Open Questions > === > > 1. Out of the standard interpretations discussed under "options" > (section 4) above, which do we want to settle on? Or is the > "preferred" interpretation missing from that list? > 2. Should piec

Re: [RFC] DW_OP_piece vs. DW_OP_bit_piece on a Register

2016-01-18 Thread Andreas Arnez
On Sat, Jan 16 2016, Joel Brobecker wrote: >> After analyzing some test case failures in GCC and GDB I realized that >> there are various problems with the handling of DWARF pieces >> (particularly from registers) in the current implementations of GCC and >> GDB. I'm working on a fix for the GDB

Re: [RFC] DW_OP_piece vs. DW_OP_bit_piece on a Register

2016-01-16 Thread Joel Brobecker
> After analyzing some test case failures in GCC and GDB I realized that > there are various problems with the handling of DWARF pieces > (particularly from registers) in the current implementations of GCC and > GDB. I'm working on a fix for the GDB part, but first I'd like to check > whether I'm