aboutsummaryrefslogtreecommitdiff
path: root/binutils/budbg.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-10-12 15:53:16 -0600
committerTom Tromey <tom@tromey.com>2020-10-12 20:18:47 -0600
commit91840ee38a1114bc02120935bf73dd5acda3b062 (patch)
tree0acea37944e6c869c22e8eca007bbb256f4f032b /binutils/budbg.h
parent2d128614d4101354d8125449539dc3255c37d345 (diff)
downloadgdb-91840ee38a1114bc02120935bf73dd5acda3b062.zip
gdb-91840ee38a1114bc02120935bf73dd5acda3b062.tar.gz
gdb-91840ee38a1114bc02120935bf73dd5acda3b062.tar.bz2
Simplify add_target_sections_of_objfile
Now that target_section_table uses std::vector, add_target_sections_of_objfile does not need to loop twice. This patch simplifies this code to have just a single loop. Also, the passed-in objfile can never be NULL, so this changes this function to assert that. gdb/ChangeLog 2020-10-12 Tom Tromey <tom@tromey.com> * exec.c (add_target_sections_of_objfile): Simplify.
Diffstat (limited to 'binutils/budbg.h')
0 files changed, 0 insertions, 0 deletions