diff options
author | bde <bde@FreeBSD.org> | 1998-07-15 11:27:11 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-15 11:27:11 +0000 |
commit | b17aa4794d69ef7f47c51c673dfc727354733228 (patch) | |
tree | 21c989ccb482d00a44a01b966e41169c9faece60 | |
parent | fab4cc71706ad7899d61db9d45d2a2605d897d49 (diff) | |
download | FreeBSD-src-b17aa4794d69ef7f47c51c673dfc727354733228.zip FreeBSD-src-b17aa4794d69ef7f47c51c673dfc727354733228.tar.gz |
%n in a comment was a poor abbreviation for Immediate-byte-signed,
especially now that %n format has almost gone away.
-rw-r--r-- | sys/amd64/amd64/db_trace.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/db_trace.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/db_trace.c b/sys/amd64/amd64/db_trace.c index c5af5bf..526dba5 100644 --- a/sys/amd64/amd64/db_trace.c +++ b/sys/amd64/amd64/db_trace.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_trace.c,v 1.29 1998/07/08 09:11:43 bde Exp $ + * $Id: db_trace.c,v 1.30 1998/07/08 10:53:58 bde Exp $ */ #include <sys/param.h> @@ -108,7 +108,7 @@ db_numargs(fp) inst = db_get_value((int)argp, 4, FALSE); if ((inst & 0xff) == 0x59) /* popl %ecx */ args = 1; - else if ((inst & 0xffff) == 0xc483) /* addl %n, %esp */ + else if ((inst & 0xffff) == 0xc483) /* addl $Ibs, %esp */ args = ((inst >> 16) & 0xff) / 4; else args = 5; diff --git a/sys/i386/i386/db_trace.c b/sys/i386/i386/db_trace.c index c5af5bf..526dba5 100644 --- a/sys/i386/i386/db_trace.c +++ b/sys/i386/i386/db_trace.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_trace.c,v 1.29 1998/07/08 09:11:43 bde Exp $ + * $Id: db_trace.c,v 1.30 1998/07/08 10:53:58 bde Exp $ */ #include <sys/param.h> @@ -108,7 +108,7 @@ db_numargs(fp) inst = db_get_value((int)argp, 4, FALSE); if ((inst & 0xff) == 0x59) /* popl %ecx */ args = 1; - else if ((inst & 0xffff) == 0xc483) /* addl %n, %esp */ + else if ((inst & 0xffff) == 0xc483) /* addl $Ibs, %esp */ args = ((inst >> 16) & 0xff) / 4; else args = 5; |