kdb
[Top] [All Lists]

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

To: "'DDD'" <dongdong.deng@xxxxxxxxxxxxx>
Subject: RE: [Kgdb-bugreport] kdb working, but kgdb not? 2.6.35-rc3
From: Caz Yokoyama <cazyokoyama@xxxxxxxxx>
Date: Sun, 22 Aug 2010 20:49:21 -0700
Cc: "'Jason Wessel'" <jason.wessel@xxxxxxxxxxxxx>, "'KGDB Mailing List'" <kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx>, <kdb@xxxxxxxxxxx>, "'Matt W. Benjamin'" <matt@xxxxxxxxxxxx>
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:content-transfer-encoding :x-mailer:thread-index:in-reply-to:x-mimeole; bh=2V3hd8m1QQKppmePhzYK9POquCZ0wqNgqbx8EETGhyI=; b=cWoaIABth6XzJeUp/FlwIK4qSbpr3OQeNCJCqjCbtr2ZMNBdnyU1jA9xjyM4sCAyxN wfSC/NQ/6vZppJpT0vcWyd6r0lJVPNRDEC+whkmUImAy2r1MGglfZaTprwyJwm63AmS+ sd9c1xNOGn0MIw4V5OqSDm4TXMowqt0PhjzBY=
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:content-transfer-encoding:x-mailer:thread-index :in-reply-to:x-mimeole; b=Bv/q6WtB0WSuZeSR6533ODy9f4Yoog/8cTBI2HY8ia+KDcXiVGiWZj7velu8DAhPu2 pjKg6QzNcizQnpM4O8GVFgSYKi8gx9IbW1R8nvhfkX254zo5YhyuxpE/m7Yg2rBrzCAE LE8qhYRVyW2Drw128j9d50tXxPQgkEJ3WdWKk=
In-reply-to: <4C71E6EB.4060405@xxxxxxxxxxxxx>
References: <1324243261.5330.1277735064489.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx><1315301307.5332.1277735201736.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx><AANLkTinhGY1u7zWBLmpFBK74qUSliWbBrrtEsjn_pgxS@xxxxxxxxxxxxxx><4C28C197.6000609@xxxxxxxxxxxxx> <AANLkTilyIrrPshaMB1k1sHweSoj42tFa9Yt_pB7QE6By@xxxxxxxxxxxxxx> <8A8EDE0DE50A43738B0662C76D03EED8@xp> <4C71E6EB.4060405@xxxxxxxxxxxxx>
Thread-index: ActCcCjkCHVtVE9USpuRX44bmvq4ngABaUlg
Hello Dongdong and Jason,
I'll confirm your modification on my target which has 2.6.32.19.el6.x86_64
kernel. Thank you.
-caz

-----Original Message-----
From: DDD [mailto:dongdong.deng@xxxxxxxxxxxxx] 
Sent: Sunday, August 22, 2010 8:12 PM
To: Caz Yokoyama
Cc: 'Jason Wessel'; 'KGDB Mailing List'; kdb@xxxxxxxxxxx; 'Matt W. Benjamin'
Subject: Re: [Kgdb-bugreport] kdb working, but kgdb not? 2.6.35-rc3

Hi Caz,

Thanks for your info. Jason have committed a patch to Linux 2.6.35-rc6 
for this problem.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif
f;h=fb82c0ff27b2c40c6f7a3d1a94cafb154591fa80;hp=1396a21ba0d4ec381db19bc9cd5b
6f25a89cf633

Cheers,
Dongdong


Caz Yokoyama wrote:
> 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.
> 
> 
> 
> 

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