Hi there, I have problems debugging my code as soon as I enable 2 cpus. I changed the gem5 code, so that it waits with the execution of the simulated code until a remote debugger is attached. With only one cpu this works properly, but with two cores I get this output:
gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --copyright option for details. gem5 compiled May 29 2012 17:13:11 gem5 started Jun 4 2012 10:15:52 gem5 executing on desktop command line: gem5.fast ../tools/arm_gem5/gem5script.py --num_cpus=2 --caches --l2cache --kernel=arm_gem5/sbin/cpu --ramdisk=arm_gem5/romfs.cpio --loglevel=4 Global frequency set at 1000000000000 ticks per second warn: Specified size 268435456 does not match file arm_gem5/romfs.cpio 26679296 info: kernel located at: arm_gem5/sbin/cpu Listening for system connection on port 5900 Listening for system connection on port 3456 0: system.remote_gdb.listener: listening for remote gdb on port 7000 0: system.remote_gdb.listener: listening for remote gdb on port 7001 info: Using bootloader at address 0x80000000 ..... STARTING SIMULATION info: Entering event queue @ 0. Starting simulation... fatal: Unable to find destination for addr 0xfffffffc on bus system.iobus @ cycle 0 [findPort:build/ARM/mem/bus.cc, line 539] Memory Usage: 482676 KBytes Note that it works fine if I don't attach a debugger and just let gem5 run from the beginning. I connect gdb to the simulator as described in the wiki. Here are the commands I use set remote Z-packet on set tdesc filename ../tools/arm_gem5/arm-with-neon.xml file arm_gem5/sbin/cpu target remote localhost:7000 Does someone know whats happening here? Best, Samuel
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users