All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Soanes <ians@lineo.com>
To: Martin Rivers <rivers@lexmark.com>
Cc: Fabrice Bellard <bellard@email.enst.fr>, linux-mips@oss.sgi.com
Subject: Re: gdb single step ?
Date: Tue, 24 Apr 2001 15:56:58 +0100	[thread overview]
Message-ID: <3AE5943A.E1B91C25@lineo.com> (raw)
In-Reply-To: 200104241438.KAA00987@interlock2.lexmark.com

Martin,

I seem to have confused everyone (including myself)...

I'm also talking about user mode... my references to the kernel stub
code only refer to the single_step() function... I borrowed and adapted
it for use in gdbserver... for user mode.

Sorry, I'll go and stand in the corner for a while...
Ian

Martin Rivers wrote:
> 
> Ian,
> 
> I'm confused.  The gdbserver stuff I gave you was all directed at user mode
> stuff too.  I don't do any kernel debug with gdbserver.
> 
> martin
> 
> >
> > Fabrice Bellard wrote:
> > >
> > > Hi!
> > >
> > > I was speaking about gdb support in user mode, not the gdb stub in the
> > > kernel. Does someone use gdb to debug user space programs on linux-mips ?
> > > Maybe someone added the PTRACE_SINGLESTEP command of the ptrace syscall in
> > > recent mips kernel, but I do not have it in my kernel (linux-2.4.0 on sgi
> > > site).
> > >
> > > I patched gdb 5.0 so that single step on mips is correctly supported in
> > > user mode. I also modified gdbserver so that it works when you debug mips
> > > code in user mode.
> > >
> >
> > <snip>
> >
> > Hi Fabrice,
> >
> > I know you meant user mode... it's just that I had some success adapting
> > the kernel stub code for use in Martin's gdbserver for debugging user
> > mode code. I guess now we have 2 gdbservers :-)
> >
> > Best regards,
> > Ian

  reply	other threads:[~2001-04-24 14:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-23 15:40 ld.so-1.9.x for mips Michael Shmulevich
2001-04-23 16:31 ` gdb single step ? Fabrice Bellard
2001-04-23 20:04   ` Ralf Baechle
2001-04-24  9:04     ` Ian Soanes
2001-04-24 12:45       ` Ian Soanes
2001-04-24 13:49         ` Fabrice Bellard
2001-04-24 14:07           ` Ian Soanes
2001-04-24 14:38             ` Martin Rivers
2001-04-24 14:56               ` Ian Soanes [this message]
2001-04-24 13:17       ` Martin Rivers
2001-07-31  3:44       ` Need your help:about RC32334 questions? machael thailer
2001-07-31  3:44         ` machael thailer
2001-04-23 20:03 ` ld.so-1.9.x for mips Ralf Baechle
2001-04-24  7:25   ` Michael Shmulevich
2001-04-24  8:24     ` Ryan Murray
2001-04-24  8:46       ` Michael Shmulevich
2001-04-24 10:49         ` Florian Lohoff
2001-04-24 10:59           ` Michael Shmulevich
2001-04-24 15:02             ` Ralf Baechle
2001-04-25  7:42               ` Michael Shmulevich
2001-04-24 13:43     ` Alan Cox
2001-04-24 13:43       ` Alan Cox
2001-04-24 10:48 ` Florian Lohoff

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=3AE5943A.E1B91C25@lineo.com \
    --to=ians@lineo.com \
    --cc=bellard@email.enst.fr \
    --cc=linux-mips@oss.sgi.com \
    --cc=rivers@lexmark.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.