* ada-lang.c (scan_discrim_bound): Name first argument.
(ada_add_block_symbols): Remove BLOCK_SYM to use local variable declared by ALL_BLOCK_SYMBOLS.
This commit is contained in:
parent
7cb47b14e9
commit
07d8f82745
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2003-06-17 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
|
* ada-lang.c (scan_discrim_bound): Name first argument.
|
||||||
|
(ada_add_block_symbols): Remove BLOCK_SYM to use local variable
|
||||||
|
declared by ALL_BLOCK_SYMBOLS.
|
||||||
|
|
||||||
2003-06-17 Stephane Carrez <stcarrez@nerim.fr>
|
2003-06-17 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
* ada-tasks.c (find_function_in_inferior): Don't declare it.
|
* ada-tasks.c (find_function_in_inferior): Don't declare it.
|
||||||
|
|
|
@ -4038,8 +4038,6 @@ ada_add_block_symbols (struct block *block, const char *name,
|
||||||
|
|
||||||
ALL_BLOCK_SYMBOLS (block, iter, sym)
|
ALL_BLOCK_SYMBOLS (block, iter, sym)
|
||||||
{
|
{
|
||||||
struct symbol *sym = BLOCK_SYM (block, i);
|
|
||||||
|
|
||||||
if (SYMBOL_DOMAIN (sym) == domain)
|
if (SYMBOL_DOMAIN (sym) == domain)
|
||||||
{
|
{
|
||||||
int cmp;
|
int cmp;
|
||||||
|
@ -7710,7 +7708,7 @@ ada_vax_float_print_function (struct type *type)
|
||||||
not alter *PX and *PNEW_K if unsuccessful. */
|
not alter *PX and *PNEW_K if unsuccessful. */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
scan_discrim_bound (char *, int k, struct value *dval, LONGEST * px,
|
scan_discrim_bound (char *str, int k, struct value *dval, LONGEST * px,
|
||||||
int *pnew_k)
|
int *pnew_k)
|
||||||
{
|
{
|
||||||
static char *bound_buffer = NULL;
|
static char *bound_buffer = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue