Commit 16d90796 by Richard Stallman

*** empty log message ***

From-SVN: r1130
parent 38bd31fc
...@@ -597,10 +597,13 @@ sdbout_symbol (decl, local) ...@@ -597,10 +597,13 @@ sdbout_symbol (decl, local)
int regno = -1; int regno = -1;
char *name; 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)) if (DECL_IGNORED_P (decl))
return; return;
#endif
sdbout_one_type (type);
switch (TREE_CODE (decl)) switch (TREE_CODE (decl))
{ {
...@@ -627,6 +630,8 @@ sdbout_symbol (decl, local) ...@@ -627,6 +630,8 @@ sdbout_symbol (decl, local)
/* Done with tagged types. */ /* Done with tagged types. */
if (DECL_NAME (decl) == 0) if (DECL_NAME (decl) == 0)
return; return;
if (DECL_IGNORED_P (decl))
return;
/* Output typedef name. */ /* Output typedef name. */
PUT_SDB_DEF (IDENTIFIER_POINTER (DECL_NAME (decl))); PUT_SDB_DEF (IDENTIFIER_POINTER (DECL_NAME (decl)));
...@@ -644,6 +649,10 @@ sdbout_symbol (decl, local) ...@@ -644,6 +649,10 @@ sdbout_symbol (decl, local)
if (TREE_EXTERNAL (decl)) if (TREE_EXTERNAL (decl))
return; return;
/* Ignore __FUNCTION__, etc. */
if (DECL_IGNORED_P (decl))
return;
/* If there was an error in the declaration, don't dump core /* If there was an error in the declaration, don't dump core
if there is no RTL associated with the variable doesn't if there is no RTL associated with the variable doesn't
exist. */ exist. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment