From: Andrew Cagney <ac131313@cygnus.com>
To: tromey@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: PATCH: gdb --args
Date: Thu, 11 Oct 2001 08:32:00 -0000 [thread overview]
Message-ID: <3BC5BB72.9040300@cygnus.com> (raw)
In-Reply-To: <87ofnfm80i.fsf@creche.redhat.com>
> * target.c (find_default_construct_inferior_arguments): New
> function.
> * target.h (target_ops): Added to_construct_inferior_arguments.
> (target_construct_inferior_arguments): New macro.
> (find_default_construct_inferior_arguments): Declare.
Hmm, me :-)
Is this an architecture (well OS) or target method?
At present there is the target method:
to_create_inferior(char *exec_file, char *args, char **env)
where ARGS are assumed to be in an OS dependant form but typically ready
to plonk onto the end of ``exec EXEC_FILE''. The plonk might be
performed locally (fork/exec) or remotely.
Given an argv[], I think the code should call on the architecture (OS)
and not the target to perform the transformation into ARGS.
(This will actually make the change a lot simplier. The default method
can do as for UNIX, just djgpp and possibly cygwin would need
customization.)
Andrew
next prev parent reply other threads:[~2001-10-11 8:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-10 15:28 Tom Tromey
2001-10-11 1:02 ` Eli Zaretskii
2001-10-11 8:32 ` Andrew Cagney [this message]
2001-10-11 9:56 ` Eli Zaretskii
2001-10-11 10:24 ` Andrew Cagney
2001-10-11 10:29 ` Tom Tromey
2001-10-11 10:49 ` Andrew Cagney
2001-10-11 10:14 ` Tom Tromey
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=3BC5BB72.9040300@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=tromey@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