comp.lang.ada
 help / color / mirror / Atom feed
* gdb problem with gnat gpl 2011 (drawin_64) on OS X Lion (10.7.3)
@ 2012-03-01 16:57 Volkert
  2012-03-02  6:24 ` M. Enzmann
  0 siblings, 1 reply; 3+ messages in thread
From: Volkert @ 2012-03-01 16:57 UTC (permalink / raw)


Dear all,

gdb not stops on my breakpoints. :-(

Here what gdb says:

(gdb) b main
Breakpoint 4 at 0x100000e20: file /Users/XYZ/Development/gnat/share/
examples/gnat/dimensioned_units/objs/b~demo_checked.adb, line 236.
(gdb) run
unable to read unknown load command 0x24
unable to read unknown load command 0x26
Error in re-setting breakpoint 4: Cannot access memory at address
0x100000e20

Program exited normally.
(gdb)

XYZ$ gdb -v
GNU gdb (GDB) 7.2 for GNAT GPL 2011 (20110419) [rev=gdb-7.2-ref-110-
g8cd875d]
Copyright (C) 2010 Free Software Foundation, Inc.

All Code its compiled with debug information. ;-)

Any hints?
Volkert



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdb problem with gnat gpl 2011 (drawin_64) on OS X Lion (10.7.3)
  2012-03-01 16:57 gdb problem with gnat gpl 2011 (drawin_64) on OS X Lion (10.7.3) Volkert
@ 2012-03-02  6:24 ` M. Enzmann
  2012-03-02 10:39   ` volkert.barr
  0 siblings, 1 reply; 3+ messages in thread
From: M. Enzmann @ 2012-03-02  6:24 UTC (permalink / raw)


Had that myself....  try to link with

-Wl,-no_pie

HTH,

Marc



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdb problem with gnat gpl 2011 (drawin_64) on OS X Lion (10.7.3)
  2012-03-02  6:24 ` M. Enzmann
@ 2012-03-02 10:39   ` volkert.barr
  0 siblings, 0 replies; 3+ messages in thread
From: volkert.barr @ 2012-03-02 10:39 UTC (permalink / raw)


Works :-)

Thanks,
Volkert

Am Freitag, 2. März 2012 07:24:17 UTC+1 schrieb M. Enzmann:
> Had that myself....  try to link with
> 
> -Wl,-no_pie
> 
> HTH,
> 
> Marc



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-02 10:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-01 16:57 gdb problem with gnat gpl 2011 (drawin_64) on OS X Lion (10.7.3) Volkert
2012-03-02  6:24 ` M. Enzmann
2012-03-02 10:39   ` volkert.barr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox