Use gdb_bfd_sections in get_stap_base_address
authorTom Tromey <tom@tromey.com>
Sat, 19 Sep 2020 17:54:49 +0000 (11:54 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 19 Sep 2020 17:54:50 +0000 (11:54 -0600)
commit3cabfd268b2d2301a8bfcfa124c162a1d45cfc68
tree4f6665cdd927c8f688ace1d07c4f64768811ee83
parent1ce51eb52dca2fcd1ad4120876362ce2a53b3de6
Use gdb_bfd_sections in get_stap_base_address

This changes get_stap_base_address to avoid bfd_map_over_sections, in
favor of iteration.

gdb/ChangeLog
2020-09-19  Tom Tromey  <tom@tromey.com>

* stap-probe.c (get_stap_base_address_1): Remove.
(get_stap_base_address): Use foreach.
gdb/ChangeLog
gdb/stap-probe.c
This page took 0.027243 seconds and 4 git commands to generate.