projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb/testsuite/
[binutils-gdb.git]
/
gdb
/
cp-abi.c
diff --git
a/gdb/cp-abi.c
b/gdb/cp-abi.c
index a499a86de87f06f28c6af6a1b22a22c75a82deba..14552d1e6d95309685eb13feb2a6ad72147ba7d5 100644
(file)
--- a/
gdb/cp-abi.c
+++ b/
gdb/cp-abi.c
@@
-1,6
+1,6
@@
/* Generic code for supporting multiple C++ ABI's
/* Generic code for supporting multiple C++ ABI's
- Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009
+ Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009
, 2010
Free Software Foundation, Inc.
This file is part of GDB.
Free Software Foundation, Inc.
This file is part of GDB.
@@
-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;
{
struct type *ret = NULL;
struct gdb_exception e;
+
if ((current_cp_abi.rtti_type) == NULL)
return NULL;
TRY_CATCH (e, RETURN_MASK_ERROR)
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;
{
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++)
{
cleanup_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "cp-abi-list");
for (i = 0; i < num_cp_abis; i++)
{