Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <dan@debian.org>
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc: linux-mips@oss.sgi.com
Subject: Re: New toolchain for Linux/mips
Date: Thu, 7 Jun 2001 12:41:52 -0700	[thread overview]
Message-ID: <20010607124152.A25474@nevyn.them.org> (raw)
In-Reply-To: <Pine.GSO.3.96.1010607213008.16852F-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Thu, Jun 07, 2001 at 09:35:57PM +0200

On Thu, Jun 07, 2001 at 09:35:57PM +0200, Maciej W. Rozycki wrote:
> On Thu, 7 Jun 2001, Daniel Jacobowitz wrote:
> 
> > >  This happened to me once.  Otherwise, it looks like gdb doesn't recognize
> > > a breakpoint for some reason -- possibly it places it at a wrong address. 
> > > It shouldn't be difficult to debug -- you get information of the address
> > > the trap happened. 
> > 
> > Wouldn't you hope?  No such luck.
> > 
> > Program received signal SIGTRAP, Trace/breakpoint trap.
> > [Switching to Thread 1024 (LWP 89)]
> > 0x00000000 in ?? ()
> 
>  Then patch your kernel to display the address.  It's trivial.  See
> do_bp() in arch/mips/kernel/traps.c. 

Good idea.  Thanks.

> > I blame the threads handling, which I'm only about half through
> > debugging.
> 
>  Ah, threads...  They might be completely non-fuctional on MIPS/Linux. 
> I've never run threaded programs on MIPS/Linux, but such trivial users as
> ls appear to work.

They work, with a couple of kernel patches and a couple of library
patches.  I'm sorting through them right now.

-- 
Daniel Jacobowitz                           Debian GNU/Linux Developer
Monta Vista Software                              Debian Security Team

  reply	other threads:[~2001-06-07 19:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-06  5:06 New toolchain for Linux/mips H . J . Lu
2001-06-06  6:22 ` Ralf Baechle
2001-06-06  7:29   ` Geert Uytterhoeven
2001-06-06 10:44 ` Maciej W. Rozycki
2001-06-06 14:15   ` H . J . Lu
2001-06-06 15:47     ` Maciej W. Rozycki
2001-06-06 16:08       ` H . J . Lu
2001-06-06 17:48         ` Maciej W. Rozycki
2001-06-06 18:00           ` Daniel Jacobowitz
2001-06-06 18:40             ` Maciej W. Rozycki
2001-06-06 20:24               ` Daniel Jacobowitz
2001-06-06 21:09                 ` Ralf Baechle
2001-06-07 10:37                 ` Maciej W. Rozycki
2001-06-07 19:17                   ` Daniel Jacobowitz
2001-06-07 19:35                     ` Maciej W. Rozycki
2001-06-07 19:41                       ` Daniel Jacobowitz [this message]
2001-06-06 20:19           ` H . J . Lu
2001-06-07 10:32             ` Maciej W. Rozycki
2001-06-07 16:28               ` H . J . Lu
2001-06-07 17:03                 ` Maciej W. Rozycki

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=20010607124152.A25474@nevyn.them.org \
    --to=dan@debian.org \
    --cc=linux-mips@oss.sgi.com \
    --cc=macro@ds2.pg.gda.pl \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox