PERFORCE change 54704 for review
Marcel Moolenaar
marcel at FreeBSD.org
Sat Jun 12 06:55:13 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=54704
Change 54704 by marcel at marcel_nfs on 2004/06/12 06:54:21
Remove prototype of gdb_cpu_frame() again. We should not
read the trapframe and dereference it locally, because
we use kvm_read to get the registers. We only have to
store the frame pointer...
Affected files ...
.. //depot/projects/gdb/usr.bin/kgdb/kgdb.h#5 edit
Differences ...
==== //depot/projects/gdb/usr.bin/kgdb/kgdb.h#5 (text+ko) ====
@@ -27,15 +27,10 @@
#ifndef _KGDB_H_
#define _KGDB_H_
-struct trapframe;
-struct thread;
-
extern char *gdb_rxp;
extern size_t gdb_rxsz;
extern char *gdb_txp;
-struct trapframe *gdb_cpu_frame(struct thread *);
-
void gdb_packet_data(const char *, size_t);
int gdb_packet_recv(char *, size_t);
int gdb_packet_send(const char *, size_t);
@@ -111,6 +106,8 @@
extern kvm_t *kvm;
+struct trapframe;
+
struct kthr {
struct kthr *next;
uintptr_t kaddr;
More information about the p4-projects
mailing list