Address complaints from gdb_ari.sh:
* ada-exp.y: Include gdb_string.h rather than string.h. (convert_char_literal): Reformat declaration. * ada-lang.h: Include opaque struct declaration for struct frame_info. * ada-lex.l: Change use of free to xfree (the macro would do so anyway, but this is harmless). Include gdb_string.h rather than string.h. * ada-valprint.c (ada_val_print_stub): Change PTR => void*. * ada-lang.c (parse): Remove K&Rism in parameter list. (is_name_suffix): Correct Linux => GNU/Linux in comment.
This commit is contained in:
parent
cc83d33996
commit
19c1ef65d7
6 changed files with 28 additions and 12 deletions
|
@ -2596,9 +2596,9 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
|
|||
break;
|
||||
|
||||
case OP_STRING:
|
||||
(*pos) += 3
|
||||
+ BYTES_TO_EXP_ELEM (longest_to_int (exp->elts[pc + 1].longconst) +
|
||||
1);
|
||||
(*pos) += 3
|
||||
+ BYTES_TO_EXP_ELEM (longest_to_int (exp->elts[pc + 1].longconst)
|
||||
+ 1);
|
||||
break;
|
||||
|
||||
case TERNOP_SLICE:
|
||||
|
@ -4755,7 +4755,8 @@ ada_lookup_symbol_nonlocal (const char *name,
|
|||
names (e.g., XVE) are not included here. Currently, the possible suffixes
|
||||
are given by either of the regular expression:
|
||||
|
||||
(__[0-9]+)?\.[0-9]+ [nested subprogram suffix, on platforms such as Linux]
|
||||
(__[0-9]+)?\.[0-9]+ [nested subprogram suffix, on platforms such
|
||||
as GNU/Linux]
|
||||
___[0-9]+ [nested subprogram suffix, on platforms such as HP/UX]
|
||||
(X[nb]*)?((\$|__)[0-9](_?[0-9]+)|___(LJM|X([FDBUP].*|R[^T]?)))?$
|
||||
*/
|
||||
|
@ -10098,7 +10099,7 @@ emit_char (int c, struct ui_file *stream, int quoter)
|
|||
}
|
||||
|
||||
static int
|
||||
parse ()
|
||||
parse (void)
|
||||
{
|
||||
warnings_issued = 0;
|
||||
return ada_parse ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue