Hi, Giacomo.Thanks for your reply.
I am not familiar with gdb in se mode. So I try to use debug functions such as 
curTick() and eventqDump(). But gdb tells me that there is no symbol about 
eventqDump() and curTick. So I only use backtrace when the program aborted.
I am using the command as below:
gdb --args $GEM5_BIN --outdir=$OUTPUT_PATH $GEM5_PATH/configs/example/se.py \
--num-cpu 1 --cpu-clock 2.5GHz --cpu-type O3_ARM_v7a_3 \
--restore-with-cpu O3_ARM_v7a_3 -r 1 --checkpoint-dir \
"$CHECK_PATH" --caches --mem-type DDR3_2133_8x8 --mem-size 1GB \
-c "$TARGET_PATH" --options "$DATA_PATH"
the gdb output are as below:
(gdb) r
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff5ca7921 in __GI_abort () at abort.c:79
#2  0x00007ffff5c9748a in __assert_fail_base (
    fmt=0x7ffff5e1e750 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
    assertion=assertion@entry=0x55555868991a "when >= getCurTick()", 
    file=file@entry=0x555558689902 "build/ARM/sim/eventq.hh", 
    line=line@entry=766, 
    function=function@entry=0x555558689b20 
<gem5::EventQueue::schedule(gem5::Event*, unsigned long, 
bool)::__PRETTY_FUNCTION__> "void gem5::EventQueue::schedule(gem5::Event*, 
gem5::Tick, bool)") at assert.c:92
#3  0x00007ffff5c97502 in __GI___assert_fail (
    assertion=0x55555868991a "when >= getCurTick()", 
    file=0x555558689902 "build/ARM/sim/eventq.hh", line=766, 
    function=0x555558689b20 <gem5::EventQueue::schedule(gem5::Event*, unsigned 
long, bool)::__PRETTY_FUNCTION__> "void 
gem5::EventQueue::schedule(gem5::Event*, gem5::Tick, bool)") at assert.c:101
#4  0x0000555555cc1dfe in gem5::EventQueue::schedule (this=0x55555ad72ea0, 
    event=0x55555ace0800, when=1010, global=false)
    at build/ARM/sim/eventq.hh:766
#5  0x0000555555dd3a94 in gem5::EventManager::schedule (this=0x55555ace0708, 
    event=..., when=1010) at build/ARM/sim/eventq.hh:1021
#6  0x00005555561fc1a9 in gem5::BaseCache::startup (this=0x55555ace0700)
    at build/ARM/mem/cache/base.cc:169

(gdb) p curTick
No symbol "curTick" in current context.
(gdb) p curTick()
No symbol "curTick" in current context.

Kind regards
Gelin
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to