summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mcf5235/gdb-init
blob: bda3cccaaa27d0e5fba519b7c771678bed45f79c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# Connect to the target.
# 
target remote | m68k-bdm-gdbserver pipe /dev/bdmcf0

#
# The console loop the Axman dbug monitor. Found by trial and error
# with the debugger.
#
hb *0xffe254c0

#
# Run to initialise the RAM. The target will stop when the
# breakpoint is hit. Load the program.
#
c
load

#
# Break on an exception.
#
b _uhoh

#
# Travel to main then stop.
#
tb main
c