aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-07-15 * m88k.h: Corrected a couple of opcodes.Ian Lance Taylor2-0/+591
1993-07-15 * dis-asm.h: Added declaration of print_insn_m88k.Ian Lance Taylor2-4/+31
1993-07-15 * m88k-dis.c: New file, moved in from gdb and changed to use theIan Lance Taylor4-2/+334
new dis-asm.h disassembler interface. * Makefile.in (DIS_LIBS): Added m88k-dis.o. (m88k-dis.o): New target.
1993-07-15Add m88k-coff target Makefile fragment.Ian Lance Taylor2-0/+3
1993-07-15 * m88k.h (OMAGIC): Define.Ian Lance Taylor2-0/+227
(union external_auxent): Move x_fcn back inside x_fcnary. ({GET,PUT}_FCN_{LNNOPTR,ENDNDX}): Adjust accordingly.
1993-07-15 * Preliminary support for m88k-coff.Ian Lance Taylor8-19/+252
* configure.in (m88k-*-coff*): New target. Use coffbfd and m88kcoff. * config/m88kcoff.mt: New file. * read.c (lex_type): New macro LEX_AT to set lex type of '@'. (pseudo_set): Handle difference of symbols in different fragments by saving the entire expression as the value of the symbol. * symbols.c (resolve_symbol_value): Resolve difference expressions. * config/obj-coffbfd.c (obj_pseudo_table): If TC_M88K, accept "sdef" as a synonym for "def". * config/obj-coffbfd.h: If TC_M88K, include coff/m88k.h and set TARGET_FORMAT. (S_IS_LOCAL): Any symbol which includes \001 in the name is local. * config/tc-m88k.c, config/tc-m88k.h: Numerous changes to bring m88k port up to date, and to add COFF support.
1993-07-15 * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,Jim Kingdon1-0/+6
pass the sp relative to the frame in question, not the sp in the innermost frame.
1993-07-15* attach.c, detach.c: Include <sys/types.h> before <fcntl.h>.Jim Kingdon1-0/+12
1993-07-15 * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we haveJim Kingdon1-1/+1
already checked the first characters.
1993-07-15 * mipsread.c (parse_procedure): Take as argument the symtab to lookJim Kingdon2-63/+64
the name up in. Look it up with mylookup_symbol, not lookup_symbol. (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
1993-07-15 * mipsread.c (psymtab_to_symtab_1, parse_procedure): For stabs,Jim Kingdon2-47/+68
save the indices of the MIPS_EFI_SYMBOL_NAME symbol rather than looking them up by the names of the functions. * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have already checked the first characters.
1993-07-15 * ldfile.c (ldlang_open_file, ldfile_open_command_file),David MacKenzie3-48/+68
main.c (main): Print the errno string in the error message.
1993-07-14* printcmds.exp: Add another printf test.Jim Kingdon1-2/+6
1993-07-14xJim Kingdon1-1/+1
1993-07-14 Changes from Jeffrey Law:Jim Kingdon3-14/+48
* printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define machine dependent fields in the makeva_list structure. (makeva_size): Allocate extra space to handle gaps made by alignment restrictions. * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define. (MAKEVA_START): Initialize arglist_address field. (MAKEVA_ARG): Always store arguments on natural alignment boundaries. Set arglist_address to the address right after the args. (MAKEVA_END): Simply return the value stored in arglist_address.
1993-07-14 * configure.in: If configured -with-stabs on any target, addIan Lance Taylor2-0/+9
stabsdirs to configdirs.
1993-07-14 * Removed sy_forward and replaced it with an undefined expressionIan Lance Taylor12-113/+656
as the value of a symbol. * struc-symbol.h (struct symbol): Removed sy_forward field. Added sy_resolved and sy_resolving single bit fields. * symbols.c (symbol_new): Don't initialize sy_forward field. (resolve_symbol_value): New function to adjust symbol value by fragment address, using recursion to resolve forward symbols. * symbols.h: Added prototype for new function. * read.c (pseudo_set): Set symbolP->sy_value to an undefined expression rather than setting symbolP->sy_forward. * write.c (write_object_file): Use resolve_symbol_value on symbols, keeping the common case (the old behaviour) inline. * config/obj-aout.c (obj_aout_frob_symbol): Removed sy_forward handling (subsumed by write.c change). * config/obj-coff.c, config/obj-coffbfd.c (obj_coff_val): Set sy_value rather than sy_forward. * config/obj-coffbfd.c (obj_coff_endef, yank_symbols): Check expression segment rather than sy_forward. (yank_symbols): Use resolve_symbol_value. (crawl_symbols): Removed extra pass over symbols. * config/obj-aout.c, config/obj-bout.c, config/obj-coff.c, config/obj-vms.c (obj_crawl_symbol_chain): Removed extra pass over symbols which handled sy_forward; use resolve_symbol_value instead. * config/obj-coff.h, config/obj-coffbfd.h (obj_frob_forward_symbol): Define. * config/obj-elf.c (obj_elf_stab_generic): Check expression segment rather than sy_forward. * config/obj-vms.c (VMS_Check_For_Main): Don't initialize sy_forward; do initialize sy_resolved and sy_resolving. * config/tc-hppa.h (STAB_FIXUP): Use sy_value, not sy_forward.
1993-07-14 * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): PrintJim Kingdon3-3/+11
address, not addr. * hppah-nat.c (store_inferior_registers): Don't print i in cases where we aren't using it.
1993-07-14Check in ChangeLog entry that got lost.Stu Grossman1-0/+29
Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com) * gdbserver/Makefile.in: Add dependancies on server.h. * gdbserver/remote-gutils.c: Remove lots of unused functions and variables. * gdbserver/remote-inflow.c: Remove lots of unused variables and #includes. Also, use PTRACE_* symbols instead of constants. (mywait): Surround calls to wait() with enable/disable_async_io() so that we can be interrupted from GDB while waiting for the child. Also, handle child exit more gracefully. * gdbserver/remote-server.c: Remove lots of unused variables. Move all extern defs into server.h. Redo main loop so that failure from getpkt() causes communications to be re-established. Fix 'k' command so that it restarts the child. * gdbserver/remote-utils.c: Remove lots of unloved vars and subrs. Move many extern decls into server.h. (remote_open): For tcp, seperate usage of proto fd from connected fd. Close proto fd after getting connection. (putpkt/getpkt): Pay attention to errors when reading/writing. Report these to the caller. New routines input_interrupt/enable_async_io/disable_async_io to make it possible to get an I/O interrupt when data arrives from the comm link. * serial.h: New file to contain common defs for all remote files.
1993-07-14 * hppa.c [HOST_HPPABSD]: Use hpux-style core files.Jim Kingdon3-18/+23
* libhppa.h [HOST_HPPABSD]: Include hpux version of core.h
1993-07-14 * Changes to keep a full expression as the value of a symbol, notIan Lance Taylor18-880/+1460
just a longword: * struc-symbol.h: New field sy_value. * as.h: Include expr.h before struc-symbol.h. * expr.h: Use struct symbol rather than symbolS. * symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value of sy_value field; compile unconditionally, not just if BFD_ASSEMBLER. * symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally. * write.c (write_object_file): Set BFD symbol value to gas symbol value. * config/obj-aout.h, config/obj-bout.h, config/obj-coff.h, config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h (S_GET_VALUE, S_SET_VALUE): Removed macro definitions. * config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed. * config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use S_GET_VALUE rather than ost_entry.n_value. * config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c (obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars), config/obj-coffbfd.c (symbol_to_chars): Get value to write out using S_GET_VALUE--don't assume it is already set. * config/obj-ieee.c (do_symbols): Set BFD symbol value to gas symbol value. * config/obj-vms.c (various): Don't assign directly to S_GET_VALUE; use S_SET_VALUE instead.
1993-07-14 * Makefile.in (Makefile): depend on configure.in. Also drop theK. Richard Pixley1-0/+5
$(srcdir)/ from the dependency on Makefile.in.
1993-07-14* a29k-tdep.c (get_saved_register): Fix typo.Jim Kingdon2-3/+7
1993-07-14* configure.in: Recognize h8300h (variant of h8300).David Edelsohn2-0/+14
Recognize sparc64-*-*.
1993-07-14* configure.in: Make sparc64-*-aout* use bfd gas.David Edelsohn1-0/+4
1993-07-14* configure.in: Recognize h8300h.David Edelsohn1-0/+4
1993-07-14Recognize h8300h.David Edelsohn1-2/+4
Make sparc64-*-aout* use bfd gas.
1993-07-14* configure.in: Recognize h8300h-*-*.David Edelsohn2-1/+5
1993-07-14Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)Jim Kingdon8-45/+144
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function returning foo' as well as `pointer to foo'. * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined. * config/m68k/tm-m68k.h: Define it. * mem-break.c, breakpoint.c: Improve comments. Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h". * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
1993-07-14* config.sub: Recognize h8300hhms as h8300h-hitachi-hms.David Edelsohn3-3/+21
(h8300hhms is temporary until multi-libraries are implemented). * configure.in: Handle h8300h too.
1993-07-14* configure.in: Accept h8300h for target cpu.David Edelsohn1-0/+7
* ldmisc.c (vfinfo): Have demangle remove leading underscore if present (demangle is smart enough to know whether to do it or not).
1993-07-14Accept h8300h for target cpu.David Edelsohn1-1/+1
1993-07-14Restore function naming scheme (sim_xxx vs simif_xxx).David Edelsohn1-126/+177
Make more generic (remove any reference to sparc64). Document simif_xxx fns.
1993-07-13Use host_makefile_frag.Steve Chamberlain1-0/+1
1993-07-13cvs core dumps again...Steve Chamberlain1-4/+3
1993-07-13 * config/tc-h8500.c (line_comment_chars): Add hash.Steve Chamberlain2-7/+41
(parse_exp, skip_colonthing, build_bytes): Add support for R_H8500_HIGH16 relocation type.
1993-07-13 * coff-h8500.c (reloc_processing, rtype2howto): New relocationSteve Chamberlain3-0/+523
type R_H8500_HIGH_16. * coff-sh.c (r_imm32): Get the width of the reloc right.
1993-07-13* gdbcore.h (read_memory_integer, read_memory_unsigned_integer):David Edelsohn1-0/+5
Make prototype match definition.
1993-07-13dtrt wrt v9 for elf64-sparc.c (sigh)Ken Raeburn1-1/+0
1993-07-13 * elfread.c: Remove notice about file still being underFred Fish2-14/+2
construction.
1993-07-13 * configure.in: Add new target m68k-coffun to the dpx/2.Jim Kingdon2-0/+6
* config/m68k-coffun.mt: New file, renamed from config/dpx2.mt.
1993-07-13make sanitize dtrt wrt v9Ken Raeburn1-4/+4
1993-07-13 * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.Fred Fish2-2/+6
1993-07-13 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer toIan Lance Taylor1-0/+5
argument string const char * to correspond to opcode/mips.h.
1993-07-13add a -I to the makeinfo command lineDavid D. Zuhn1-1/+1
1993-07-13 * Makefile.in (TAGS): make work again by naming directoriesK. Richard Pixley1-0/+6
explicitly rather than depending on undefined macros. (INSTALL_XFORM): correct bad install target.
1993-07-13 * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib forDavid MacKenzie2-14/+33
ldscripts, as well as <ld bin dir> and SCRIPTDIR.
1993-07-12* a29k-tdep.c (read_register_stack): Make val static.Jim Kingdon2-1/+5
1993-07-12h8300 stuff.David Edelsohn1-0/+6
1993-07-12(REGISTER_CONVERTIBLE): Change value to 0.David Edelsohn1-8/+5
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to usual spot.