aboutsummaryrefslogtreecommitdiff
path: root/gdb/contrib
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-12-05 08:08:39 -0700
committerTom Tromey <tromey@adacore.com>2019-12-13 15:15:31 -0700
commit036003a671233c43e35b3004f91e4cbd61255cf3 (patch)
tree9968bec13a80f0cae8076e95460e05c5519bf120 /gdb/contrib
parent8aaaf7577f070c91086533d959ac36a15d1d604f (diff)
downloadgdb-036003a671233c43e35b3004f91e4cbd61255cf3.zip
gdb-036003a671233c43e35b3004f91e4cbd61255cf3.tar.gz
gdb-036003a671233c43e35b3004f91e4cbd61255cf3.tar.bz2
Silence ARI for valid calls to abort
There are a handful of spots in gdb that validly call abort. This patch adds the appropriate ARI marker to these lines, to silence the ARI report. This also removes the "fix" call for "abort" from gdb_ari.sh; it was incorrect and now is not needed. gdb/ChangeLog 2019-12-13 Tom Tromey <tromey@adacore.com> * contrib/ari/gdb_ari.sh: Remove "fix" call for abort. * utils.c (abort_with_message, dump_core, internal_vproblem): Add ARI marker to abort. * event-top.c (handle_sigsegv): Add ARI marker to abort. Change-Id: I09ce6aa5010bbe4e5bb73ffdb727481be39d34d6
Diffstat (limited to 'gdb/contrib')
-rwxr-xr-xgdb/contrib/ari/gdb_ari.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh
index d05f4af..300ed76 100755
--- a/gdb/contrib/ari/gdb_ari.sh
+++ b/gdb/contrib/ari/gdb_ari.sh
@@ -647,7 +647,6 @@ FNR == 1 {
BEGIN { doc["abort"] = "\
Do not use abort, instead use internal_error; GDB should never abort"
category["abort"] = ari_regression
- fix("abort", "gdb/utils.c", 3)
}
/(^|[^_[:alnum:]])abort[[:space:]]*\(/ {
fail("abort")