diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-05-13 11:24:36 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-05-29 15:37:29 -0500 |
commit | 3b88cb47bf491340b522034710d111d4f3b8ac94 (patch) | |
tree | b186dc95dc9b7f8496b57c6014da63f6f0eda7bd /sim-scripts | |
parent | 6af07ed8c1abd8aa2422b7053c5e9dab644c2e10 (diff) |
sim-scripts/gdb-sim.in: Do not break on normal exit
Changes to the shutdown code to have only one exit point resulted
in the gdb macros printing scary looking output on normal exit.
Diffstat (limited to 'sim-scripts')
-rwxr-xr-x | sim-scripts/gdb-sim.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim-scripts/gdb-sim.in b/sim-scripts/gdb-sim.in index cbbdaac..00b7890 100755 --- a/sim-scripts/gdb-sim.in +++ b/sim-scripts/gdb-sim.in @@ -128,6 +128,7 @@ esac >>@BSP@-cmds ### Add generic commands which break on known bad places cat >>@BSP@-cmds <<EOF b _Internal_error_Occurred +condition 1 (the_source != RTEMS_FATAL_SOURCE_EXIT) || (the_error != 0) b rtems_fatal_error_occurred b __assert printf "Use run to start the RTEMS application\\n" |