possible world breakage warning..

2002-02-11 Thread Julian Elischer


there may be greakage in gdb due th the commit today..
I'm waiting for my buildworld to get sround to it so I can test my fix..

julian



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: possible world breakage warning..

2002-02-11 Thread Julian Elischer



On Thu, 7 Feb 2002, Julian Elischer wrote:

> 
> there may be greakage in gdb due th the commit today..
> I'm waiting for my buildworld to get sround to it so I can test my fix..
> 
> julian


the fix I am looking at testing is:
Index: i386/kvm-fbsd.c
===
RCS file: /usr/home/cvs/src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c,v
retrieving revision 1.33
diff -u -r1.33 kvm-fbsd.c
--- i386/kvm-fbsd.c 2001/12/12 21:15:30 1.33
+++ i386/kvm-fbsd.c 2002/02/08 02:36:43
@@ -387,9 +387,12 @@
  int regno;
 {
   struct pcb *pcbaddr;
+  struct thread *td;
 
   /* find the pcb for the current process */
-  if (cur_proc == NULL || kvread (&cur_proc->p_thread.td_pcb,
&pcbaddr)) /* XXXKSE */
+  if (cur_proc == NULL ||
+   kvread (&TAILQ_FIRST(&cur_proc->p_threads), &td) || /* XXXKSE */
+   kvread (&td->td_pcb, &pcbaddr)) /* XXXKSE */
 error ("cannot read u area ptr for proc at %#x", cur_proc);
   if (read_pcb (core_kd, (CORE_ADDR)pcbaddr) < 0)
 error ("cannot read pcb at %#x", pcbaddr);


in the gdb sources but haven't managed to test it yet.
due to other breakages..

> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: possible world breakage warning..

2002-02-07 Thread Julian Elischer



On Thu, 7 Feb 2002, Julian Elischer wrote:

> 
> there may be greakage in gdb due th the commit today..
> I'm waiting for my buildworld to get sround to it so I can test my fix..
> 
> julian


the fix I am looking at testing is:
Index: i386/kvm-fbsd.c
===
RCS file: /usr/home/cvs/src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c,v
retrieving revision 1.33
diff -u -r1.33 kvm-fbsd.c
--- i386/kvm-fbsd.c 2001/12/12 21:15:30 1.33
+++ i386/kvm-fbsd.c 2002/02/08 02:36:43
@@ -387,9 +387,12 @@
  int regno;
 {
   struct pcb *pcbaddr;
+  struct thread *td;
 
   /* find the pcb for the current process */
-  if (cur_proc == NULL || kvread (&cur_proc->p_thread.td_pcb,
&pcbaddr)) /* XXXKSE */
+  if (cur_proc == NULL ||
+   kvread (&TAILQ_FIRST(&cur_proc->p_threads), &td) || /* XXXKSE */
+   kvread (&td->td_pcb, &pcbaddr)) /* XXXKSE */
 error ("cannot read u area ptr for proc at %#x", cur_proc);
   if (read_pcb (core_kd, (CORE_ADDR)pcbaddr) < 0)
 error ("cannot read pcb at %#x", pcbaddr);


in the gdb sources but haven't managed to test it yet.
due to other breakages..

> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



possible world breakage warning..

2002-02-07 Thread Julian Elischer


there may be greakage in gdb due th the commit today..
I'm waiting for my buildworld to get sround to it so I can test my fix..

julian



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message