Remove parser_state "initial_size" parameter
authorTom Tromey <tom@tromey.com>
Sun, 24 Mar 2019 14:40:32 +0000 (08:40 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 5 Apr 2019 01:55:10 +0000 (19:55 -0600)
commit1201a264c8fd227737342345ab54e938295188b6
tree7c419bb8e09f1875dedd813e7859edaa18aa6a34
parente3980ce2a9bf19ade17fdd9817765f2d1e17a0d8
Remove parser_state "initial_size" parameter

All the real (not test) uses of parser_state pass 10 as the
"initial_size" parameter, and it seems to me that there's no real
reason to require callers to set this.  This patch removes this
parameter.

gdb/ChangeLog
2019-04-04  Tom Tromey  <tom@tromey.com>

* dtrace-probe.c (dtrace_probe::build_arg_exprs): Update.
* stap-probe.c (stap_parse_argument): Update.
* stap-probe.h (struct stap_parse_info) <stap_parse_info>: Remove
initial_size parameter.
* rust-exp.y (rust_lex_tests): Update.
* parse.c (parser_state): Update.
(parse_exp_in_context): Update.
* parser-defs.h (struct parser_state) <parser_state>: Remove
"initial_size" parameter.
gdb/ChangeLog
gdb/dtrace-probe.c
gdb/parse.c
gdb/parser-defs.h
gdb/rust-exp.y
gdb/stap-probe.c
gdb/stap-probe.h
This page took 0.02502 seconds and 4 git commands to generate.