This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- From: Pedro Alves <palves at redhat dot com>
- To: Ajit Kumar Agarwal <ajit dot kumar dot agarwal at xilinx dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Michael Eager <eager at eagercon dot com>, Vinod Kathail <vinodk at xilinx dot com>, Vidhumouli Hunsigida <vidhum at xilinx dot com>, Nagaraju Mekala <nmekala at xilinx dot com>
- Date: Mon, 30 Jun 2014 12:22:51 +0100
- Subject: Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- Authentication-results: sourceware.org; auth=none
- References: <fe2ea02f-37b9-4ebe-acd4-6d1192c26358 at BN1AFFO11FD059 dot protection dot gbl> <53A023B1 dot 5000105 at redhat dot com> <859f27cb-8c46-46c1-9625-7287c60f3ae9 at BY2FFO11FD007 dot protection dot gbl> <53A1ABF0 dot 9080004 at redhat dot com> <74281fd5-518a-4d7f-977a-6fa1320f6db9 at BY2FFO11FD016 dot protection dot gbl> <53A1B61F dot 9080803 at redhat dot com> <736c2e0d-6ff1-40c3-8120-dc6f5d91e6b1 at BL2FFO11FD052 dot protection dot gbl> <53A8290A dot 1050701 at redhat dot com> <ffd28f14-2c96-471f-a2c8-4f35b010727d at BN1AFFO11FD006 dot protection dot gbl> <53A94147 dot 4050700 at redhat dot com> <57ebe4b0-83eb-4208-9778-472ecf0048d4 at BY2FFO11FD038 dot protection dot gbl> <53A96993 dot 5040804 at redhat dot com> <109c35c1-e2f6-430f-9235-c6c82a93daf1 at BL2FFO11FD009 dot protection dot gbl> <53A97330 dot 4080708 at redhat dot com> <aff81eb4-90b2-4509-8790-6fcbede578b1 at BL2FFO11FD005 dot protection dot gbl> <53B1420A dot 40501 at redhat dot com> <d1f89215-a136-496d-9547-34a8066646c4 at BN1AFFO11FD055 dot protection dot gbl>
On 06/30/2014 12:13 PM, Ajit Kumar Agarwal wrote:
> -----Original Message-----
> From: Pedro Alves [mailto:palves@redhat.com]
> Sent: Monday, June 30, 2014 4:25 PM
> To: Ajit Kumar Agarwal
> Cc: gdb-patches@sourceware.org; Michael Eager; Vinod Kathail; Vidhumouli Hunsigida; Nagaraju Mekala
> Subject: Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
>
> On 06/30/2014 11:32 AM, Ajit Kumar Agarwal wrote:
>> Signed-off-by:Ajit Agarwal ajitkum@xilinx.com
>>
>>>> In this case is it correct to say
>>>> If (tdesc == NULL)
>>>> tdesc = tdesc_microblaze;
>>>>
>>>> instead of tdesc_microblaze_with_stack_protect?
>>>>>> Yes.
>> Instead of tdesc_microblaze_with_stack_protect if I use tdesc_microblaze the "G Packet message is too long" error is not resolved.
>
>>> Then it sounds like the G packet size guesses you're adding aren't actually triggering. Why?
>
> I have checked the guesses are actually triggering as it works fine with backward compatibility with the Designs there is no stack-protect registers. For the Design that has the
> Stack protect register, it reports the message " G packet too long ".
If the G guess is triggering OK, and so GDB picks the description with the
stack protect registers based on the G packet size, why would the default
target description matter at all? If it does, then something sounds broken.
What are you doing different from the other ports that use this mechanism?
Please debug this a bit further.
--
Pedro Alves
- References:
- [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- RE: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- RE: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- RE: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- RE: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- RE: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- RE: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- RE: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- Re: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.
- RE: [Patch, microblaze]: Fix for remote G Packet message too long error for baremetal.