Re: dilemma: /proc/kcore vs (x)kdebug.

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
12 Apr 1999 13:44:25 +0200


Tigran Aivazian <tigran@sco.COM> writes:

|> On 12 Apr 1999, Andreas Schwab wrote:
|> > |> Tigran Aivazian wrote:
|> > |> > 3. Use what all good Linux books recommend: compile with -g and then do
|> > |> > gdb vmlinux /proc/kcore.
|> > |> > (does not work, try it and see).
|> >
|> > What's wrong with using an a.out style kcore? I haven't encountered any
|> > problems yet.
|>
|> The only problem I encountered is mentioned in the brackets above - i.e.
|> it does not work (for me, using latest versions of relevant packages).
|> Indeed, try "p task[1]->comm". It will not work for aout /proc/kcore but
|> works just fine for /proc/kcore_elf.

That works just well for me, but i'd guess that's because the kernel
starts at address 0 on m68k, but != 0 on ix86.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/