summaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-31 05:03:41 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-31 05:03:41 +0000
commitb2ee5d204dab1dab0d4261852dbc2f4578520ea5 (patch)
treeedd5705029b1686c390409c67850a05349302c71 /gcc/sdbout.c
parent04553717f815427ba3387e000f4b51a8a8261725 (diff)
downloadgcc-b2ee5d204dab1dab0d4261852dbc2f4578520ea5.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1130 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index 1911e506568..e5d36e76b81 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -597,10 +597,13 @@ sdbout_symbol (decl, local)
int regno = -1;
char *name;
+ sdbout_one_type (type);
+
+#if 0 /* This loses when functions are marked to be ignored,
+ which happens in the C++ front end. */
if (DECL_IGNORED_P (decl))
return;
-
- sdbout_one_type (type);
+#endif
switch (TREE_CODE (decl))
{
@@ -627,6 +630,8 @@ sdbout_symbol (decl, local)
/* Done with tagged types. */
if (DECL_NAME (decl) == 0)
return;
+ if (DECL_IGNORED_P (decl))
+ return;
/* Output typedef name. */
PUT_SDB_DEF (IDENTIFIER_POINTER (DECL_NAME (decl)));
@@ -644,6 +649,10 @@ sdbout_symbol (decl, local)
if (TREE_EXTERNAL (decl))
return;
+ /* Ignore __FUNCTION__, etc. */
+ if (DECL_IGNORED_P (decl))
+ return;
+
/* If there was an error in the declaration, don't dump core
if there is no RTL associated with the variable doesn't
exist. */