diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-07-15 11:27:11 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-07-15 11:27:11 +0000 |
| commit | 0fc3927d33ec541577cc93f7e277135d97a47a38 (patch) | |
| tree | d075c3696b2477462e358c62237eea6e3ca547d6 | |
| parent | 51d5e97efa7e154751b7c02c16fbb3b2176567a3 (diff) | |
Notes
| -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 c5af5bfd9cc79..526dba576a239 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 c5af5bfd9cc79..526dba576a239 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; |
