This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: small patch


> To: mrs@wrs.com (Mike Stump)
> cc: egcs@cygnus.com
> Date: Wed, 14 Jan 1998 00:24:05 -0700
> From: Jeffrey A Law <law@hurl.cygnus.com>

>   In message <199801131847.KAA00320@kankakee.wrs.com>you write:
> And how does this relate to a *program* that you're compiling.

It doesn't relate to a program being compiled, only to programs that
are loaded into VxWorks.

The symbol table of the program that you load (the testcase), modifies
the command parser for the target shell.  This happens because there
is just one global symbol table on the target managed by the OS.  When
the object is loaded, along with the symbol table, the normal sp
command disappears, as the new sp value replaces the prior definition
of `sp'.  The prior definition was just a function to spawn a task,
with the testcase, it becomes a global variable.

> ie, you're talking about the stuff that dejagnu uses to spawn programs,
> not about the program that's actually being spawned.

I hope the above was more clear.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]