Recent

Author Topic: Build Modes & GDB  (Read 3614 times)

rtusrghsdfhsfdhsdfhsfdhs

  • Full Member
  • ***
  • Posts: 162
Build Modes & GDB
« on: October 14, 2015, 01:20:00 pm »
How to have different build modes with different GDB like so:

- Win64 DEBUG - x64 GDB
- Win32 Debug - x86 GDB

I use x86 Lazarus.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4709
  • I like bugs.
Re: Build Modes & GDB
« Reply #1 on: October 14, 2015, 02:21:34 pm »
It would require the debugger settings to be part of project settings. Currently they are global.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

rtusrghsdfhsfdhsdfhsfdhs

  • Full Member
  • ***
  • Posts: 162
Re: Build Modes & GDB
« Reply #2 on: October 14, 2015, 03:01:20 pm »
Hopefully this can get added in SVN.

http://bugs.freepascal.org/view.php?id=28855#bugnotes

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12296
  • Debugger - SynEdit - and more
    • wiki
Re: Build Modes & GDB
« Reply #3 on: October 14, 2015, 08:24:08 pm »
the debugger path can have macros
Code: [Select]
$(LazarusDir)\mingw\$(TargetCPU)-$(TargetOS)\bin\gdb.exe

Buildmode should set them

rtusrghsdfhsfdhsdfhsfdhs

  • Full Member
  • ***
  • Posts: 162
Re: Build Modes & GDB
« Reply #4 on: October 14, 2015, 09:00:15 pm »
Will not work :(

 

TinyPortal © 2005-2018