summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-14 11:26:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-15 02:18:46 +0100
commit02755a6b57e24d381563c48f382a646a4be007ae (patch)
tree96178a2a9b4850c79497bbc7ef18434eb10ae882 /i386
parent7971421a97901669d88a710fd934d177230da4fb (diff)
i386/i386/db_trace.c: remove register qualifiers
* i386/i386/db_trace.c: Remove register qualifiers.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/db_trace.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/i386/i386/db_trace.c b/i386/i386/db_trace.c
index 4e3bea3..151d90a 100644
--- a/i386/i386/db_trace.c
+++ b/i386/i386/db_trace.c
@@ -115,7 +115,7 @@ db_lookup_i386_kreg(
char *name,
int *kregp)
{
- register struct i386_kregs *kp;
+ struct i386_kregs *kp;
for (kp = i386_kregs; kp->name; kp++) {
if (strcmp(name, kp->name) == 0)
@@ -133,7 +133,7 @@ db_i386_reg_value(
{
long *dp = 0;
db_expr_t null_reg = 0;
- register thread_t thread = ap->thread;
+ thread_t thread = ap->thread;
extern unsigned int_stack_high;
if (db_option(ap->modif, 'u')) {
@@ -343,8 +343,8 @@ db_stack_trace_cmd(
thread_t th;
{
- register char *cp = modif;
- register char c;
+ char *cp = modif;
+ char c;
while ((c = *cp++) != 0) {
if (c == 't')
@@ -381,7 +381,7 @@ db_stack_trace_cmd(
return;
}
if ((th->state & TH_SWAPPED) || th->kernel_stack == 0) {
- register struct i386_saved_state *iss = &th->pcb->iss;
+ struct i386_saved_state *iss = &th->pcb->iss;
db_printf("Continuation ");
db_task_printsym((db_expr_t)th->swap_func,
@@ -392,7 +392,7 @@ db_stack_trace_cmd(
frame = (struct i386_frame *) (iss->ebp);
callpc = (db_addr_t) (iss->eip);
} else {
- register struct i386_kernel_state *iks;
+ struct i386_kernel_state *iks;
iks = STACK_IKS(th->kernel_stack);
frame = (struct i386_frame *) (iks->k_ebp);
callpc = (db_addr_t) (iks->k_eip);
@@ -445,7 +445,7 @@ db_i386_stack_trace(
lastframe = 0;
while (count-- && frame != 0) {
- register int narg;
+ int narg;
char * name;
db_expr_t offset;