Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #5492 > unrolled thread

link map

Started by"Bill Cunningham" <nospam@nspam.invalid>
First post2015-07-07 14:36 -0400
Last post2015-07-08 00:55 +0100
Articles 3 — 2 participants

Back to article view | Back to comp.programming


Contents

  link map "Bill Cunningham" <nospam@nspam.invalid> - 2015-07-07 14:36 -0400
    Re: link map "Bill Cunningham" <nospam@nspam.invalid> - 2015-07-07 14:37 -0400
      Re: link map Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-07-08 00:55 +0100

#5492 — link map

From"Bill Cunningham" <nospam@nspam.invalid>
Date2015-07-07 14:36 -0400
Subjectlink map
Message-ID<mnh651$dk4$1@dont-email.me>
    I have read about link maps by a linker. This is old computers though. 
Like PDPs and late 60s and 70s computers. Modern C programming with gcc, 
does it have an equivalant? Would it be the profiler, debugger, linker, or 
something else? This would be for a seg fault or such an error with the OS.

Bill

[toc] | [next] | [standalone]


#5493

From"Bill Cunningham" <nospam@nspam.invalid>
Date2015-07-07 14:37 -0400
Message-ID<mnh67d$dsb$1@dont-email.me>
In reply to#5492
"Bill Cunningham" <nospam@nspam.invalid> wrote in message 
news:mnh651$dk4$1@dont-email.me...
>    I have read about link maps by a linker. This is old computers though. 
> Like PDPs and late 60s and 70s computers. Modern C programming with gcc, 
> does it have an equivalant? Would it be the profiler, debugger, linker, or 
> something else? This would be for a seg fault or such an error with the 
> OS.

    No sorry. I don't mean seg fault. A kernel panic. Busy day.

Bill

[toc] | [prev] | [next] | [standalone]


#5494

FromBen Bacarisse <ben.usenet@bsb.me.uk>
Date2015-07-08 00:55 +0100
Message-ID<87a8v74j6h.fsf@bsb.me.uk>
In reply to#5493
"Bill Cunningham" <nospam@nspam.invalid> writes:

> "Bill Cunningham" <nospam@nspam.invalid> wrote in message 
> news:mnh651$dk4$1@dont-email.me...
>>    I have read about link maps by a linker. This is old computers though. 
>> Like PDPs and late 60s and 70s computers. Modern C programming with gcc, 
>> does it have an equivalant?

It has linker maps.  You can get gcc to pass the right option to the
linker linker like this:

  gcc -Xlinker -Map=prog.map -o prog prog.c

> Would it be the profiler, debugger, linker, or 
>> something else? This would be for a seg fault or such an error with the 
>> OS.
>
>     No sorry. I don't mean seg fault. A kernel panic. Busy day.

There are easier ways to debug the linux kernel but (a) I'm not expert,
and (b) this is not the right group to ask about that.

-- 
Ben.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web