Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.programming Subject: Re: link map Date: Wed, 08 Jul 2015 00:55:18 +0100 Organization: A noiseless patient Spider Lines: 24 Message-ID: <87a8v74j6h.fsf@bsb.me.uk> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="19152"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JzegKDy2iwYlrWIFvSzUzXJez06KITEk=" Cancel-Lock: sha1:ydCk3Fkb3kc+IHv/lc3WQPz5G5g= sha1:n0bjq8kiMnoV1iLitNZBwwjRcII= X-BSB-Auth: 1.300fda33229e5bdeeb52.20150708005518BST.87a8v74j6h.fsf@bsb.me.uk Xref: csiph.com comp.programming:5494 "Bill Cunningham" writes: > "Bill Cunningham" 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.