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


Groups > comp.programming > #5494

Re: link map

From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.programming
Subject Re: link map
Date 2015-07-08 00:55 +0100
Organization A noiseless patient Spider
Message-ID <87a8v74j6h.fsf@bsb.me.uk> (permalink)
References <mnh651$dk4$1@dont-email.me> <mnh67d$dsb$1@dont-email.me>

Show all headers | View raw


"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.

Back to comp.programming | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web