X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fwrapper.c;h=1cbfdbc88f640d69d8eed5fc9a6faf0288094be3;hb=8fbde58b702f0e1273c8292d1359e474fd96126b;hp=06448f1398b5a1f8a052b06c4bc5d1d19888ec00;hpb=6aba47ca06d9150c6196a374b745c2711b46e045;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/wrapper.c b/gdb/wrapper.c index 06448f1398..1cbfdbc88f 100644 --- a/gdb/wrapper.c +++ b/gdb/wrapper.c @@ -1,10 +1,10 @@ /* Longjump free calls to GDB internal routines. - Copyright (C) 1999, 2000, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2005, 2007, 2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -13,9 +13,7 @@ GNU General Public License for more details. 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., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ #include "defs.h" #include "value.h" @@ -153,7 +151,7 @@ gdb_value_struct_elt (struct ui_out *uiout, struct value **result, { volatile struct gdb_exception except; - TRY_CATCH (except, RETURN_MASK_ALL) + TRY_CATCH (except, RETURN_MASK_ERROR) { *result = value_struct_elt (argp, args, name, static_memfuncp, err); }