aboutsummaryrefslogtreecommitdiff
path: root/gprof/alpha.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1998-04-22 07:33:42 +0000
committerTom Tromey <tromey@redhat.com>1998-04-22 07:33:42 +0000
commit16a02269fc8d2cf0f25b40d16a70087bb315a653 (patch)
treeec21066ad4af150303e3fe7bbbd4b32399449c96 /gprof/alpha.c
parent1a9136e2253b2464a36cb9deabfc5da70900f036 (diff)
downloadgdb-16a02269fc8d2cf0f25b40d16a70087bb315a653.zip
gdb-16a02269fc8d2cf0f25b40d16a70087bb315a653.tar.gz
gdb-16a02269fc8d2cf0f25b40d16a70087bb315a653.tar.bz2
* gprof.h: Added includes and defines for gettext.
* configure.in (ALL_LINGUAS): New macro. Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, HAVE_LC_MESSAGES): Define. * gprof.c (main): Call setlocale, bindtextdomain, textdomain. * Makefile.am (SUBDIRS): New macro. (INCLUDES): Look in intl dirs for headers. Define LOCALEDIR. (gprof_DEPENDENCIES): Added INTLDEPS. (gprof_LDADD): Added INTLLLIBS. (POTFILES): New macro. (po/POTFILES.in): New target. * Many files: Wrap user-visible strings with gettext invocation.
Diffstat (limited to 'gprof/alpha.c')
-rw-r--r--gprof/alpha.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gprof/alpha.c b/gprof/alpha.c
index 74fd01f..2c9a8dd 100644
--- a/gprof/alpha.c
+++ b/gprof/alpha.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1983 Regents of the University of California.
+ * Copyright (c) 1983, 1998 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
@@ -86,7 +86,7 @@ alpha_find_call (parent, p_lowpc, p_highpc)
delta = (bfd_vma) core_text_space - core_text_sect->vma;
sym_init (&indirect_child);
- indirect_child.name = "<indirect child>";
+ indirect_child.name = _("<indirect child>");
indirect_child.cg.prop.fract = 1.0;
indirect_child.cg.cyc.head = &indirect_child;
}
@@ -103,7 +103,7 @@ alpha_find_call (parent, p_lowpc, p_highpc)
{
p_highpc = s_highpc;
}
- DBG (CALLDEBUG, printf ("[find_call] %s: 0x%lx to 0x%lx\n",
+ DBG (CALLDEBUG, printf (_("[find_call] %s: 0x%lx to 0x%lx\n"),
parent->name, p_lowpc, p_highpc));
for (pc = (alpha_Instruction *) (p_lowpc + delta);
pc < (alpha_Instruction *) (p_highpc + delta);
@@ -124,7 +124,7 @@ alpha_find_call (parent, p_lowpc, p_highpc)
|| pc->j.func == Jxx_FUNC_JSR_COROUTINE)
{
DBG (CALLDEBUG,
- printf ("[find_call] 0x%lx: jsr%s <indirect_child>\n",
+ printf (_("[find_call] 0x%lx: jsr%s <indirect_child>\n"),
(bfd_vma) pc - delta,
pc->j.func == Jxx_FUNC_JSR ? "" : "_coroutine"));
arc_add (parent, &indirect_child, 0);
@@ -133,7 +133,7 @@ alpha_find_call (parent, p_lowpc, p_highpc)
case OP_BSR:
DBG (CALLDEBUG,
- printf ("[find_call] 0x%lx: bsr", (bfd_vma) pc - delta));
+ printf (_("[find_call] 0x%lx: bsr"), (bfd_vma) pc - delta));
/*
* Regular PC relative addressing. Check that this is the
* address of a function. The linker sometimes redirects