projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[deliverable/binutils-gdb.git]
/
gdb
/
ada-exp.y
diff --git
a/gdb/ada-exp.y
b/gdb/ada-exp.y
index 70a4b584f1c5c7ee4e2aa6e7a32797c2fa7310d5..f4cbb37316a5374345b62fc51b49c3a9346d1e83 100644
(file)
--- a/
gdb/ada-exp.y
+++ b/
gdb/ada-exp.y
@@
-1,5
+1,5
@@
/* YACC parser for Ada expressions, for GDB.
/* YACC parser for Ada expressions, for GDB.
- Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994, 1997, 2000
+ Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994, 1997, 2000
, 2003
Free Software Foundation, Inc.
This file is part of GDB.
Free Software Foundation, Inc.
This file is part of GDB.
@@
-49,6
+49,7
@@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "symfile.h" /* Required by objfiles.h. */
#include "objfiles.h" /* For have_full_symbols and have_partial_symbols */
#include "frame.h"
#include "symfile.h" /* Required by objfiles.h. */
#include "objfiles.h" /* For have_full_symbols and have_partial_symbols */
#include "frame.h"
+#include "block.h"
/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
as well as gratuitiously global symbol names, so we can have multiple
/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
as well as gratuitiously global symbol names, so we can have multiple
@@
-801,7
+802,7
@@
write_object_renaming (orig_left_context, renaming)
struct block* orig_left_context;
struct symbol* renaming;
{
struct block* orig_left_context;
struct symbol* renaming;
{
- const char* qualification = SYMBOL_NAME (renaming);
+ const char* qualification =
DEPRECATED_
SYMBOL_NAME (renaming);
const char* simple_tail;
const char* expr = TYPE_FIELD_NAME (SYMBOL_TYPE (renaming), 0);
const char* suffix;
const char* simple_tail;
const char* expr = TYPE_FIELD_NAME (SYMBOL_TYPE (renaming), 0);
const char* suffix;
@@
-822,7
+823,7
@@
write_object_renaming (orig_left_context, renaming)
simple_tail += 1;
break;
}
simple_tail += 1;
break;
}
- else if (STREQN (simple_tail, "__", 2))
+ else if (
DEPRECATED_
STREQN (simple_tail, "__", 2))
{
simple_tail += 2;
break;
{
simple_tail += 2;
break;
@@
-839,7
+840,7
@@
write_object_renaming (orig_left_context, renaming)
parser-defs.h, implemented in parse.c */
strncpy (name, expr, suffix-expr);
name[suffix-expr] = '\000';
parser-defs.h, implemented in parse.c */
strncpy (name, expr, suffix-expr);
name[suffix-expr] = '\000';
- sym = lookup_symbol (name, orig_left_context, VAR_
NAMESPACE
, 0, NULL);
+ sym = lookup_symbol (name, orig_left_context, VAR_
DOMAIN
, 0, NULL);
/* if (sym == NULL)
error ("Could not find renamed variable: %s", ada_demangle (name));
*/
/* if (sym == NULL)
error ("Could not find renamed variable: %s", ada_demangle (name));
*/
@@
-892,7
+893,7
@@
write_object_renaming (orig_left_context, renaming)
suffix = end;
index_sym =
suffix = end;
index_sym =
- lookup_symbol (index_name, NULL, VAR_
NAMESPACE
, 0, NULL);
+ lookup_symbol (index_name, NULL, VAR_
DOMAIN
, 0, NULL);
if (index_sym == NULL)
error ("Could not find %s", index_name);
write_var_from_sym (NULL, block_found, sym);
if (index_sym == NULL)
error ("Could not find %s", index_name);
write_var_from_sym (NULL, block_found, sym);
@@
-943,7
+944,7
@@
write_object_renaming (orig_left_context, renaming)
BadEncoding:
error ("Internal error in encoding of renaming declaration: %s",
BadEncoding:
error ("Internal error in encoding of renaming declaration: %s",
- SYMBOL_NAME (renaming));
+
DEPRECATED_
SYMBOL_NAME (renaming));
}
/* Convert the character literal whose ASCII value would be VAL to the
}
/* Convert the character literal whose ASCII value would be VAL to the
@@
-961,7
+962,7
@@
convert_char_literal (struct type* type, LONGEST val)
sprintf (name, "QU%02x", (int) val);
for (f = 0; f < TYPE_NFIELDS (type); f += 1)
{
sprintf (name, "QU%02x", (int) val);
for (f = 0; f < TYPE_NFIELDS (type); f += 1)
{
- if (STREQ (name, TYPE_FIELD_NAME (type, f)))
+ if (
DEPRECATED_
STREQ (name, TYPE_FIELD_NAME (type, f)))
return TYPE_FIELD_BITPOS (type, f);
}
return val;
return TYPE_FIELD_BITPOS (type, f);
}
return val;
This page took
0.023651 seconds
and
4
git commands to generate.