[PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-20 Thread Vineet Gupta
[Based on mainline commit 502a0c775c7f0a: "ARC: pt_regs update #5"] gdbserver needs @stop_pc, served by ptrace, but fetched from pt_regs differently, based on in_brkpt_traps(), which in turn relies on additional machine state in pt_regs->event bitfield. unsigned long orig_r8:16,

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-20 Thread greg Kroah-Hartman
stable backport. Do I need to do anything > >> more to get them included. > >> > >> https://patchwork.kernel.org/patch/2841153/ [1/2] ARC: gdbserver breakage > >> in Big-Endian configuration > >> #1<https://patchwork.kernel.org/patch/2841153/>] > &

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-20 Thread greg Kroah-Hartman
included. https://patchwork.kernel.org/patch/2841153/ [1/2] ARC: gdbserver breakage in Big-Endian configuration #1https://patchwork.kernel.org/patch/2841153/] https://patchwork.kernel.org/patch/2841158/ [2/2] ARC: gdbserver breakage in Big-Endian configuration #2https

[PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-20 Thread Vineet Gupta
[Based on mainline commit 502a0c775c7f0a: ARC: pt_regs update #5] gdbserver needs @stop_pc, served by ptrace, but fetched from pt_regs differently, based on in_brkpt_traps(), which in turn relies on additional machine state in pt_regs-event bitfield. unsigned long orig_r8:16, event:16;

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-19 Thread Vineet Gupta
patchwork.kernel.org/patch/2841153/ [1/2] ARC: gdbserver breakage >> in Big-Endian configuration #1<https://patchwork.kernel.org/patch/2841153/>] >> https://patchwork.kernel.org/patch/2841158/ [2/2] ARC: gdbserver breakage >> in Big-Endian configuration #2<https://pat

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-19 Thread greg Kroah-Hartman
On Mon, Aug 19, 2013 at 09:08:49AM +, Vineet Gupta wrote: > Hi Greg, > > I'd posted these patches for stable backport. Do I need to do anything more > to get them included. > > https://patchwork.kernel.org/patch/2841153/ [1/2] ARC: gdbserver breakage in > Big-Endian c

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-19 Thread Vineet Gupta
Hi Greg, I'd posted these patches for stable backport. Do I need to do anything more to get them included. https://patchwork.kernel.org/patch/2841153/ [1/2] ARC: gdbserver breakage in Big-Endian configuration #1<https://patchwork.kernel.org/patch/2841153/>] https://patchwork.kernel.org

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-19 Thread Vineet Gupta
Hi Greg, I'd posted these patches for stable backport. Do I need to do anything more to get them included. https://patchwork.kernel.org/patch/2841153/ [1/2] ARC: gdbserver breakage in Big-Endian configuration #1https://patchwork.kernel.org/patch/2841153/] https://patchwork.kernel.org/patch

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-19 Thread greg Kroah-Hartman
On Mon, Aug 19, 2013 at 09:08:49AM +, Vineet Gupta wrote: Hi Greg, I'd posted these patches for stable backport. Do I need to do anything more to get them included. https://patchwork.kernel.org/patch/2841153/ [1/2] ARC: gdbserver breakage in Big-Endian configuration #1https

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-19 Thread Vineet Gupta
: gdbserver breakage in Big-Endian configuration #1https://patchwork.kernel.org/patch/2841153/] https://patchwork.kernel.org/patch/2841158/ [2/2] ARC: gdbserver breakage in Big-Endian configuration #2https://patchwork.kernel.org/patch/2841158/ I ignored them as I thought you were submitting them

[PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-08 Thread Vineet Gupta
Exception handling keeps additional state (whether exception was Trap and if it was due to a breakpoint) in pt_regs->event, a bitfield member unsigned long orig_r8:16, event:16; A bitfield esentially has an "offset" and a "length". What I wasn't aware of was that, bitfields in a union

[PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-08 Thread Vineet Gupta
Exception handling keeps additional state (whether exception was Trap and if it was due to a breakpoint) in pt_regs-event, a bitfield member unsigned long orig_r8:16, event:16; A bitfield esentially has an offset and a length. What I wasn't aware of was that, bitfields in a union loose