From: Mark Kettenis <kettenis@science.uva.nl>
To: thorpej@wasabisystems.com
Cc: gdb@sources.redhat.com
Subject: Re: Anyone using alpha-freebsd target in gdb-current?
Date: Thu, 10 Jan 2002 00:58:00 -0000 [thread overview]
Message-ID: <s3ivgear3e7.fsf@soliton.wins.uva.nl> (raw)
In-Reply-To: Jason R Thorpe's message of Wed, 9 Jan 2002 19:34:18 -0800
Jason R Thorpe <thorpej@wasabisystems.com> writes:
> Is anyone actually using the alpha-freebsd target in gdb-current?
I guess it's not really actively used.
I did the port to alpha-freebsd-5.0 (a.k.a. freebsd-current). I still
work on it from time to time, and it should work reasonably with a
recent gcc.
The system compiler for freebsd-current generates unusable debug
output, both for stabs and dwarf2. Gcc 3.0 and above should do much better.
> I'm working on alpha-netbsd support, and it uses the pre-existing
> alphabsd-nat.c.
>
> ...but I'm having some serious problems. They seem to be related
> to breakpoints -- If I skip the implicit breakpoint at __start
> (_start on a FreeBSD/alpha system) a test program behaves "more
> correctly" (there are still some problems), but completely loses
> if I leave that breakpoint there.
Isn't NetBSD/alpha using ELF? In that case it shouldn't set any
implicit breakpoints at __start. If NetBSD/alpha doesn't use ELF,
then you might need to work on getting the old SunOS/a.out shared
library support working on NetBSD/alpha.
I recently had some problems on FreeBSD/alpha with backtraces. GDB
just fell off the stack, because it couldn't determine the top of the
stack. This was caused by not having debug info for crt*.o. I fixed
it by choosing another way to determine the top of the stack, based on
the filename.
> Also, NetBSD/alpha requires software single-stepping in gdb (which
> I have implemented), which uses breakpoints ... the software single
> stepping also gives unexpected results (the PC value when the breakpoint
> trips is not what I expect).
I'm afraid I cannot help you here.
> But, anyway, I'd really like to just know if anyone is successfully using
> the alpha bsd native support successfully right now. That would help
> eliminate some variables for me.
Feel free to ask!
Mark
next prev parent reply other threads:[~2002-01-10 8:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-09 19:34 Jason R Thorpe
2002-01-10 0:58 ` Mark Kettenis [this message]
2002-01-12 16:41 ` Jason R Thorpe
2002-01-12 16:50 ` Jason R Thorpe
2002-01-17 22:09 ` Jason R Thorpe
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=s3ivgear3e7.fsf@soliton.wins.uva.nl \
--to=kettenis@science.uva.nl \
--cc=gdb@sources.redhat.com \
--cc=thorpej@wasabisystems.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