From: yodaiken@fsmlabs.com
To: Stelian Pop <stelian.pop@fr.alcove.com>,
Andrew Morton <akpm@digeo.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: lan based kgdb
Date: Sat, 16 Nov 2002 09:23:41 -0700 [thread overview]
Message-ID: <20021116092341.A30010@hq.fsmlabs.com> (raw)
In-Reply-To: <20021115225932.GC1877@tahoe.alcove-fr>; from stelian.pop@fr.alcove.com on Fri, Nov 15, 2002 at 11:59:32PM +0100
On Fri, Nov 15, 2002 at 11:59:32PM +0100, Stelian Pop wrote:
> On Fri, Nov 15, 2002 at 02:51:11PM -0800, Andrew Morton wrote:
>
> > > Using USB instead of the serial line or the network card would be
> > > the best IMHO, because:
> >
> > Here is the kgdb stub's "send a byte" function:
> >
> > static void
> > write_char(int chr)
> > {
> > while (!(inb(gdb_port + UART_LSR) & UART_LSR_THRE)) ;
> >
> > outb(chr, gdb_port + UART_TX);
> > }
> >
> > Need I say more?
>
> I already know that, but this is not the point. The point is that
> more and more boxes have no serial (or paralel) ports.
>
> But even on those boxes, sometimes I'd just love to be able to use
> kgdb. And I can't.
>
> Ok, it will have to be at a higher level than the inb/outb serial
> transport implementation (with possible bad effects on what can
> and what cannot be debugged), but still, I feel there is a need
> for that.
> USB (with USB-to-serial adapter), network, ieee1394 would be
> acceptable replacements for me.
Have you ever looked at a USB or 1394 driver? The nice thing about
serial is that the software to make it work is trivial. A debugger that
relies on a 5000 line driver is quite suspect.
>
>
> Stelian.
> --
> Stelian Pop <stelian.pop@fr.alcove.com>
> Alcove - http://www.alcove.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
---------------------------------------------------------
Victor Yodaiken
Finite State Machine Labs: The RTLinux Company.
www.fsmlabs.com www.rtlinux.com
1+ 505 838 9109
next prev parent reply other threads:[~2002-11-16 16:16 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 20:29 lan based kgdb Kallol Biswas
2002-11-15 20:38 ` William Lee Irwin III
2002-11-15 22:06 ` Martin J. Bligh
2002-11-15 21:26 ` Linus Torvalds
2002-11-15 21:46 ` Andrew Morton
2002-11-15 22:05 ` Kallol Biswas
2002-11-15 22:24 ` Stelian Pop
2002-11-15 22:47 ` Dmitri
2002-11-15 22:53 ` Stelian Pop
2002-11-17 5:45 ` M. R. Brown
2002-11-15 22:51 ` Andrew Morton
2002-11-15 22:59 ` Stelian Pop
2002-11-16 16:23 ` yodaiken [this message]
2002-11-16 17:21 ` Stelian Pop
2002-11-16 21:32 ` Nicholas Miell
2002-11-16 2:35 ` Alan Cox
2002-11-16 18:18 ` Oliver Xymoron
2002-11-16 4:19 ` Linus Torvalds
2002-11-16 7:24 ` David Mosberger-Tang
2002-11-16 17:58 ` Daniel Jacobowitz
2002-11-16 23:56 ` Alan Cox
2002-11-16 18:24 ` Oliver Xymoron
2002-11-16 18:33 ` Linus Torvalds
2002-11-16 19:04 ` Oliver Xymoron
2002-11-17 9:56 ` Jan-Benedict Glaw
2002-11-17 14:50 ` Alan Cox
2002-11-18 7:27 ` Jan-Benedict Glaw
2002-11-19 8:49 ` Amit S. Kale
2002-11-16 20:42 ` Werner Almesberger
2002-11-16 23:54 ` Alan Cox
2002-11-17 3:19 ` Linus Torvalds
2002-11-17 3:30 ` Larry McVoy
2002-11-17 19:42 ` Eric W. Biederman
2002-11-17 20:10 ` Jamie Lokier
2002-11-17 20:31 ` Eric W. Biederman
2002-11-17 20:25 ` Brad Hards
2002-11-17 21:30 ` Eric W. Biederman
2002-11-17 21:32 ` David Lang
2002-11-17 21:48 ` Brad Hards
2002-11-17 22:00 ` David Lang
2002-11-17 23:48 ` Eric W. Biederman
2002-11-17 21:42 ` Brad Hards
2002-11-18 1:10 ` Werner Almesberger
2002-11-18 7:20 ` Miles Bader
-- strict thread matches above, loose matches on Subject: below --
2002-11-15 21:44 Edwin Bland
[not found] <1037490849.24843.11.camel@irongate.swansea.linux.org.uk.suse.lists.linux.kernel>
[not found] ` <20021116193008.C25741@work.bitmover.com.suse.lists.linux.kernel>
[not found] ` <m11y5k3ruw.fsf@frodo.biederman.org.suse.lists.linux.kernel>
[not found] ` <200211180725.27450.bhards@bigpond.net.au.suse.lists.linux.kernel>
[not found] ` <m1smxz3mw7.fsf@frodo.biederman.org.suse.lists.linux.kernel>
2002-11-17 23:52 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021116092341.A30010@hq.fsmlabs.com \
--to=yodaiken@fsmlabs.com \
--cc=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stelian.pop@fr.alcove.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.