linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* debugging problems
@ 2000-06-13  8:08 Stefan Berndtsson
  2000-06-16 16:08 ` Josh Huber
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Berndtsson @ 2000-06-13  8:08 UTC (permalink / raw)
  To: linuxppc-dev


How do I get a debugger to work with 2.3.99/2.4.0 kernels?

I can't get gdb to run anything.

$ gdb ./a.out
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu"...
(gdb) run
Starting program: /home/stefan/mud/cdp/./a.out
Cannot insert breakpoint -1:
Cannot access memory at address 0xffffbc57.
(gdb)

that's all I get.

Has something changed with PTRACE in 2.3.99/2.4?

/Stefan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: debugging problems
  2000-06-13  8:08 debugging problems Stefan Berndtsson
@ 2000-06-16 16:08 ` Josh Huber
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Huber @ 2000-06-16 16:08 UTC (permalink / raw)
  To: Stefan Berndtsson; +Cc: linuxppc-dev


On Tue, Jun 13, 2000 at 10:08:28AM +0200, Stefan Berndtsson wrote:
>
> How do I get a debugger to work with 2.3.99/2.4.0 kernels?
>
> I can't get gdb to run anything.
>
> $ gdb ./a.out
> GNU gdb 4.18
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "powerpc-unknown-linux-gnu"...
> (gdb) run
> Starting program: /home/stefan/mud/cdp/./a.out
> Cannot insert breakpoint -1:
> Cannot access memory at address 0xffffbc57.
> (gdb)
>
> that's all I get.
>
> Has something changed with PTRACE in 2.3.99/2.4?

from ac@lkml:
> I was able to get ac15 to boot and run fine for about 18hrs crunching rc5 keys on a
> DS20.  Then I tried to update to ac17 and it won't compile any more. I get the
> following error with ac17:

All the non x86 platforms got broken by the ptrace change. This fixes an ugly
kernel race and needs asm level changes for the other platforms. Painful
but important to do.

Alan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-16 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-13  8:08 debugging problems Stefan Berndtsson
2000-06-16 16:08 ` Josh Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).