Fix the build after bfd_get_signed_8 change
authorTom Tromey <tromey@adacore.com>
Wed, 11 Dec 2019 14:58:46 +0000 (07:58 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 11 Dec 2019 14:58:46 +0000 (07:58 -0700)
commitaac4760f70a4ba503f01a967b33cc218dfc37144
tree854f8f2f818ec8a4ba7b47f229d0ca4473cddd81
parent1d61b032265e69317f42e8019e072506f11890c5
Fix the build after bfd_get_signed_8 change

A recent commit changed bfd_get_signed_8 to extend the result to a
bfd_signed_vma.  This caused a compiler error in one spot in my
--enable-targets=all gdb build, where the result of bfd_get_signed_8
was passed to printf.

This patch fixes the build.  Tested by rebuilding.

gdb/ChangeLog
2019-12-11  Tom Tromey  <tromey@adacore.com>

* fbsd-tdep.c (fbsd_core_info_proc_status): Cast result of
bfd_get_signed_8.

Change-Id: Ic015f5fd3d88da6b5da8f7b4e1d11d5c981333db
gdb/ChangeLog
gdb/fbsd-tdep.c