Recent

Author Topic: gdbint in Windows  (Read 2806 times)

Zaher

  • Hero Member
  • *****
  • Posts: 611
    • parmaja.org
gdbint in Windows
« on: August 06, 2016, 11:00:35 pm »
Any one have tried and succeed to compile testgdb.pp in windows?, i want to use gdbint, gdbcon in windows (also linux)
But i can find libgdb in my system (mingw).

fpc\3.0\src\packages\gdbint\examples\testgdb.pp

I feel it belong to cygwin?

« Last Edit: August 07, 2016, 11:40:18 am by Zaher »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8319
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: gdbint in Windows
« Reply #1 on: August 07, 2016, 08:24:09 am »
You need to build gdb from source to get libgdb.a.

Thaddy

  • Hero Member
  • *****
  • Posts: 10734
Re: gdbint in Windows
« Reply #2 on: August 07, 2016, 03:16:14 pm »
Yup, I am afraid that is the only option. Furthermore, building GDB from source for windows is rather cumbersome to me and requires a pretty exactly versioned toolchain.

What I would do is change over to GDBMI with which you can do similar things. And doesn't require you to build.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9226
  • FPC developer.
Re: gdbint in Windows
« Reply #3 on: August 07, 2016, 09:29:34 pm »
Precompiled libgdb's for windows are available from FTP in the contrib/libgdb directory IIRC.

Zaher

  • Hero Member
  • *****
  • Posts: 611
    • parmaja.org
Re: gdbint in Windows
« Reply #4 on: August 07, 2016, 09:36:12 pm »
yes there is
http://gd.tuwien.ac.at/languages/pascal/fpc/contrib/libgdb/v7.4/
thank you @marcov

But i will give a try with gdb.exe with mi too as @thaddy said

 

TinyPortal © 2005-2018