Fix return value of uo_redirect
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 27 Nov 2016 03:05:25 +0000 (22:05 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 27 Nov 2016 03:05:25 +0000 (22:05 -0500)
commit82bbe65a43015a753bec8c64869679a699331a5b
tree05d744e624746c338f76279b234844918b56a893
parente4975d6a9cd8aaf3fb14135b36850964def131d7
Fix return value of uo_redirect

The wrapper uo_redirect seems like it should return the return value
from of implementation function, since callers rely on it, but it
doesn't.

gdb/ChangeLog:

* ui-out.c (uo_redirect): Return the return value from the
implementation function.
gdb/ChangeLog
gdb/ui-out.c