X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fgnu-v3-abi.c;h=6407c9beb82fe3aeb6dd0b5ef1aa9d855bfa939e;hb=b9ad36868f46d5270347ef50fd62fde94d68328b;hp=e2b9198b08282a839d7e838bcf433167aebe8df5;hpb=8b88a78e63526b84d540b9c7d5f459593a248d5e;p=external%2Fbinutils.git diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index e2b9198..6407c9b 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -1,7 +1,7 @@ /* Abstraction of GNU v3 abi. Contributed by Jim Blandy - Copyright (C) 2001-2018 Free Software Foundation, Inc. + Copyright (C) 2001-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -906,16 +906,15 @@ print_one_vtable (struct gdbarch *gdbarch, struct value *value, if (gdbarch_vtable_function_descriptors (gdbarch)) vfn = value_addr (vfn); - TRY + try { addr = value_as_address (vfn); } - CATCH (ex, RETURN_MASK_ERROR) + catch (const gdb_exception_error &ex) { - printf_filtered (_(""), ex.message); + printf_filtered (_(""), ex.what ()); got_error = 1; } - END_CATCH if (!got_error) print_function_pointer_address (opts, gdbarch, addr, gdb_stdout);