Introduce find_source_or_rewrite
authorTom Tromey <tom@tromey.com>
Sun, 4 Jul 2021 19:26:15 +0000 (13:26 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 17 Jul 2021 16:41:42 +0000 (10:41 -0600)
commit4584f33d68b79c362ce9f3543052027b1676f30e
tree70a1be2b98dff96f47a37bb1df0bcfcbc97ba34b
parentd030267c9cc0fb594d3dda264b78114afc6eb214
Introduce find_source_or_rewrite

The final bug fix in this series would duplicate the logic in
psymtab_to_fullname, so this patch extracts the body of this function
into a new function.
gdb/psymtab.c
gdb/source.c
gdb/source.h