+2000-09-05 Michael Snyder <msnyder@cleaver.cygnus.com>
+
+ * sol-thread.c (ps_pdmodel): Protect with an ifdef.
+
Mon Sep 4 16:21:31 2000 Andrew Cagney <cagney@amy.cygnus.com>
* gdbarch.sh: Use printf instead of echo.
sol_thread_attach (char *args, int from_tty)
{
procfs_ops.to_attach (args, from_tty);
- /* Must get symbols from solibs before libthread_db can run! */
- SOLIB_ADD ((char *) 0, from_tty, (struct target_ops *) 0);
+
+ if (auto_solib_add)
+ {
+ /* Must get symbols from solibs before libthread_db can run! */
+ SOLIB_ADD ((char *) 0, from_tty, (struct target_ops *) 0);
+ }
if (sol_thread_active)
{
printf_filtered ("sol-thread active.\n");
return PS_OK;
}
+#ifdef PR_MODEL_LP64
/* Identify process as 32-bit or 64-bit.
At the moment I'm using bfd to do this.
There might be a more solaris-specific (eg. procfs) method,
return PS_OK;
}
+#endif /* PR_MODEL_LP64 */
#ifdef TM_I386SOL2_H