diff options
author | Tom Tromey <tromey@redhat.com> | 2012-02-15 17:51:04 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-02-15 17:51:04 +0000 |
commit | c6910659977fda1965981c33aa055e746f854039 (patch) | |
tree | 423d38219539375d497e70a309a54aaf0da85658 /gdb/python | |
parent | a2e0062d4ba06053c1f0b86d9abc88d1fc9424c7 (diff) | |
download | gdb-c6910659977fda1965981c33aa055e746f854039.zip gdb-c6910659977fda1965981c33aa055e746f854039.tar.gz gdb-c6910659977fda1965981c33aa055e746f854039.tar.bz2 |
* python/py-symbol.c (sympy_value): Use _().
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-symbol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-symbol.c b/gdb/python/py-symbol.c index 1c00b48..00a8477 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); } |