From c6910659977fda1965981c33aa055e746f854039 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 15 Feb 2012 17:51:04 +0000 Subject: [PATCH] * python/py-symbol.c (sympy_value): Use _(). --- gdb/ChangeLog | 4 ++++ gdb/python/py-symbol.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5462b5bfdd2..09cb9c2b7eb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-02-15 Tom Tromey + + * python/py-symbol.c (sympy_value): Use _(). + 2012-02-15 Pedro Alves * remote.c (remote_detach_1, extended_remote_attach_1): Tweak diff --git a/gdb/python/py-symbol.c b/gdb/python/py-symbol.c index 1c00b4811e7..00a84777a49 100644 --- a/gdb/python/py-symbol.c +++ b/gdb/python/py-symbol.c @@ -268,11 +268,11 @@ sympy_value (PyObject *self, PyObject *args) { frame_info = frame_object_to_frame_info (frame_obj); if (frame_info == NULL) - error ("invalid frame"); + error (_("invalid frame")); } if (symbol_read_needs_frame (symbol) && frame_info == NULL) - error ("symbol requires a frame to compute its value"); + error (_("symbol requires a frame to compute its value")); value = read_var_value (symbol, frame_info); } -- 2.30.2