If indeed it is, I am unsure how to report. Also I can not provide
sample code (except in pascal, using fpc)
using "gdb -i mi", the command "-break-insert +0" should insert a
breakpoint at the an offset of 0 lines from current.
With previous versions of gdb, if the command was issued before
-exec-run, then a breakpoint was inserted at the first line of code.
Using gdb 7.3-2
-break-insert +0
^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x00402f64",func="main",file="WatchesPrg.pas",fullname="b:\\lazarus_latest\\debugger\\test\\gdbmi\\testapps\\watchesprg.pas",line="269",times="0",original-location="WatchesPrg.pas:269"}
(gdb)
Using gdb 7.4-2
-break-insert +0
^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x00402f64",func="main",file="WatchesPrg.pas",fullname="b:\\lazarus_latest\\debugger\\test\\gdbmi\\TestApps\\WatchesPrg.pas",line="269",times="0",original-location="WatchesPrg.pas:+0"}
(gdb)
and then
-exec-run
....
&"Error in re-setting breakpoint 2: No line 0 in file \"WatchesPrg.pas\".\n"
=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="n",addr="<PENDING>",pending="WatchesPrg.pas:+0",times="0",original-location="WatchesPrg.pas:+0"}
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
MinGW-users mailing list
MinGW...@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-use...@lists.sourceforge.net?subject=unsubscribe
Please report it here:
And don't worry about the example in Pascal, just post it. At least
one of the active contributors to GDB (and to its Windows port) uses
fpc, so you are not alone.
Thanks.