[0/2] More use of bool in linespec

Message ID 20250111-linespec-more-bool-v1-0-fd2213135450@tromey.com
Headers
Series More use of bool in linespec |

Message

Tom Tromey Jan. 11, 2025, 6:53 p.m. UTC
  I found a couple more spots in linespec that could use the bool type.

Signed-off-by: Tom Tromey <tom@tromey.com>
---
Tom Tromey (2):
      Use bool for parameter of add_sal_to_sals
      Use bool in decode_line_2_item

 gdb/linespec.c | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)
---
base-commit: 4818a5c2b402b0a09d95e5bcbc84a5d85c29ec7c
change-id: 20250111-linespec-more-bool-3efec14e0445

Best regards,
  

Comments

Simon Marchi Jan. 13, 2025, 4:51 a.m. UTC | #1
On 2025-01-11 13:53, Tom Tromey wrote:
> I found a couple more spots in linespec that could use the bool type.
> 
> Signed-off-by: Tom Tromey <tom@tromey.com>
> ---
> Tom Tromey (2):
>       Use bool for parameter of add_sal_to_sals
>       Use bool in decode_line_2_item
> 
>  gdb/linespec.c | 23 +++++++++++------------
>  1 file changed, 11 insertions(+), 12 deletions(-)
> ---
> base-commit: 4818a5c2b402b0a09d95e5bcbc84a5d85c29ec7c
> change-id: 20250111-linespec-more-bool-3efec14e0445
> 
> Best regards,

Approved-By: Simon Marchi <simon.marchi@efficios.com>

Simon