# .gdbinit file
-# $Id$
+# $Id: dot.gdbinit.mappi,v 1.4 2004/10/20 02:24:37 takata Exp $
#-----
# NOTE: this file is generated by a script, "gen_gdbinit.pl".
# (Please type "gen_gdbinit.pl --help" and check the help message).
-# $ Id: gen_gdbinit.pl,v 1.8 2004/02/27 07:08:32 takata Exp $
+# $ Id: gen_gdbinit.pl,v 1.12 2004/07/26 09:56:10 takata Exp $
#-----
# target platform: mappi
# Set kernel parameters
define set_kernel_parameters
- set $param = (void*)0x08002000
+ set $param = (void*)0x08001000
# INITRD_START
- set *(unsigned long *)($param + 0x0010) = 0x082a0000
+# set *(unsigned long *)($param + 0x0010) = 0x08300000
# INITRD_SIZE
- set *(unsigned long *)($param + 0x0014) = 0x00000000
+# set *(unsigned long *)($param + 0x0014) = 0x00000000
# M32R_CPUCLK
set *(unsigned long *)($param + 0x0018) = 0d360000000
# M32R_BUSCLK
# M32R_TIMER_DIVIDE
set *(unsigned long *)($param + 0x0020) = 0d128
- set {char[0x200]}($param + 0x100) = "console=ttyD0,115200n8x root=/dev/nfsroot nfsroot=192.168.0.1:/project/m32r-linux/export/root.x nfsaddrs=192.168.0.101:192.168.0.1:192.168.0.1:255.255.255.0:mappi001 \0"
+ set {char[0x200]}($param + 0x100) = "console=ttyS0,115200n8x console=tty1 root=/dev/nfsroot nfsroot=192.168.0.1:/project/m32r-linux/export/rootfs nfsaddrs=192.168.0.101:192.168.0.1:192.168.0.1:255.255.255.0:mappi001 \0"
end
# Boot
define boot
set_kernel_parameters
set $fp = 0
- set $pc=0x08001000
+ set $pc = 0x08002000
si
c
end
file vmlinux
target m32rsdi
setup
-#load_module
+#load_modules
#set_breakpoints
#boot