Resonant X-ray scattering measurements for a GdB4 single crystal have been carried out at Gd L-3- and L-2-edges. Branching ratios between x-ray scattering intensities at two x-ray energies are different for resonance peaks. Their analysis shows different anisotropic characters of 5d electron states of Gd ions corresponding to the peaks.