Article View: comp.lang.verilog
Article #211Re: debug verilog-PLI using gdb ?
From: Steven Sharp
Date: Thu, 06 Feb 2003 23:31
Date: Thu, 06 Feb 2003 23:31
15 lines
1738 bytes
1738 bytes
thewhizkid@rock.com (thewhizkid) wrote in message news:<31b3e6e5.0302051926.321131e2@posting.google.com>... > Hi everybody: > > I'm trying to single-step through my verilog-PLI functions using gdb. > I am able to load the symbol table, but then when I try to > single-step using the "step" command, I am able to step a > couple of times and then the program just quits saying its > done. This will depend on your simulator, but in general, gdb will not be able to step through the execution of the Verilog code. Try setting breakpoints on your PLI functions, and then running instead of stepping. The debugger should stop when it reaches your function. You can then step through your PLI function, or continue running until the next breakpoint.
Technical Details
Message-ID:
<3a8e124e.0302061531.6883235b@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mailReferences:
<31b3e6e5.0302051926.321131e2@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,b8ed3448cc3844df X-Google-Attributes: gid11318c,public X-Google-Thread: 112e4c,b8ed3448cc3844df X-Google-Attributes: gid112e4c,public X-Google-ArrivalTime: 2003-02-06 15:31:29 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: sharp@cadence.com (Steven Sharp) Newsgroups: comp.lang.verilog,gnu.gcc.help Subject: Re: debug verilog-PLI using gdb ? Date: 6 Feb 2003 15:31:29 -0800 Organization: http://groups.google.com/ Lines: 15 Message-ID: <3a8e124e.0302061531.6883235b@posting.google.com> References: <31b3e6e5.0302051926.321131e2@posting.google.com> NNTP-Posting-Host: 158.140.2.102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1044574289 11428 127.0.0.1 (6 Feb 2003 23:31:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 6 Feb 2003 23:31:29 GMT