Use scoped_value_mark in two more places
authorTom Tromey <tromey@adacore.com>
Wed, 24 May 2023 19:59:58 +0000 (13:59 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 9 Jun 2023 13:42:44 +0000 (07:42 -0600)
commit894592027535633de9438a8ff1e62d48a64767b6
treefa891178476351c3698bf15549f2e441f5657150
parent30711c89cc7dcd2bd4ea772b2f5dc639c5b1cfcc
Use scoped_value_mark in two more places

I found a couple of spots that could use scoped_value_mark.  One of
them is a spot that didn't consider the possibility that value_mark
can return NULL.  I tend to doubt this can be seen in this context,
but nevertheless this is safer.

Regression tested on x86-64 Fedora 36.
gdb/f-lang.c
gdb/value.c