Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140916 Details for
Bug 193699
dev-util/mono-debugger-0.50 does not compile on AMD64 - asm/user.h is not on my machine
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add x86_64 structs formerly present at asm/user.h
mono-debugger-kernel-2.6.19-fix-x86_64-asm.patch (text/plain), 1.61 KB, created by
Jan Oravec
on 2008-01-14 08:01:19 UTC
(
hide
)
Description:
Add x86_64 structs formerly present at asm/user.h
Filename:
MIME Type:
Creator:
Jan Oravec
Created:
2008-01-14 08:01:19 UTC
Size:
1.61 KB
patch
obsolete
>--- backend/server/x86_64-arch.h.old 2008-01-14 08:44:09.000000000 +0100 >+++ backend/server/x86_64-arch.h 2008-01-14 08:50:27.000000000 +0100 >@@ -2,12 +2,70 @@ > #define __MONO_DEBUGGER_X86_86_ARCH_H__ > > #include <glib.h> >+#include <asm/types.h> >+#include <linux/version.h> > > G_BEGIN_DECLS > > #if defined(__x86_64__) > >+/* >+ * added because gentoo linux headers >+ * no longer include asm-x86_64/user.h >+ */ >+ >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) >+ >+struct user_i387_struct { >+ unsigned short cwd; >+ unsigned short swd; >+ unsigned short twd; >+ unsigned short fop; >+ __u64 rip; >+ __u64 rdp; >+ __u32 mxcsr; >+ __u32 mxcsr_mask; >+ __u32 st_space[32]; >+ __u32 xmm_space[64]; >+ __u32 padding[24]; >+}; >+ >+struct user_regs_struct { >+ unsigned long r15,r14,r13,r12,rbp,rbx,r11,r10; >+ unsigned long r9,r8,rax,rcx,rdx,rsi,rdi,orig_rax; >+ unsigned long rip,cs,eflags; >+ unsigned long rsp,ss; >+ unsigned long fs_base, gs_base; >+ unsigned long ds,es,fs,gs; >+}; >+ >+struct user{ >+ struct user_regs_struct regs; >+ int u_fpvalid; >+ int pad0; >+ struct user_i387_struct i387; >+ unsigned long int u_tsize; >+ unsigned long int u_dsize; >+ unsigned long int u_ssize; >+ unsigned long start_code; >+ unsigned long start_stack; >+ long int signal; >+ int reserved; >+ int pad1; >+ struct user_pt_regs * u_ar0; >+ struct user_i387_struct* u_fpstate; >+ unsigned long magic; >+ char u_comm[32]; >+ unsigned long u_debugreg[8]; >+ unsigned long error_code; >+ unsigned long fault_address; >+}; >+ >+#else > #include <asm/user.h> >+#endif >+ >+/* end added structs */ > > #define INFERIOR_REGS_TYPE struct user_regs_struct > #define INFERIOR_FPREGS_TYPE struct user_i387_struct
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193699
:
131814
|
132339
| 140916