| 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
John R.Shannon
2003-10-28 23:00:24 UTC
Responsible Changed From-To: freebsd-ports-bugs->mp Over to maintainer of gbd53. State Changed From-To: open->feedback Maintainer, has there been any progress on this one? >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++) Responsible Changed From-To: mp->obrien Assign to new maintainer. State Changed From-To: feedback->open Since this PR was reassigned, the previous state of 'feedback' is OBE. State Changed From-To: open->closed The change in this PR was committed as part of ports/66832. Responsible Changed From-To: obrien->lawrance Mine |