John Gilmore
82eabd43a8
* config/rs6000.mh (MH_CFLAGS): Circumvent IBM <rpc/rpc.h> bug,
...
for files in vx-share/*.c.
* xm-rs6000.h (fd_set): Circumvent the rs6000.mh circumvention,
for normal GDB source files.
1992-09-03 00:55:04 +00:00
John Gilmore
9b280a7f53
RS/6000 portability changes (for hosting cross-debuggers).
...
* breakpoint.c (fixup_breakpoints): Re-kludge to IBM6000_TARGET.
* buildsym.c, rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h,
xcoffexec.c, xcoffread.c: Rename aixcoff to xcoff everywhere.
* printcmd.c (print_frame_args): Remove an RS/6000 dependency.
* stabsread.c (define_symbol): Remove RS/6000 dependencies.
* tm-rs6000.h (ATTACH_DETACH): Remove: host-dependent.
(PTRACE_ATTACH, PTRACE_DETACH): Remove: host-dep.
(NO_SINGLE_STEP): Add, target-dependent.
(loadinfotextindex): Lowercase, remove "aix_".
* xm-rs6000.h: Add <sys/ptrace.h> for infptrace.c.
(NO_SINGLE_STEP): Remove, target-dependent.
* xcoffexec.c (vmap_symtab): Cleanup #if 0'd code.
* xcoffread.c: Only build file if RS/6000 native GDB.
(build_function_symbol): Remove #if 0'd code.
* rs6000-tdep.c: Cleanup. Add static fn protos.
Use CORE_ADDR for addresses throughout. Make void fns void.
(pop_dummy_frame): Add FIXME about bogosity of design here.
(rs6000_struct_return_address): Ditto.
(frameless_function_invocation, frame_get_cache_fsr,
frame_initial_stack_address, xcoff_relocate_symtab,
xcoff_init_loadinfo, free_loadinfo, xcoff_add_toc_to_loadinfo,
add_text_to_loadinfo, find_toc_address): Move from xdep file.
Use CORE_ADDRs. Change identifiers to lowercase.
* rs6000-xdep.c: Make whole file conditional on native RS/6000,
supplying dummy routines if non-native. Add prototype for
static exec_one_dummy_insn. Move a mess of functions to
rs6000-tdep.c (as above). Remove #if 0'd code.
* config/rs6000.mh (XDEPFILES): Move xcoffexec.o to target side.
(XM_CLIBS): Add -lm to circumvent AIX 3.2 libc ldexp bug.
* config/rs6000.mt (TDEPFILES): Adopt xcoffexec.o.
1992-08-29 00:32:58 +00:00
Ian Lance Taylor
0d6d92c707
Wed Aug 19 10:23:27 1992 Ian Lance Taylor (ian@cygnus.com)
...
* remote-vx.c: redefine malloc to avoid buggy declaration on
RS/6000 <rpc/types.h>.
xm-rs6000.h: include <sys/select.h> to define fd_set for
<rpc/svc.h> on RS/6000.
1992-08-19 17:26:47 +00:00
David D. Zuhn
37e2f5cb8d
> * xm-rs6000.h: define MEM_FNS_DECLARED
1992-07-04 14:17:13 +00:00
Stu Grossman
9aa448333d
* Makefile.in (c-exp.tab.c, m2-exp.tab.c): Filter out bogus extern
...
declarations of malloc/realloc/free that are inserted by some
versions of yacc.
* m2-exp.y: Prevent conflicts with TRUE and FALSE tokens by
#undeffing them.
* xm-rs6000.h: Declare malloc/realloc/free appropriately. Yet
another decl of strdup (this really ought to come from libiberty.h!).
1992-06-19 22:39:44 +00:00
Stu Grossman
7634ebc804
* xm-rs6000.h: Fix decls for malloc, realloc, and free.
1992-06-18 00:10:11 +00:00
Stu Grossman
826f73d0cf
* xm-rs6000.h: Add decl for strdup().
1992-06-17 23:56:30 +00:00
Per Bothner
ba2c9027ca
* tm-irix3.h: Re-define CPLUS_MARKER to '.'.
...
* xm-rs6000.h, tm-rs6000.h: Move re-definition of CPLUS_MARKER
from former to latter.
1992-05-06 21:37:51 +00:00
Per Bothner
556f3d9029
* munch: Must pre-pend "_" to "initialize" for SYSV style nm.
...
* tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h:
Merge in more patches for rs6000 from Metin Ozisik.
* utils.c: Fix typo in comment.
1992-04-03 20:25:57 +00:00
Per Bothner
1eeba68641
Merged in latest RS6000 diffs from Metin G. Ozisik.
1992-03-29 22:33:35 +00:00
Per Bothner
6c6afbb92b
More changes, mostly from IBM for rs6000. (See ChangeLog.)
1992-03-02 01:55:31 +00:00
Per Bothner
818de002b6
Mostly rs6000 changes from IBM.
1992-02-29 06:03:43 +00:00
John Gilmore
41abdfbd2d
* rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h,
...
xm-rs6000.h: New files.
* xcoffexec.c: New file for handling AIX shared libraries.
1991-11-12 15:50:47 +00:00