From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4807 invoked by alias); 29 Dec 2011 18:11:03 -0000 Received: (qmail 4787 invoked by uid 22791); 29 Dec 2011 18:11:01 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nm19.bullet.mail.sp2.yahoo.com (HELO nm19.bullet.mail.sp2.yahoo.com) (98.139.91.89) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 29 Dec 2011 18:10:47 +0000 Received: from [98.139.91.63] by nm19.bullet.mail.sp2.yahoo.com with NNFMP; 29 Dec 2011 18:10:46 -0000 Received: from [98.139.91.12] by tm3.bullet.mail.sp2.yahoo.com with NNFMP; 29 Dec 2011 18:09:46 -0000 Received: from [127.0.0.1] by omp1012.mail.sp2.yahoo.com with NNFMP; 29 Dec 2011 18:09:46 -0000 Received: (qmail 33073 invoked by uid 60001); 29 Dec 2011 18:09:46 -0000 Received: from [2.176.229.180] by web111711.mail.gq1.yahoo.com via HTTP; Thu, 29 Dec 2011 10:09:46 PST Message-ID: <1325182186.27115.YahooMailNeo@web111711.mail.gq1.yahoo.com> Date: Thu, 29 Dec 2011 18:11:00 -0000 From: Mahmood Naderan Reply-To: Mahmood Naderan Subject: Cannot specify --frame without --thread To: "gdb@sourceware.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00054.txt.bz2 Hi, I have started gdb with this command: gdb --interpreter=3Dmi2 The complete list of commands I used is pasted below. Please have a look at= the end of message where I get the error. Is there any way to fix that? =A0 mahmood@pc:gem5$ gdb --interpreter=3Dmi2 =3Dthread-group-added,id=3D"i1" ~"GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08\n" ~"Copyright (C) 2011 Free Software Foundation, Inc.\n" ~"License GPLv3+: GNU GPL version 3 or later \nThis is free software: you are free to change and redistribute it.\nT= here is NO WARRANTY, to the extent permitted by law.=A0 Type \"show copying= \"\nand \"show warranty\" for details.\n" ~"This GDB was configured as \"x86_64-linux-gnu\".\nFor bug reporting instr= uctions, please see:\n" ~".\n" (gdb)=20 -gdb-show version ~"GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08\n" ~"Copyright (C) 2011 Free Software Foundation, Inc.\n" ~"License GPLv3+: GNU GPL version 3 or later \nThis is free software: you are free to change and redistribute it.\nT= here is NO WARRANTY, to the extent permitted by law.=A0 Type \"show copying= \"\nand \"show warranty\" for details.\n" ~"This GDB was configured as \"x86_64-linux-gnu\".\nFor bug reporting instr= uctions, please see:\n" ~".\n" ^done (gdb)=20 -gdb-set width 0 ^done (gdb)=20 -gdb-set height 0 ^done (gdb)=20 handle SIG32 pass nostop noprint &"handle SIG32 pass nostop noprint\n" ~"Signal=A0=A0=A0=A0=A0=A0=A0 Stop\tPrint\tPass to program\tDescription\n" ~"SIG32=A0=A0=A0=A0=A0=A0=A0=A0 No\tNo\tYes\t\tReal-time event 32\n" ^done (gdb)=20 handle SIG41 pass nostop noprint &"handle SIG41 pass nostop noprint\n" ~"Signal=A0=A0=A0=A0=A0=A0=A0 Stop\tPrint\tPass to program\tDescription\n" ~"SIG41=A0=A0=A0=A0=A0=A0=A0=A0 No\tNo\tYes\t\tReal-time event 41\n" ^done (gdb)=20 handle SIG42 pass nostop noprint handle SIG43 pass nostop noprint &"handle SIG42 pass nostop noprint\n" ~"Signal=A0=A0=A0=A0=A0=A0=A0 Stop\tPrint\tPass to program\tDescription\n" ~"SIG42=A0=A0=A0=A0=A0=A0=A0=A0 No\tNo\tYes\t\tReal-time event 42\n" ^done (gdb)=20 &"handle SIG43 pass nostop noprint\n" ~"Signal=A0=A0=A0=A0=A0=A0=A0 Stop\tPrint\tPass to program\tDescription\n" ~"SIG43=A0=A0=A0=A0=A0=A0=A0=A0 No\tNo\tYes\t\tReal-time event 43\n" ^done (gdb)=20 -enable-pretty-printing ^done (gdb)=20 -gdb-set charset UTF-8 ^done (gdb)=20 -gdb-set print sevenbit-strings off ^done (gdb)=20 source /usr/share/kde4/apps/kdevgdb/printers/gdbinit &"source /usr/share/kde4/apps/kdevgdb/printers/gdbinit\n" ^done (gdb)=20 -inferior-tty-set /dev/pts/1 ^done (gdb)=20 -environment-cd /home/mahmood/gem5 ^done (gdb)=20 -exec-arguments --debug-flags=3DConfig,O3CPUAll,HWPrefetch,Cache --trace-st= art=3D1254044000 -d ./results/ --stats-file=3Dbzip2_debug.stat configs/exam= ple/cmp.py --prog-interval=3D500000 -F 1000000 --maxinst 1000000 -d --cache= s --l2cache -b bzip2_dryer ^done (gdb)=20 -gdb-set print static-members off ^done (gdb)=20 -gdb-set print asm-demangle on ^done (gdb)=20 -file-exec-and-symbols /home/mahmood/gem5/build/X86_SE/m5.debug ^done (gdb)=20 -break-insert -f /home/mahmood/gem5/src/cpu/o3/lsq_unit.hh:571 ^done,bkpt=3D{number=3D"1",type=3D"breakpoint",disp=3D"keep",enabled=3D"y",= addr=3D"0x000000000070368e",func=3D"LSQUnit::readForLoad(Request= *, Request*, Request*, unsigned char*, int)",file=3D"build/X86_SE/cpu/o3/ls= q_unit.hh",fullname=3D"/home/mahmood/gem5/build/X86_SE/cpu/o3/lsq_unit.hh",= line=3D"571",times=3D"0",original-location=3D"/home/mahmood/gem5/src/cpu/o3= /lsq_unit.hh:571"} (gdb)=20 -exec-run &"/dev/pts/1: No such file or directory.\n" =3Dthread-group-started,id=3D"i1",pid=3D"2280" =3Dthread-created,id=3D"1",group-id=3D"i1" =3Dthread-exited,id=3D"1",group-id=3D"i1" =3Dthread-group-exited,id=3D"i1" ^error,msg=3D"During startup program exited with code 1." (gdb)=20 -exec-run =3Dthread-group-started,id=3D"i1",pid=3D"2338" =3Dthread-created,id=3D"1",group-id=3D"i1" ^running *running,thread-id=3D"all" (gdb)=20 =3Dlibrary-loaded,id=3D"/lib64/ld-linux-x86-64.so.2",target-name=3D"/lib64/= ld-linux-x86-64.so.2",host-name=3D"/lib64/ld-linux-x86-64.so.2",symbols-loa= ded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/libpthread.so.0",target-name= =3D"/lib/x86_64-linux-gnu/libpthread.so.0",host-name=3D"/lib/x86_64-linux-g= nu/libpthread.so.0",symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/usr/lib/libpython2.7.so.1.0",target-name=3D"/usr/l= ib/libpython2.7.so.1.0",host-name=3D"/usr/lib/libpython2.7.so.1.0",symbols-= loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/libz.so.1",target-name=3D"/li= b/x86_64-linux-gnu/libz.so.1",host-name=3D"/lib/x86_64-linux-gnu/libz.so.1"= ,symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/librt.so.1",target-name=3D"/l= ib/x86_64-linux-gnu/librt.so.1",host-name=3D"/lib/x86_64-linux-gnu/librt.so= .1",symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/usr/lib/x86_64-linux-gnu/libstdc++.so.6",target-na= me=3D"/usr/lib/x86_64-linux-gnu/libstdc++.so.6",host-name=3D"/usr/lib/x86_6= 4-linux-gnu/libstdc++.so.6",symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/libm.so.6",target-name=3D"/li= b/x86_64-linux-gnu/libm.so.6",host-name=3D"/lib/x86_64-linux-gnu/libm.so.6"= ,symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/libgcc_s.so.1",target-name=3D= "/lib/x86_64-linux-gnu/libgcc_s.so.1",host-name=3D"/lib/x86_64-linux-gnu/li= bgcc_s.so.1",symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/libc.so.6",target-name=3D"/li= b/x86_64-linux-gnu/libc.so.6",host-name=3D"/lib/x86_64-linux-gnu/libc.so.6"= ,symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/libssl.so.1.0.0",target-name= =3D"/lib/x86_64-linux-gnu/libssl.so.1.0.0",host-name=3D"/lib/x86_64-linux-g= nu/libssl.so.1.0.0",symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/libcrypto.so.1.0.0",target-na= me=3D"/lib/x86_64-linux-gnu/libcrypto.so.1.0.0",host-name=3D"/lib/x86_64-li= nux-gnu/libcrypto.so.1.0.0",symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/libdl.so.2",target-name=3D"/l= ib/x86_64-linux-gnu/libdl.so.2",host-name=3D"/lib/x86_64-linux-gnu/libdl.so= .2",symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/lib/x86_64-linux-gnu/libutil.so.1",target-name=3D"= /lib/x86_64-linux-gnu/libutil.so.1",host-name=3D"/lib/x86_64-linux-gnu/libu= til.so.1",symbols-loaded=3D"0",thread-group=3D"i1" ~"[Thread debugging using libthread_db enabled]\n" =3Dlibrary-loaded,id=3D"/usr/lib/python2.7/lib-dynload/_heapq.so",target-na= me=3D"/usr/lib/python2.7/lib-dynload/_heapq.so",host-name=3D"/usr/lib/pytho= n2.7/lib-dynload/_heapq.so",symbols-loaded=3D"0",thread-group=3D"i1" =3Dlibrary-loaded,id=3D"/usr/lib/python2.7/lib-dynload/datetime.so",target-= name=3D"/usr/lib/python2.7/lib-dynload/datetime.so",host-name=3D"/usr/lib/p= ython2.7/lib-dynload/datetime.so",symbols-loaded=3D"0",thread-group=3D"i1" *stopped,reason=3D"breakpoint-hit",disp=3D"keep",bkptno=3D"1",frame=3D{addr= =3D"0x000000000070368e",func=3D"LSQUnit::readForLoad",args=3D[{n= ame=3D"this",value=3D"0x2064610"},{name=3D"req",value=3D"0x2743610"},{name= =3D"sreqLow",value=3D"0x0"},{name=3D"sreqHigh",value=3D"0x0"},{name=3D"data= ",value=3D"0x7fffffffb498 \"\""},{name=3D"load_idx",value=3D"-1"}],file=3D"= build/X86_SE/cpu/o3/lsq_unit.hh",fullname=3D"/home/mahmood/gem5/build/X86_S= E/cpu/o3/lsq_unit.hh",line=3D"571"},thread-id=3D"1",stopped-threads=3D"all"= ,core=3D"2" (gdb)=20 -stack-list-locals --frame 0 --simple-values ^error,msg=3D"Cannot specify --frame without --thread" (gdb)=20 // Naderan *Mahmood;