aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-08-05 10:43:48 -0600
committerTom Tromey <tromey@adacore.com>2022-08-22 12:03:41 -0600
commit6bab7e67d07896d4fad755d9c2127f914c5c6492 (patch)
tree42b50fc58c3f5354c8cac1c47d4a570b65115cb5 /gprof
parentb3ea2010cd06d49dd4fbfaa64b055700f7869e34 (diff)
downloadfsf-binutils-gdb-6bab7e67d07896d4fad755d9c2127f914c5c6492.zip
fsf-binutils-gdb-6bab7e67d07896d4fad755d9c2127f914c5c6492.tar.gz
fsf-binutils-gdb-6bab7e67d07896d4fad755d9c2127f914c5c6492.tar.bz2
Avoid crash with Ravenscar tasks
When using Ravenscar, gdb can crash if the user sets a breakpoint very early in task startup. This happens because gdb thinks the runtime is initialized, but in practice the particular task isn't sufficiently initialized. This patch avoids the issue by turning an assertion into an early return. I tested this using the AdaCore internal test suite. I don't know how to test Ravenscar using the FSF test suite.
Diffstat (limited to 'gprof')
0 files changed, 0 insertions, 0 deletions