kdb
[Top] [All Lists]

RE: [Kgdb-bugreport] kdb working, but kgdb not? 2.6.35-rc3

To: "'Jason Wessel'" <jason.wessel@xxxxxxxxxxxxx>
Subject: RE: [Kgdb-bugreport] kdb working, but kgdb not? 2.6.35-rc3
From: Caz Yokoyama <cazyokoyama@xxxxxxxxx>
Date: Sun, 22 Aug 2010 14:29:27 -0700
Cc: "'Matt W. Benjamin'" <matt@xxxxxxxxxxxx>, "'KGDB Mailing List'" <kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx>, <kdb@xxxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:references:subject :date:message-id:mime-version:content-type:x-mailer:thread-index :in-reply-to:x-mimeole; bh=Q7RtUDi2FMHi9bx7oK225dYg5HUsu57Vlint6Hv2JOM=; b=ovxLkrx9QByaIUk0eiBv9db0hUpyFW/s1b6MmnK2wRiaDJz0496tjInMjZOfHgaIE7 Ux3/jVSMUFOOnOsiycNN9HuaTCCllD7j3cPvHubZVHsVgzJbhpkK966IwW0bTfQfpFgg nLWzToEbkWcCTe57RbHmOz7zRZS14kK4m8Kws=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:subject:date:message-id:mime-version :content-type:x-mailer:thread-index:in-reply-to:x-mimeole; b=A1SGGZA1/2dZkKdkmf06GBk3ws4V2c1gd/+Aa3px9L8MTenSDsOxQpawPC7Z8L58QZ gWprqoz95o9byjB0mjjRvLhodtZrkcKX1+/59tokQ+yjW1dh8gVFmtXFvm6RSFyvIKkY ohwTGtm3XoL5gMf2zsPJbbpj4JHsAoQjQpgw8=
In-reply-to: <AANLkTilyIrrPshaMB1k1sHweSoj42tFa9Yt_pB7QE6By@xxxxxxxxxxxxxx>
References: <1324243261.5330.1277735064489.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx><1315301307.5332.1277735201736.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx><AANLkTinhGY1u7zWBLmpFBK74qUSliWbBrrtEsjn_pgxS@xxxxxxxxxxxxxx><4C28C197.6000609@xxxxxxxxxxxxx> <AANLkTilyIrrPshaMB1k1sHweSoj42tFa9Yt_pB7QE6By@xxxxxxxxxxxxxx>
Thread-index: AcsW2y90NxHHeNVEQ5qErDoDQvZ9jArZA0UQ

Hello Jason,

Could you return ‘\0’ for “qTStatus”? It seems gdb asks gdbserver trace point status on break-in. qTStatus is one of them. I believe kgdb stub returns ‘E’ for “qTStatus”. I am asking you to return ‘\0’ instead of ‘E’. If kgdb stub returns ‘\0’, gdb works fine with Linux kgdb without modification on gdb at least break-in, continue and quit.

Thanks.

-caz


From: caz yokoyama [mailto:cazyokoyama@xxxxxxxxx]
Sent: Monday, June 28, 2010 9:02 AM
To: Jason Wessel
Cc: Matt W. Benjamin; KGDB Mailing List; kdb@xxxxxxxxxxx
Subject: Re: [Kgdb-bugreport] kdb working, but kgdb not? 2.6.35-rc3

 

Yes. As you find in the patch, there are 2 commands are required to support. I don't know if they can be implemented on kgdb. I need investigation. I'll let you know when I find.

-caz

On Mon, Jun 28, 2010 at 5:36 PM, Jason Wessel <jason.wessel@xxxxxxxxxxxxx> wrote:

On 06/28/2010 10:33 AM, caz yokoyama wrote:
> I recognized this problem and have a patch. It was caused by introduction of
> new commands between gdb and gdbserver which Linux kernel does not support.
> Here is the patch.
>
>

Hi Caz,

Is it the case that the kgdb stub should be responding with some sort of
message?

Certainly we are always open to improving the kgdb side too.

Cheers,
Jason.




--
-caz, yokoyama@xxxxxxxxxxxxxx, caz@xxxxxxxxxxx, 503-804-1028(m)

<Prev in Thread] Current Thread [Next in Thread>