Hello again :), I just forgot to ask; Delphi has an option to
generate a so called "map file" that contains the function
addresses matched with the function names when an executable
compiled. What would be the equivalent FPC functionality for this?
man ld -> search for "map" -> there is a "--p
o.k. this is where i've come to with my struggle with arm big endian
(without fpu):
2.0.4: works well, except with floating point (hangs on my board).
can't compile the rtl with softfloat support.
2.0.5: just tried latest rev. doesn't work well, writeln('hello
world') spits out rubbish after
Jonas Maebe <[EMAIL PROTECTED]> wrote
in news:[EMAIL PROTECTED]:
> How do you try to set the breakpoint? You can either use:
> a) b FOOBAR
> b) b sourcefile.pas:linenr
>
> I guess you are using a) (of course that should work as well)
Another interesting thing is that I can set this with "b foobar
On 02 Mar 2007, at 10:36, m utku wrote:
> Do line numbers work?
Yes, indeed I can use dump_stack without problems but still no luck
with breakpoints. I can always reproduce this case:
(1) declare a test function like:
procedure foobar;
begin
// some code to avoid smart link elimination, ju
Jonas Maebe <[EMAIL PROTECTED]> wrote
in news:[EMAIL PROTECTED]:
>
> On 02 Mar 2007, at 08:56, m utku wrote:
>
>> I am using an unstable fpc version(2.1.1 -- snapshot from last
>> week). While debugging my specific project, GDB(6.4 - Debian Sarge)
>> seems to be wrong about the function locat
On 02 Mar 2007, at 08:56, m utku wrote:
I am using an unstable fpc version(2.1.1 -- snapshot from last
week). While debugging my specific project, GDB(6.4 - Debian Sarge)
seems to be wrong about the function locations so I cannot use
breakpoints.
Do line numbers work?
I'd guess that thi
Hmm. And then how to redirect the linker's standard output to a file
named the same as a the source?
Vinzent, passing this: "-k-Map mapfile" to fpc does the trick. Thanks to
Jonas...
Regards,
Utku.
___
fpc-pascal maillist - fpc-pascal@lists.fre
Jonas Maebe schreef:
On 02 Mar 2007, at 09:26, Vincent Snijders wrote:
Jonas Maebe schreef:
On 02 Mar 2007, at 09:03, m utku wrote:
Hello again :), I just forgot to ask; Delphi has an option to
generate a so called "map file" that contains the function addresses
matched with the function na
On 02 Mar 2007, at 09:32, Jonas Maebe wrote:
-k--print-map
Hmm. And then how to redirect the linker's standard output to a file
named the same as a the source?
You have to manually redirect the output to where you want it to
got. Since linking happens on a per-program/library basis and no
On 02 Mar 2007, at 09:29, Vinzent Hoefler wrote:
man ld -> search for "map" -> there is a "--print-map" option -> tell
FPC to pass this option to ld using FPC's -k option:
-k--print-map
Hmm. And then how to redirect the linker's standard output to a file
named the same as a the source?
You
On 02 Mar 2007, at 09:26, Vincent Snijders wrote:
Jonas Maebe schreef:
On 02 Mar 2007, at 09:03, m utku wrote:
Hello again :), I just forgot to ask; Delphi has an option to
generate a so called "map file" that contains the function
addresses matched with the function names when an executab
On Friday 02 March 2007 08:19, Jonas Maebe wrote:
> On 02 Mar 2007, at 09:03, m utku wrote:
> > Hello again :), I just forgot to ask; Delphi has an option to
> > generate a so called "map file" that contains the function
> > addresses matched with the function names when an executable
> > compiled.
Jonas Maebe schreef:
On 02 Mar 2007, at 09:03, m utku wrote:
Hello again :), I just forgot to ask; Delphi has an option to generate
a so called "map file" that contains the function addresses matched
with the function names when an executable compiled. What would be the
equivalent FPC functi
On 02 Mar 2007, at 09:03, m utku wrote:
Hello again :), I just forgot to ask; Delphi has an option to
generate a so called "map file" that contains the function
addresses matched with the function names when an executable
compiled. What would be the equivalent FPC functionality for this?
Hello again :), I just forgot to ask; Delphi has an option to generate a
so called "map file" that contains the function addresses matched with
the function names when an executable compiled. What would be the
equivalent FPC functionality for this?
Regards,
Utku.
__
Hi all,
I am using an unstable fpc version(2.1.1 -- snapshot from last week).
While debugging my specific project, GDB(6.4 - Debian Sarge) seems to be
wrong about the function locations so I cannot use breakpoints. I'd
guess that this is a fpc bug about generated debug symbols. Is this is a
k
16 matches
Mail list logo