Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by John R. Levine
Mon, 18 Sep 1989 15:04
Changes to gdb 3.2 for SysV 386
Author: John R. Levine
Date: Mon, 18 Sep 1989 15:04
Date: Mon, 18 Sep 1989 15:04
26 lines
1776 bytes
1776 bytes
I found that I had to make a few changes to the distrbuted gdb in order to
make it on 386/ix 2.0.x, which is essentially SysV 3.2. One of the fields
in the u. block has changed its name, and there is an ifdef confusion due
to the system having a lot of v7 ioctl calls that it inherited via Xenix.
********** i386-dep.c ***********
1175c1175,1176
< uaddr = (char *)&u.u_fpstate - (char *)&u;
---
> /* uaddr = (char *)&u.u_fpstate - (char *)&u; */
> uaddr = (char *)&u.u_fps.u_fpstate - (char *)&u;
********** inflow.c ***********
43a44
> #undef TIOCGETC /* jrl: avoid confusion on Unix/xenix merged sys */
In readline/readline.c, you need to remove the declarations for getpwuid() and
getpwent(), because they conflict with the ones in system headers, and you
also need to remove the "static" before the declaration of rl_prep_terminal.
It works reasonably well, though it complains that some of the it
doesn't understand some of the symbol table entries it gets from gcc,
a problem I have yet to track down. Nonetheless, it's quite usable as is.
--
John R. Levine, Segue Software, POB 349, Cambridge MA 02238, +1 617 492 3869
johnl@esegue.segue.boston.ma.us, {ima|lotus}!esegue!johnl, Levine@YALE.edu
Massachusetts has 64 licensed drivers who are over 100 years old. -The Globe
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads