Pass the correct argument to the observer in reread_symbols
authorTom Tromey <tom@tromey.com>
Sun, 8 Jul 2018 18:18:09 +0000 (12:18 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 22 Jul 2018 19:20:05 +0000 (13:20 -0600)
commitc486b6106a31e442cba13c74a103aad8463bbd20
tree9c49a52c7308b6a59269b38b15d134fe31f4bea9
parent494f80a9321dccb939bf39afed66649702b563fe
Pass the correct argument to the observer in reread_symbols

This is actually a patch I found via another route.  Joel had asked me
to write a test, but I still have not found the time to do this.
Meanwhile, -Wunused-variable also found this error.

gdb/ChangeLog
2018-07-22  Tom Tromey  <tom@tromey.com>

* symfile.c (reread_symbols): Notify iter, not objfile.
gdb/ChangeLog
gdb/symfile.c