Re: PT_* vs. struct pt_regs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 11 Jan 2007, Geert Uytterhoeven wrote:

Does anyone know why the PT_* definitions in include/asm-m68k/ptrace.h:

The comment in <asm/user.h> might help, it matches user_regs_struct and 
this is the layout gdb expects (e.g. for core dumps or kgdb support).

Hmm, upon closer look, there are more conflicts between
<asm/asm-offsets.h> and other header files, and
arch/m68k/kernel/ptrace.c does need some of the PT_* definitions from
<asm/ptrace.h>, so I can't just kill them. I guess I'll have to rename the
conflicting ones in asm-offsets.

asm-offsets.h was never intended to be included into C sources, I played 
with it once too and had the same problems and it quickly became too ugly, 
so I prefered to drop this approach.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux