Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Error 740 on launching GDB with basic app on Windows 10 5 years 11 months ago #12904

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
Hi,

I've migrate to the release 6.6 on Windows 10 but when I execute a basic project the GNU debugger says that it couldn't execute with the -exec-run param and give an 740 code error.

So I've searching on the source and compare with Lazarus (V1.8) source too. The same application working perfectly with the debugger and basically it's the same. And I've found that command passed to the debugger with TGDBController are not the same. So I've notice to that there's multiple implementation of TGDBController :
- codetyphon\fpcsrc\packages\gdbint\src\gdbcon.pp
- codetyphon\fpcsrc\packages\ide\gdbmicon.pas

And the -exec-run command is passed on the last but the good command seem's to be running.

Thank's by advance for explanation.
Frédéric Libaud, Digital Expert

Please Log in or Create an account to join the conversation.

Error 740 on launching GDB with basic app on Windows 10 5 years 11 months ago #12905

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
first of all Typhon IDE don't use

FreePascal files
- codetyphon\fpcsrc\packages\gdbint\src\gdbcon.pp
- codetyphon\fpcsrc\packages\ide\gdbmicon.pas

All GDB "console commands" are in
codetyphon\typhon\components\BaseDebuggergdbmi\gdbmidebugger.pp file


if you get this GDB ERROR 740 more Info





Check If your Project has has been configured to Run as Administrator




Typhon IDE and GDB run without Administrator rights and privileges
so you can't call from Typhon IDE (and GDB Typhon Sub-process) a project with Administrator rights and privileges.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Error 740 on launching GDB with basic app on Windows 10 5 years 11 months ago #12906

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
I've verified that I apply your explanation.
But it doesn't work and it's the release 8.2 of GNU Debugger how it's delivered (with CT 6.6). This release doesn't support the "-exec-run" command apparently !
Frédéric Libaud, Digital Expert

Please Log in or Create an account to join the conversation.

Error 740 on launching GDB with basic app on Windows 10 5 years 11 months ago #12907

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
can you give us more info for your project ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1