public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Михаил Иванов" <ivans@isle.spb.ru>
To: gdb@sources.redhat.com
Subject: How to configure gdb on sparc sun solaris 2.9?
Date: Thu, 30 Jun 2005 19:10:00 -0000	[thread overview]
Message-ID: <42C445E9.7000205@isle.spb.ru> (raw)

Hallo! I'm trying to build gdb on sparc sun solaris 2.9, but I cannot
get it to run correctly. By default it configures for sparc-sun-solaris2.9.
In this configuration it refuses to start executables with "procfs: process
not stopped" diagnostics. The same error occured when I configured it as
sparc64-sun-solaris2.9.

When I compile it explicitely in 64 bit mode (-xarch=v9 for Sun Studio compiler
and -m64 for gcc compiler) gdb was able to start the program, but refuses to
print the contents of variables with the following diagnostics:

Cannot access memory at address 0x7ffffac8

I tried both sun studio and gcc 3.4.3 compilers to build gdb. I tried to build
gcc 6.3 and gdb-6.3.50.20050630. The results were always the same. The system
is SunOS sunrise 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V240.

Is there a way to get it running or do I have to learn dbx? :-)

Best regards
-- 
Micheal Ivanov

                 reply	other threads:[~2005-06-30 19:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=42C445E9.7000205@isle.spb.ru \
    --to=ivans@isle.spb.ru \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).