summaryrefslogtreecommitdiff
path: root/gdb/tm-rs6000.h
Commit message (Collapse)AuthorAgeFilesLines
* * nm-*, xm-*, tm-*: All native, host, and target files, whichFred Fish1993-03-231-584/+0
| | | | | | | | | get linked to nm.h, xm.h, and tm.h respectively by configure, moved to appropriate config/<cpu> subdirectory. * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h: Native, host, and target files that are common across more than one cpu architecture and included by one of the configured native, host, or target files, get moved to config directory.
* nuke no-op STAB_REG_TO_REGNUMJim Kingdon1993-03-191-4/+0
|
* Fri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)Jim Kingdon1993-03-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | * xcoffread.c (retrieve_tracebackinfo): Move assignment out of while condition. * xcoffread.c (enter_line_range): complain() on bad endoffset. xcoffread.c: Doc fixes. Tue Mar 9 09:56:12 1993 Jim Kingdon (kingdon@cygnus.com) * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core. xcoffexec.c (xcoff_relocate_core): New function. (text_adjustment): Removed. (add_vmap): Return the vmap. rs6000-tdep.c (add_text_to_loadinfo): No longer static. Fri Mar 5 05:22:46 1993 Jim Kingdon (kingdon@cygnus.com) * xcoffsolib.h: Add objfile member to struct vmap. xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd. xcoffexec.c (add_vmap): Allocate objfiles here.
* Remove remnants of NAMES_HAVE_UNDERSCORE.John Gilmore1993-02-251-5/+0
|
* * hp300ux-nat.c: Update copyrights.John Gilmore1993-02-021-31/+1
| | | | | | | | | | * mipsread.c (parse_partial_symbols): Complain about block indexes that go backwards. Fix from Peter Schauer. * symfile.c (syms_from_objfile, symbol_file_add): Allow a symbol-file that has no linkage symbols to be read. * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move from tm- file to xm-file, since they're host dependent. * valarith.c (value_binop): Typo.
* Tue Nov 17 11:17:06 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1992-11-171-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | * tm-rs6000.h (BELIEVE_PCC_PROMOTION): Define, since AIX cc gets it right. (aix_framedata): added nosavedpc field. (SAVED_PC_AFTER_CALL): Don't try to optimize; just call read_register. (FRAMELESS_FUNCTION_INVOCATION): Pass second argument of 0. (FRAME_SAVED_PC): If PC not saved, use SAVED_PC_AFTER_CALL. * rs6000-tdep.c (skip_prologue): Handle gcc generated stfd instructions as function_frame_info does. Expand special case of st r31,-4(r1) to be st r31,NUM(r1), since gcc can generate offsets other than -4. (pop_frame): Add 4 rather than sizeof (int) to avoid host dependence. (function_frame_info): Set frameless if the function has no frame, and set nosavedpc if the PC was not saved. Handle gcc generated stfd 31,-4(31); st 31, -12(31) correctly. (frameless_function_invocation): New second argument pcsaved; if 0 return whether the function has a frame, if 1 return whether the function saved PC. (frame_initial_stack_address): Correct typo: cache registers for callee_fi, not for fi, (avoids reading garbage memory locations).
* * tm-rs6000.h (AIX_BUGGY_PTRACE_CALL): Zap, we think we fixed it.John Gilmore1992-09-181-14/+0
| | | | | | | | Rich and I believe the "real problem" was that both single_step and target_resume were issuing PT_CONTINUE calls. This would cause the second PT_CONTINUE to sometimes fail because the process was already running. * infptrace.c (child_resume): Remove AIX_BUGGY_PTRACE_CALL kludge.
* Minor bug fixes from last big checkin.John Gilmore1992-08-291-37/+40
|
* RS/6000 portability changes (for hosting cross-debuggers).John Gilmore1992-08-291-16/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * Makefile.in (VERSION): Bump to 4.5.6.Fred Fish1992-06-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * coffread.c (coff_end_symtab): Cast 2nd arg of complain() to correct type. * defs.h (NORETURN): Define away for Lucid compiler. * remote.c (remote_timer, remote_interrupt): Signal handlers take one int arg. * ser-termios.c (serial_write, serial_close): Return whatever value the write/close call returns, rather than falling off end. * inferior.h (PTRACE_ARG3_TYPE): Third arg to ptrace is int on more systems than it is "char *". Define PTRACE_ARG3_TYPE to default to int. * infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c, inferior.h (call_ptrace): Use PTRACE_ARG3_TYPE to declare type of third arg. * a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c, m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c, pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c, symm-xdep.c, ultra3-xdep.c: Use PTRACE_ARG3_TYPE to cast ptrace argument 3. * sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers, store_inferior_registers): Supply missing fourth argument to ptrace().
* * tm-rs6000.h: Remove #include of inferior.h. Fixes manyStu Grossman1992-06-171-2/+0
| | | | compilation errors.
* Small changes from Solaris port. The big stuff is not all working yet.John Gilmore1992-06-111-2/+1
| | | | | | | | | | * inferior.h (register_valid): Declare. * remote-udi.c, rs6000-xdep.c, sparc-xdep.c, tm-rs6000.h: Remove decl. * objfiles.h (ALL_OBJFILE_{SYMTABS,PSYMTABS,MSYMBOLS}): Add macros for traversing the data structures in a single objfile. * tm-m88k.h, tm-sparc.h (REGISTER_NAMES): Remove extra semicolon. * tm-i960.h (REGISTER_NAMES): Cosmetic change. * infcmd.c: Lint.
* * tm-irix3.h: Re-define CPLUS_MARKER to '.'.Per Bothner1992-05-061-0/+5
| | | | | * xm-rs6000.h, tm-rs6000.h: Move re-definition of CPLUS_MARKER from former to latter.
* * munch: Must pre-pend "_" to "initialize" for SYSV style nm.Per Bothner1992-04-031-17/+7
| | | | | | * 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.
* Merged in latest RS6000 diffs from Metin G. Ozisik.Per Bothner1992-03-291-9/+63
|
* Many changes, most related to creating entry point information on a per-objfileFred Fish1992-03-211-8/+2
| | | | | | basis. See comments in objfiles.h and details in ChangeLog. Also remove redundant definitions of FRAME_CHAIN_VALID from most of the tm-* files and use a default definition in frame.h.
* * solib.h, infrun.c, tm-rs6000.h: Add a PID parameterPer Bothner1992-03-121-2/+2
| | | | to SOLIB_CREATE_INFERIOR_HOOK macro.
* More changes, mostly from IBM for rs6000. (See ChangeLog.)Per Bothner1992-03-021-16/+48
|
* More changes, mostly from IBM, for the rs6000. See ChangeLog.Per Bothner1992-03-011-3/+45
|
* Mostly rs6000 changes from IBM.Per Bothner1992-02-291-9/+79
|
* Remove tdesc stuff. Remove FRAME_CHAIN_COMBINE from all tm-*.h files,John Gilmore1991-11-181-7/+1
| | | | since it was always defined exactly the same in all of them.
* * rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h,John Gilmore1991-11-121-0/+461
xm-rs6000.h: New files. * xcoffexec.c: New file for handling AIX shared libraries.