Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Dimitrios Apostolou <jimis@gmx.net>
Cc: gdb@sourceware.org
Subject: Re: Trouble with gdb 6.8 on Irix
Date: Mon, 07 Jul 2008 16:51:00 -0000	[thread overview]
Message-ID: <20080707165108.GF704@adacore.com> (raw)
In-Reply-To: <1215436260.2515.2.camel@localhost.localdomain>

Dimitris,

> I should also note that gdb 6.8 doesn't work as it should on my
> platform. I am trying to debug firefox, but gdb just hangs while loading
> the binary. Top shows 100% CPU usage for firefox, 0% for gdb, and it
> stays like that for long. I had better results with gdb 6.3, where gdb
> managed to work but was unable to provide a proper backtrace when the
> crash happened. 

I think that GDB on mips-irix has been in dire need of attention.
It's something I have on my list and I hope to get to it by the end
of the year, but my hopes often get overridden by more urgent issues...
The release that AdaCore uses in its product is GDB 5.3 (very old now,
I know).

> remote.c: In function `extended_remote_attach_1':
> remote.c:2859: warning: unsigned int format, pid_t arg (arg 3)
> gmake[2]: *** [remote.o] Error 1
> gmake[2]: Leaving directory `/tmp/gdb-6.8/gdb'
> 
> But on my system the following is true for pid_t:
>           typedef  long            pid_t;

I didn't see this problem when I tried to build on this platform.
But I was using the CVS HEAD, so either this is already fixed there,
or we're using different compiler versions (mine is based on 4.1).

> Finally a minor issue is that gdb needs gmake to compile. It's not a
> bug, but I thought that since autotools are being used, the Makefiles
> would be portable to all makes. However the native make of Irix aborts
> with a syntax error. Please tell me if you care on this, so that I'll
> send you more details. 

Please send in the details. There was some talk about adding GNU make
as a requirement to build GDB, but this may not happen.

-- 
Joel


  reply	other threads:[~2008-07-07 16:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-07 13:12 Dimitrios Apostolou
2008-07-07 16:51 ` Joel Brobecker [this message]
2008-07-07 17:16   ` Joseph S. Myers
2008-07-08  0:09   ` Dimitrios Apostolou

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=20080707165108.GF704@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=jimis@gmx.net \
    /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