Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-03

var parameters under 64-bit GDB?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I'm using FPC 2.4.1 with GDB 6.8 under Ubuntu 8.04.2 LTS on a all 64-bit system.

All var parameters [even of simple types like Integer, Boolean etc.] show up as memory addresses instead of their values when debugged. I believe this is only an issue if 64-bit systems are used.

What is the actual issue? Limitation of FPC's debug information, non-Pascal support in GDB, both, other?

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/
Flávio Etrusco
to Graeme Geldenhuys
Graeme Geldenhuys wrote 15 lines
Hi, I'm using FPC 2.4.1 with GDB 6.8 under Ubuntu 8.04.2 LTS on a all 64-bit system. All var parameters [even of simple types like Integer, Boolean etc.] show up as memory addresses instead of their values when debugged. I believe this is only an issue if 64-bit systems are used. What is the actual issue?  Limitation of FPC's debug information, non-Pascal support in GDB, both, other? Regards,  - Graeme -

The same problem exists in 32-bit. Or does it show as untyped address/pointer?

-Flávio