OpenCores
no use no use 1/1 no use no use
How to disable simulator(sim) while building GDB-7.2
by tyagi007 on Sep 5, 2011
tyagi007
Posts: 6
Joined: Jul 29, 2011
Last seen: Feb 3, 2012
Hi,

I am trying to build GDB-7.2 without enabling simulator, i did not find any option/feature to disable 'sim'.

Is it possible to disable simulator while making gdb?

regards
Tyagi
RE: How to disable simulator(sim) while building GDB-7.2
by tyagi007 on Sep 7, 2011
tyagi007
Posts: 6
Joined: Jul 29, 2011
Last seen: Feb 3, 2012
Thanks, i observed the mechanism not to consider simulator during GDB build.
The simulator functionality can be opted in configure.tgt file. If we do not want to link simulator with Debugger executable then there is no need to include entry for simulator in configure.tgt file.

RE: How to disable simulator(sim) while building GDB-7.2
by jeremybennett on Sep 8, 2011
jeremybennett
Posts: 815
Joined: May 29, 2008
Last seen: Jun 13, 2019

Hi tyagi007,

Looks like you have solved your own problem. But why would you want to disable the simulator?

Best wishes,

Jeremy

--
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Email: jeremy.bennett@embecosm.com
Web: www.embecosm.com

RE: How to disable simulator(sim) while building GDB-7.2
by tyagi007 on Sep 8, 2011
tyagi007
Posts: 6
Joined: Jul 29, 2011
Last seen: Feb 3, 2012
Hi Jeremy,

I am using Openrisc GDB7.2 as a reference to port GDB7.3 to a new Reconfigurable Target.

In first phase of porting, I do not want to use the simulator with debugger, so i was looking to disable it.

regards,
Tyagi
RE: How to disable simulator(sim) while building GDB-7.2
by jeremybennett on Sep 8, 2011
jeremybennett
Posts: 815
Joined: May 29, 2008
Last seen: Jun 13, 2019

Hi Tyagi,

Good luck with porting GDB. Beware that GDB 7.2 for OpenRISC is still in its early stages, so has a lot of errors (several hundred regression failures). I am in the process of porting GDB 7.3, but it will be a while before that work is complete.

I wrote an application note on porting GDB, based on GDB 6.8 for OpenRISC (http://www.embecosm.com/download/ean3.html), which you may found useful. However there have been significant API changes in moving from GDB 6.x to GDB 7.x, notably in frame handling, which now works with THIS frame rather than the NEXT frame.

Best wishes,

Jeremy

no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.