projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change tui_data_item_window::content to be a unique_xmalloc_ptr
[external/binutils.git]
/
gdb
/
gnu-v3-abi.c
diff --git
a/gdb/gnu-v3-abi.c
b/gdb/gnu-v3-abi.c
index
e2b9198
..
6407c9b
100644
(file)
--- 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 <jimb@redhat.com>
/* Abstraction of GNU v3 abi.
Contributed by Jim Blandy <jimb@redhat.com>
- Copyright (C) 2001-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2001-201
9
Free Software Foundation, Inc.
This file is part of GDB.
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);
if (gdbarch_vtable_function_descriptors (gdbarch))
vfn = value_addr (vfn);
- TRY
+ try
{
addr = value_as_address (vfn);
}
{
addr = value_as_address (vfn);
}
-
CATCH (ex, RETURN_MASK_ERROR
)
+
catch (const gdb_exception_error &ex
)
{
{
- printf_filtered (_("<error: %s>"), ex.
message
);
+ printf_filtered (_("<error: %s>"), ex.
what ()
);
got_error = 1;
}
got_error = 1;
}
- END_CATCH
if (!got_error)
print_function_pointer_address (opts, gdbarch, addr, gdb_stdout);
if (!got_error)
print_function_pointer_address (opts, gdbarch, addr, gdb_stdout);