From 7ff3366e739b4ae3665e0815d836be24dfec316d Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 10 May 2000 01:06:39 +0000 Subject: [PATCH] Do not specify the size to move. Allow the assembler to figure it out. --- sys/amd64/amd64/db_interface.c | 2 +- sys/i386/i386/db_interface.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/db_interface.c b/sys/amd64/amd64/db_interface.c index 839d9b7c603d..b3dd2922d6f2 100644 --- a/sys/amd64/amd64/db_interface.c +++ b/sys/amd64/amd64/db_interface.c @@ -59,7 +59,7 @@ static jmp_buf db_global_jmpbuf; static int db_global_jmpbuf_valid; #ifdef __GNUC__ -#define rss() ({u_short ss; __asm __volatile("movl %%ss,%0" : "=r" (ss)); ss;}) +#define rss() ({u_short ss; __asm __volatile("mov %%ss,%0" : "=r" (ss)); ss;}) #endif /* diff --git a/sys/i386/i386/db_interface.c b/sys/i386/i386/db_interface.c index 839d9b7c603d..b3dd2922d6f2 100644 --- a/sys/i386/i386/db_interface.c +++ b/sys/i386/i386/db_interface.c @@ -59,7 +59,7 @@ static jmp_buf db_global_jmpbuf; static int db_global_jmpbuf_valid; #ifdef __GNUC__ -#define rss() ({u_short ss; __asm __volatile("movl %%ss,%0" : "=r" (ss)); ss;}) +#define rss() ({u_short ss; __asm __volatile("mov %%ss,%0" : "=r" (ss)); ss;}) #endif /*