X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fsolib-sunos.c;h=b87361e9e163cf687ead5b13c4558b8cf08772ba;hb=5a95d5a9695da6770d68aa512ee423dc034e4b42;hp=b9aad55ddc32272a62dda53d40a6069fc157fdf0;hpb=7095b86368cf18803773134b0be57250e32ecb68;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/solib-sunos.c b/gdb/solib-sunos.c index b9aad55ddc..b87361e9e1 100644 --- a/gdb/solib-sunos.c +++ b/gdb/solib-sunos.c @@ -1,7 +1,7 @@ /* Handle SunOS shared libraries for GDB, the GNU Debugger. - Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, - 2000, 2001, 2004 Free Software Foundation, Inc. + Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, + 2001, 2004, 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. */ #include "defs.h" @@ -438,10 +438,8 @@ sunos_current_sos (void) target_read_string (LM_NAME (new), &buffer, SO_NAME_MAX_PATH_SIZE - 1, &errcode); if (errcode != 0) - { - warning ("current_sos: Can't read pathname for load map: %s\n", - safe_strerror (errcode)); - } + warning (_("Can't read pathname for load map: %s."), + safe_strerror (errcode)); else { strncpy (new->so_name, buffer, SO_NAME_MAX_PATH_SIZE - 1); @@ -539,7 +537,7 @@ disable_break (void) if (stop_pc != breakpoint_addr) { - warning ("stopped at unknown breakpoint while handling shared libraries"); + warning (_("stopped at unknown breakpoint while handling shared libraries")); } return 1; @@ -750,7 +748,7 @@ sunos_solib_create_inferior_hook (void) if (!enable_break ()) { - warning ("shared library handler failed to enable breakpoint"); + warning (_("shared library handler failed to enable breakpoint")); return; } @@ -787,7 +785,7 @@ sunos_solib_create_inferior_hook (void) if (!disable_break ()) { - warning ("shared library handler failed to disable breakpoint"); + warning (_("shared library handler failed to disable breakpoint")); } solib_add ((char *) 0, 0, (struct target_ops *) 0, auto_solib_add);