From: Jeff Law Date: Tue, 30 Jul 1996 00:13:14 +0000 (+0000) Subject: * somsolib.c (som_solib_create_inferior_hook): Don't X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f35989529aa84d4a183482b8a846a6012255bb9;p=binutils-gdb.git * somsolib.c (som_solib_create_inferior_hook): Don't warn if __d_pid can't be found. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 07e71bec8db..3f172b49e26 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com) + + * somsolib.c (som_solib_create_inferior_hook): Don't + warn if __d_pid can't be found. + Sun Jul 28 10:46:39 1996 Fred Fish * config/mips/tm-mips.h (struct frame_info): Forward decl. diff --git a/gdb/somsolib.c b/gdb/somsolib.c index 912dc1d1821..c2c88535b7e 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -523,13 +523,11 @@ som_solib_create_inferior_hook() have_endo = 0; /* If __d_pid is present, then put the inferior's pid into __d_pid. hpux9 requires __d_pid to be set. hpux10 doesn't require __d_pid to be set - and the symbol may not be available. */ + and the symbol may not be available. + + Never warn about __d_pid. */ msymbol = lookup_minimal_symbol ("__d_pid", NULL, symfile_objfile); - if (msymbol == NULL) - { - warning ("Unable to find __d_pid symbol in object file."); - } - else + if (msymbol != NULL) { anaddr = SYMBOL_VALUE_ADDRESS (msymbol); store_unsigned_integer (buf, 4, inferior_pid);