Article View: gnu.gdb.bug
Article #10093GDB under HPUX 7.0?
From: Tom Lane
Date: Thu, 26 Apr 1990 22:16
Date: Thu, 26 Apr 1990 22:16
23 lines
1710 bytes
1710 bytes
Has anyone gotten GDB 3.5 to work under HPUX 7.0 on series 300 machines? It seemed to work OK under 6.2 (although I hadn't used it much). Under 7.0 it is incapable of reading (and, probably, writing) the saved 68000 registers in the inferior process. Among other problems, this breaks breakpoints (because the retrieved PC is garbage). Plain memory accesses seem to work OK. I traced this as far as finding that read_inferior_register in hp9k320-dep.c tries to extract the registers with a ptrace(PT_RUAREA,...) request with a huge offset. It seems to me that this is fundamentally wrong -- the registers are on the stack somewhere, not in the process user area, aren't they? If they are in fact stored in kernel space, maybe the problem is just that the KERNEL_U_ADDR offset has changed again. A new value (or even better, a version-independent means of obtaining it) would be much appreciated. -- tom lane Internet: tgl@cs.cmu.edu UUCP: <your favorite internet/arpanet gateway>!cs.cmu.edu!tgl BITNET: tgl%cs.cmu.edu@cmuccvma CompuServe: >internet:tgl@cs.cmu.edu
Technical Details
Message-ID:
<9038@pt.cs.cmu.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!zog.cs.cmu.edu!tglShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,f960cdd27c8a3166,start X-Google-Attributes: gidf5053,public X-Google-Thread: 114b0c,f960cdd27c8a3166,start X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1990-04-26 15:16:37 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!zog.cs.cmu.edu!tgl From: tgl@zog.cs.cmu.edu (Tom Lane) Newsgroups: gnu.gdb.bug,comp.sys.hp Subject: GDB under HPUX 7.0? Message-ID: <9038@pt.cs.cmu.edu> Date: 26 Apr 90 22:16:37 GMT Organization: Carnegie-Mellon University, CS/RI Lines: 23 Posted: Thu Apr 26 23:16:37 1990