Bug 58655

Summary: A replacement patch is necessary for devel/gdb53-act compilation on sparc
Product: Ports & Packages Reporter: John R.Shannon <john>
Component: Individual Port(s)Assignee: Sam Lawrance <lawrance>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description John R.Shannon 2003-10-28 23:00:24 UTC
	A build problem on sparc64 was reported. A comparison of the patches in this
	port with those in devel/gdb53 showed one difference that is relevent to
	sparc64.

Fix: Replacement for ports/devel/gdb53-act/files/patch-gdb_kvm-fbsd.c follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2003-10-29 09:33:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mp

Over to maintainer of gbd53.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-06-25 00:40:57 UTC
State Changed
From-To: open->feedback

Maintainer, has there been any progress on this one?
Comment 3 John R.Shannon 2004-06-30 20:41:20 UTC
>Submitter-Id:	current-users
>Originator:	john@johnrshannon.com
>Organization:	SAIC
>Confidential:	no 
>Synopsis:	Re: ports/58655: A replacement patch is necessary for compilation on sparc
>Severity:	serious
>Priority:	medium
>Category:	ports
>Class:		maintainer-update
>Release:	FreeBSD 5.2.1-RELEASE-p8 i386
>Environment:
System: FreeBSD pablo.internal.johnrshannon.com 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #4: Fri Jun 25 16:17:41 MDT 2004 root@pablo.internal.johnrshannon.com:/usr/obj/usr/src/sys/MYKERNEL i386


>Description:
	A build problem on sparc64 was reported. A comparison of the patches in this
        port with those in devel/gdb53 showed one difference that is relevent to
        sparc64.
>How-To-Repeat:
	
>Fix:

--- patch-gdb_kvm-fbsd.c        Fri Jun 25 06:03:42 2004
+++ patch-gdb_kvm-fbsd.c.BAK    Fri Jun 25 06:03:35 2004
@@ -526,9 +526,9 @@
 +   *     the last context switch to the debugger.
 +   * XXX do something with the floating-point registers?
 +   */
-+  supply_register (SP_REGNUM, &pcbp->pcb_sp);
++  supply_register (SP_REGNUM, &pcbp->pcb_fp);
 +  supply_register (PC_REGNUM, &pcbp->pcb_pc);
-+  f_addr = extract_address (&pcbp->pcb_sp, SPARC_INTREG_SIZE);
++  f_addr = extract_address (&pcbp->pcb_fp, SPARC_INTREG_SIZE);
 +  /* Load the previous frame by hand (XXX) and supply it. */
 +  read_memory (f_addr + SPOFF, (char *)&top, sizeof (top));
 +  for (i = 0; i < 8; i++)
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2005-04-04 03:43:18 UTC
Responsible Changed
From-To: mp->obrien

Assign to new maintainer.
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2005-04-04 04:31:58 UTC
State Changed
From-To: feedback->open

Since this PR was reassigned, the previous state of 'feedback' is OBE.
Comment 6 Sam Lawrance freebsd_committer freebsd_triage 2005-12-16 13:04:43 UTC
State Changed
From-To: open->closed

The change in this PR was committed as part of ports/66832. 


Comment 7 Sam Lawrance freebsd_committer freebsd_triage 2005-12-16 13:04:43 UTC
Responsible Changed
From-To: obrien->lawrance

Mine