From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Frank Ch. Eigler" To: Ben Elliston Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Patch for cgen_rtx_error() Date: Sun, 08 Oct 2000 14:52:00 -0000 Message-id: <20001008175210.B27022@redhat.com> References: <20001007215114.D31946@redhat.com> X-SW-Source: 2000-10/msg00030.html Hi - On Mon, Oct 09, 2000 at 08:31:50AM +1100, Ben Elliston wrote: > [...] > Without making assumptions about the architecture of any given port, what > are you proposing that I pass for the `pc' argument to sim_engine_halt? > It's wrong to assume that GET_H_PC() and friends will be present. You could use CIA_GET() or else NULL_CIA. - FChE -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE54OyKVZbdDOm/ZT0RAnDhAJ4r0ccJq7yoyrzGig/4kZFd2KNREgCggJdS DXYB3C65p7mkPat9g84qxFo= =bFgf -----END PGP SIGNATURE----- >From bje@redhat.com Sun Oct 08 15:56:00 2000 From: Ben Elliston To: "Frank Ch. Eigler" Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Patch for cgen_rtx_error() Date: Sun, 08 Oct 2000 15:56:00 -0000 Message-id: References: <20001008175210.B27022@redhat.com> X-SW-Source: 2000-10/msg00031.html Content-length: 428 On Mon, Oct 09, 2000 at 08:31:50AM +1100, Ben Elliston wrote: > [...] > Without making assumptions about the architecture of any given port, what > are you proposing that I pass for the `pc' argument to sim_engine_halt? > It's wrong to assume that GET_H_PC() and friends will be present. You could use CIA_GET() or else NULL_CIA. I've made this suggested change and checked it into sim/common. Ben