diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-13 23:53:32 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-13 23:53:32 +0000 |
commit | c5504eafbce9ab0ea4d9aa7f222d7b75a6c77531 (patch) | |
tree | 296c321c47907882ffc668af19edd04ec67851c3 /gdb/cp-abi.c | |
parent | cc59ec59c88e97e6e674db776fed9b197dffce33 (diff) | |
download | gdb-c5504eafbce9ab0ea4d9aa7f222d7b75a6c77531.zip gdb-c5504eafbce9ab0ea4d9aa7f222d7b75a6c77531.tar.gz gdb-c5504eafbce9ab0ea4d9aa7f222d7b75a6c77531.tar.bz2 |
2010-05-13 Michael Snyder <msnyder@vmware.com>
* charset.c: White space.
* c-lang.c: White space.
* cli-out.c: White space.
* coffread.c: White space.
* complaints.c: White space.
* completer.c: White space.
* corefile.c: White space.
* corelow.c: White space.
* cp-abi.c: White space.
* cp-namespace.c: White space.
* cp-support.c: White space.
* cp-valprint.c: White space.
* c-typeprint.c: White space.
* c-valprint.c: White space.
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r-- | gdb/cp-abi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c index aee13f2..14552d1 100644 --- a/gdb/cp-abi.c +++ b/gdb/cp-abi.c @@ -92,6 +92,7 @@ value_rtti_type (struct value *v, int *full, int *top, int *using_enc) { struct type *ret = NULL; struct gdb_exception e; + if ((current_cp_abi.rtti_type) == NULL) return NULL; TRY_CATCH (e, RETURN_MASK_ERROR) @@ -238,8 +239,8 @@ list_cp_abis (int from_tty) { struct cleanup *cleanup_chain; int i; - ui_out_text (uiout, "The available C++ ABIs are:\n"); + ui_out_text (uiout, "The available C++ ABIs are:\n"); cleanup_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "cp-abi-list"); for (i = 0; i < num_cp_abis; i++) { |