aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-04-24 16:22:57 -0600
committerTom Tromey <tom@tromey.com>2019-05-04 14:13:28 -0600
commit06d16ec97736b5fc0f41cb5a43f756b7ba3d974b (patch)
tree5ebf058258e8ef8c0db1a362a94292953542b0c1 /gdb/arm-linux-nat.c
parent9c056022194f9d1f068885cb45c9d23a2e44db54 (diff)
downloadgdb-06d16ec97736b5fc0f41cb5a43f756b7ba3d974b.zip
gdb-06d16ec97736b5fc0f41cb5a43f756b7ba3d974b.tar.gz
gdb-06d16ec97736b5fc0f41cb5a43f756b7ba3d974b.tar.bz2
Use gdb_assert_not_reached in arm-linux-nat.c
This changes arm-linux-nat.c to use gdb_assert_not_reached rather than an assert of false. gdb/ChangeLog 2019-05-04 Tom Tromey <tom@tromey.com> * arm-linux-nat.c (arm_linux_nat_target::can_use_hw_breakpoint): Use gdb_assert_not_reached.
Diffstat (limited to 'gdb/arm-linux-nat.c')
-rw-r--r--gdb/arm-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index 52668da..c86c97d 100644
--- a/gdb/arm-linux-nat.c
+++ b/gdb/arm-linux-nat.c
@@ -690,7 +690,7 @@ arm_linux_nat_target::can_use_hw_breakpoint (enum bptype type,
return -1;
}
else
- gdb_assert (FALSE);
+ gdb_assert_not_reached ("unknown breakpoint type");
return 1;
}