From: Daniel Jacobowitz <drow@false.org>
To: jagorak <jagorak@wp.pl>
Cc: gdb@sourceware.org
Subject: Re: Calling an Ada subprogram with complex parameters
Date: Mon, 19 Mar 2007 02:16:00 -0000 [thread overview]
Message-ID: <20070319021557.GA26173@caradoc.them.org> (raw)
In-Reply-To: <1827236609.20070317231124@wp.pl>
On Sat, Mar 17, 2007 at 11:11:24PM +0000, jagorak wrote:
> where $myRec is a convenience variable of type "Rec", but this
> wouldn't work either since convenience variable resides in
> gdb-specific memory space, complex types seem to be passed by reference and myProc
> cannot access memory address of $myRec.
Actually, that's not true - convenience variables which have a
memory location are put into the target's memory. Sometimes GDB
uses the stack, other times malloc is called under the hood.
> Does anyone have any idea how I can solve this problem?
Unfortunately not me - maybe Joel will have some helpful advice. I
know less Ada than you do, I'm sure :-)
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-03-19 2:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-17 23:11 jagorak
2007-03-18 17:10 ` jagorak
2007-03-19 16:35 ` Joel Brobecker
2007-03-19 18:46 ` Re[2]: " jagorak
2007-03-19 2:16 ` Daniel Jacobowitz [this message]
2007-03-19 20:08 ` jagorak
2007-03-19 20:17 ` Daniel Jacobowitz
2007-03-19 20:40 ` Re[2]: " jagorak
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=20070319021557.GA26173@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=jagorak@wp.pl \
/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