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

Tigran Aivazian (tigran@sco.COM)
Mon, 12 Apr 1999 12:39:04 +0100 (BST)


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.

Regards,
Tigran.

-
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/