summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/gen68360/startup
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-06 20:27:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-06 20:27:45 +0000
commit676b50455d174270075523f88823555138978c5f (patch)
treee8d9ed75feb3569bd204380f134da4dc14451d85 /c/src/lib/libbsp/m68k/gen68360/startup
parenta37be5c4e202d88464130af9f1e5df9f7e1fba81 (diff)
downloadrtems-676b50455d174270075523f88823555138978c5f.tar.bz2
Patch from Eric Norum <eric@skatter.usask.ca>:
I'd like to make the following change which adds the m360 structure information to the debugging symbols in the final executable. This makes it much easier to use the debugger to look at the elements of the m360 structure.
Diffstat (limited to 'c/src/lib/libbsp/m68k/gen68360/startup')
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/startup/init68360.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/init68360.c b/c/src/lib/libbsp/m68k/gen68360/startup/init68360.c
index a104951db0..cc303111c9 100644
--- a/c/src/lib/libbsp/m68k/gen68360/startup/init68360.c
+++ b/c/src/lib/libbsp/m68k/gen68360/startup/init68360.c
@@ -15,6 +15,12 @@
#include <m68360.h>
/*
+ * Declare the m360 structure here for the benefit of the debugger
+ */
+
+m360_t m360;
+
+/*
* Send a command to the CPM RISC processer
*/