Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: gdb@thewrittenword.com
To: gdb@sources.redhat.com
Subject: Re: [5.1] Re: status of gdb on Tru64 5.1?
Date: Thu, 27 Sep 2001 07:47:00 -0000	[thread overview]
Message-ID: <20010927094722.C89616@oolong.il.thewrittenword.com> (raw)
In-Reply-To: <20010927100310.B21075@act-europe.fr>

On Thu, Sep 27, 2001 at 10:03:10AM +0200, Joel Brobecker wrote:
> > Is there an update on this? I.e. does GDB work on True64?  (hmm, 
> > perhaphs, I've already asked this question).
> 
> I recently sent the following message to somebody enquiring the status
> of GDB on Tru64:
> <<
> > Does anyone know if/when the tru64 5.1 patch for gdb will be added?  I just
> > pulled down the latest CVS and it's not in there.
> 
> I am not clear about the patch you are talking about. The first patch I
> submitted for Tru64 5.1 did not meet the GDB standards. For one thing, I
> had to break it down into smaller pieces. But most of the important
> changes were better done by Nick Duffeck, so his changes were checked
> in, and I only integrated small pieces that his patch did not contain.
>       
> > Alternatively, if Joel's patch works, can one of you send me the
> > alpha-osf5.mh patch (or diff from alpha-osf3.mh)?  (It wasn't included in
> > Joel's original post.)
>       
> The bad news is that I just tried today's snapshot and I also failed to
> build it. I don't think this is because of the lack of the
> alpha-osf5.mh. For me, the build failed in alpha-nat.c, where it fails
> to find the EF_* macros. This is probably a minor problem, these macros
> are defined inside /usr/include/machine/reg.h (BTW, on our machine,
> "machine" is actually a link to "alpha"). And it is #include'd from
> alpha-nat.c, they are just conditionalized by
> 
>    #if defined(_KERNEL) || defined(_EXCEPTION_FRAME)

There is one #define that changed with 5.1 (from <machine/reg.h>:
#undef EF_SP                    /* r30: stack pointer (see note above) */

And the "note above" says:
 * Note that the presence of a definition for EF_SP is used by locore.s
 * to determine whether M_SP should be specified in ".mask" directives,
 * and the setting of this bit 30 in the relevant procedure descriptor
 * "regmask" is the basis for debuggers to interpret kernel exception
 * frames in the old (33-quadword) or new (32-quadword) format.

So, just -D_EXCEPTION_FRAME isn't the only fix.

-- 
albert chin (china@thewrittenword.com)


  reply	other threads:[~2001-09-27  7:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-25  7:01 Coleman, Michael
2001-09-26 21:44 ` [5.1] " Andrew Cagney
2001-09-27  1:03   ` Joel Brobecker
2001-09-27  7:47     ` gdb [this message]
2001-09-27  8:45       ` Joel Brobecker
2001-09-27  7:39 ` gdb
2001-09-27  7:42   ` gdb

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=20010927094722.C89616@oolong.il.thewrittenword.com \
    --to=gdb@thewrittenword.com \
    --cc=gdb@sources.redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox