Date: Sat, 12 Jun 2004 06:54:51 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 54704 for review Message-ID: <200406120654.i5C6spfc090091@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=54704 Change 54704 by marcel@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406120654.i5C6spfc090091>