]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/linespec: make symbol_to_sal return an optional
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 11 Oct 2025 04:08:50 +0000 (00:08 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 14 Oct 2025 19:44:42 +0000 (15:44 -0400)
commit6f889f9402b2a9e779636292ff2676a664662e36
treefb3cf24af84d6fe14dd17f2481fcb2eab4685c7b
parentc4e3b73c36c173d9317fb1cc3c2e79b1d905422b
gdb/linespec: make symbol_to_sal return an optional

Return an optional, instead of a bool + the actual value by parameter.
I think this makes it a bit easier to understand what's going on.

Change-Id: Idf65f4a026cab6eebfb81c4efda406aeb65d0813
Approved-By: Tom Tromey <tom@tromey.com>
gdb/linespec.c