summaryrefslogtreecommitdiff
path: root/sim-scripts/gdb-sim.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-05-13 11:24:36 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-05-29 15:37:29 -0500
commit3b88cb47bf491340b522034710d111d4f3b8ac94 (patch)
treeb186dc95dc9b7f8496b57c6014da63f6f0eda7bd /sim-scripts/gdb-sim.in
parent6af07ed8c1abd8aa2422b7053c5e9dab644c2e10 (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 '')
-rwxr-xr-xsim-scripts/gdb-sim.in1
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"