Add printf, gdb support, fix gdt
diff --git a/src/descriptor_tables.h b/src/descriptor_tables.h
index d918f4a..6f3fb89 100644
--- a/src/descriptor_tables.h
+++ b/src/descriptor_tables.h
@@ -16,7 +16,7 @@
 			uint a_dpl  : 2;
 			uint a_dt   : 1;
 			uint a_type : 4;
-		};
+		} __attribute__((packed));
 
 		uchar access;
 	};
@@ -29,7 +29,7 @@
 			uint g_d    : 1;
 			uint g_zero : 2; /* includes A */
 			uint g_len  : 4;
-		};
+		} __attribute__((packed));
 		
 		uchar granularity;
 	};
@@ -59,7 +59,7 @@
 			uchar f_p     : 1;
 			uchar f_dpl   : 2;
 			uchar f_const : 5;
-		};
+		} __attribute__((packed));
 		
 		uchar flags;
 	};