[rtems-testing commit] sim-scripts/gdb-sim.in: Do not break on normal exit

Joel Sherrill joel at rtems.org
Wed May 29 20:38:54 UTC 2013


Module:    rtems-testing
Branch:    master
Commit:    3b88cb47bf491340b522034710d111d4f3b8ac94
Changeset: http://git.rtems.org/rtems-testing/commit/?id=3b88cb47bf491340b522034710d111d4f3b8ac94

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon May 13 11:24:36 2013 -0500

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.

---

 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 at -cmds
 ###  Add generic commands which break on known bad places
 cat >>@BSP at -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"




More information about the vc mailing list