X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fsolib-osf.c;h=5a69d31b83f6ec5fee80f139fd59203420a48ce1;hb=df1f7f58bb9018211615ce880b558408e52fef2e;hp=634d490f0f6fcfe995d8ce4df20c387d449cb904;hpb=c54cfec8d4215ef2b4f8019a3431749b44ee0247;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/solib-osf.c b/gdb/solib-osf.c index 634d490f0f..5a69d31b83 100644 --- a/gdb/solib-osf.c +++ b/gdb/solib-osf.c @@ -1,6 +1,6 @@ /* Handle OSF/1, Digital UNIX, and Tru64 shared libraries for GDB, the GNU Debugger. - Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 + Copyright (C) 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2007 Free Software Foundation, Inc. This file is part of GDB. @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ /* When handling shared libraries, GDB has to find out the pathnames of all shared libraries that are currently loaded (to read in their @@ -220,7 +220,7 @@ fetch_sec_names (struct lm_info *lmi) target_read_string (lms->nameaddr, &name, PATH_MAX, &errcode); if (errcode != 0) { - warning ("unable to read shared sec name at 0x%lx", lms->nameaddr); + warning (_("unable to read shared sec name at 0x%lx"), lms->nameaddr); name = xstrdup (""); } lms->name = name; @@ -321,7 +321,7 @@ osf_solib_create_inferior_hook (void) out what we need to know about them. */ clear_proceed_status (); - stop_soon_quietly = STOP_QUIETLY; + stop_soon = STOP_QUIETLY; stop_signal = TARGET_SIGNAL_0; do { @@ -334,10 +334,10 @@ osf_solib_create_inferior_hook (void) But we are stopped in the runtime loader and we do not have symbols for the runtime loader. So heuristic_proc_start will be called and will put out an annoying warning. - Delaying the resetting of stop_soon_quietly until after symbol loading + Delaying the resetting of stop_soon until after symbol loading suppresses the warning. */ solib_add ((char *) 0, 0, (struct target_ops *) 0, auto_solib_add); - stop_soon_quietly = NO_STOP_QUIETLY; + stop_soon = NO_STOP_QUIETLY; /* Enable breakpoints disabled (unnecessarily) by clear_solib(). */ re_enable_breakpoints_in_shlibs (); @@ -554,7 +554,6 @@ osf_current_sos (void) tail->next = NULL; } - done: close_map (&ctxt); return head; }