* Re: [PATCH] specify arguments to debugee from commandline (second try)
@ 2001-06-22 12:26 Deephanphongs, David
2001-06-22 13:10 ` [PATCH] specify arguments to debugee from commandline (secondtry) Michael Snyder
0 siblings, 1 reply; 2+ messages in thread
From: Deephanphongs, David @ 2001-06-22 12:26 UTC (permalink / raw)
To: 'gdb-patches@sources.redhat.com'
Eli Zaretskii wrote:
> On Thu, 7 Jun 2001, David Deephanphongs wrote:
> > GDB will escape the following characters within an inferior argument:
> > ^|&#<>\"'`$*?[](); \{}
> > ^----space
>
> The function which implements this should be OS-dependent. What you
> wrote might work for /bin/sh, but not for non-Posix systems such as
> MS-Windows.
I've been trying to figure out how to do this..
My problem is that I haven't figured out where the target-specific
initialization occurs in GDB.
Is it just dependent on which files get linked in?
Dave
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] specify arguments to debugee from commandline (secondtry)
2001-06-22 12:26 [PATCH] specify arguments to debugee from commandline (second try) Deephanphongs, David
@ 2001-06-22 13:10 ` Michael Snyder
0 siblings, 0 replies; 2+ messages in thread
From: Michael Snyder @ 2001-06-22 13:10 UTC (permalink / raw)
To: Deephanphongs, David; +Cc: gdb-patches
"Deephanphongs, David" wrote:
>
> Eli Zaretskii wrote:
> > On Thu, 7 Jun 2001, David Deephanphongs wrote:
> > > GDB will escape the following characters within an inferior argument:
> > > ^|&#<>\"'`$*?[](); \{}
> > > ^----space
> >
> > The function which implements this should be OS-dependent. What you
> > wrote might work for /bin/sh, but not for non-Posix systems such as
> > MS-Windows.
>
> I've been trying to figure out how to do this..
> My problem is that I haven't figured out where the target-specific
> initialization occurs in GDB.
> Is it just dependent on which files get linked in?
All initialization in GDB occurs in functions whose names
begin with "_initialize". Look in any *-tdep.c file.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-22 13:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-22 12:26 [PATCH] specify arguments to debugee from commandline (second try) Deephanphongs, David
2001-06-22 13:10 ` [PATCH] specify arguments to debugee from commandline (secondtry) Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox