Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Ron McCall <rmccall@sikorsky.com>
To: GDB Mailing List <gdb@sources.redhat.com>
Subject: Re: Architectures and PSIM
Date: Mon, 12 Aug 2002 11:51:00 -0000	[thread overview]
Message-ID: <20020812145052.A15460@sikorsky.com> (raw)
In-Reply-To: <20020812134341.A28867@sikorsky.com>; from rmccall@sikorsky.com on Mon, Aug 12, 2002 at 01:43:41PM -0400

Elena,

Looks like the latest CVS version works!  I did the following:

bash$ powerpc-eabi-gdb main.elf
(gdb) target sim -f psim.tree
(gdb) set architecture powerpc:603
(gdb) load main.elf
(gdb) break main
(gdb) run
(gdb) info all-registers

At this point, I see r0-r31, f0-f31, pc, ps, cr, lr, ctr, xer, fpscr,
sr0-sr15, pvr, ibat0u-ibat3u, ibat0l-ibat3l, dbat0u-dbat3u,
ibat0l-ibat3l, sdr1, dar, dsisr, sprg0-sprg3, srr0, srr1, tbl, tbu, dec,
dadr, ear, hid0, hid1, iabr, dmiss, dcmp, hash1, hash2, imiss, icmp and
rpa.  This is exactly what I needed.  Thank you so much for the tip!

Ron McCall

On Mon, Aug 12, 2002 at 01:43:41PM -0400, Ron McCall wrote:
> Sure, I will give the latest cvs version a try and will report back the
> results.  Thanks!
> 
> Ron McCall
> 
> On Mon, Aug 12, 2002 at 01:36:14PM -0400, Elena Zannoni wrote:
> > I am no expert on the uses of psim, so I cannot really help with the
> > device tree, etc. But....
> > 
> > I have seen the behavior above, (gdb not listing the correct set of
> > available architectures), could you try the current cvs main line
> > instead?
> > 
> > Note that psim will not digest a connection from gdb *after* the
> > architecture has been explicitly set by the set architecture command.
> > You should first connect, then change the architecture.
> > 
> > There are 2 patches that I committed to main trunk gdb and I don't
> > think were included in 5.2.1:
> > 
> > this one stops psim from complaining about lack of altivec registers:
> > http://sources.redhat.com/ml/gdb-patches/2002-04/msg00535.html
> > 
> > this one makes psim understand the architecture parameter set by gdb
> > before connection:
> > http://sources.redhat.com/ml/gdb-patches/2002-06/msg00305.html
> > 
> > Elena

-- 
Ron McCall
Sikorsky Aircraft
203-386-4695
rmccall@sikorsky.com


      reply	other threads:[~2002-08-12 18:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-12 10:17 Ron McCall
2002-08-12 10:38 ` Elena Zannoni
2002-08-12 10:43   ` Ron McCall
2002-08-12 11:51     ` Ron McCall [this message]

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=20020812145052.A15460@sikorsky.com \
    --to=rmccall@sikorsky.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