|
From: <sv...@va...> - 2005-09-23 11:40:41
|
Author: sewardj
Date: 2005-09-23 12:40:29 +0100 (Fri, 23 Sep 2005)
New Revision: 4729
Log:
Zap some now-dead globals.
Modified:
branches/ASPACEM/coregrind/m_libcproc.c
branches/ASPACEM/coregrind/m_main.c
branches/ASPACEM/include/pub_tool_libcproc.h
Modified: branches/ASPACEM/coregrind/m_libcproc.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_libcproc.c 2005-09-23 03:13:50 UTC (rev =
4728)
+++ branches/ASPACEM/coregrind/m_libcproc.c 2005-09-23 11:40:29 UTC (rev =
4729)
@@ -44,8 +44,6 @@
=20
/* As deduced from sp_at_startup, the client's argc, argv[] and
envp[] as extracted from the client's stack at startup-time. */
-Int VG_(client_argc);
-Char** VG_(client_argv);
Char** VG_(client_envp);
=20
/* client executable file descriptor */
Modified: branches/ASPACEM/coregrind/m_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_main.c 2005-09-23 03:13:50 UTC (rev 4728=
)
+++ branches/ASPACEM/coregrind/m_main.c 2005-09-23 11:40:29 UTC (rev 4729=
)
@@ -670,9 +670,7 @@
=20
vg_assert((strtab-stringbase) =3D=3D stringsize);
=20
- /* We know the initial SP is pointing at argc/argv */
- // VG_(client_argc) =3D *(Int*)client_SP;
- VG_(client_argv) =3D (Char**)(client_SP + sizeof(HWord));
+ /* client_SP is pointing at client's argc/argv */
=20
if (0) VG_(printf)("startup SP =3D %p\n", client_SP);
return client_SP;
Modified: branches/ASPACEM/include/pub_tool_libcproc.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/include/pub_tool_libcproc.h 2005-09-23 03:13:50 UTC =
(rev 4728)
+++ branches/ASPACEM/include/pub_tool_libcproc.h 2005-09-23 11:40:29 UTC =
(rev 4729)
@@ -36,7 +36,6 @@
------------------------------------------------------------------ */
=20
/* Client args and environment (which can be inspected with VG_(getenv)(=
). */
-extern Char** VG_(client_argv);
extern Char** VG_(client_envp);
=20
/* Looks up VG_(client_envp) */
|