Roland Pesch [Mon, 19 Jul 1993 19:04:24 +0000 (19:04 +0000)]
Repair bugs in conditionals, spotted by Zoo during "latest" build.
Ken Raeburn [Mon, 19 Jul 1993 18:55:29 +0000 (18:55 +0000)]
(BFD_LIBS): Include coff-mips.o and coff-msym.o, so that gdb will link.
(ofiles): Don't use sort or uniq; do it with sh constructs.
Jim Kingdon [Mon, 19 Jul 1993 18:51:00 +0000 (18:51 +0000)]
* ser-unix.c: Don't try to use job control with termio.
Ian Lance Taylor [Mon, 19 Jul 1993 18:46:39 +0000 (18:46 +0000)]
* expr.c (clean_up_expression): Don't cancel the subtraction of
undefined symbols.
Fixes PR 2997.
* read.c (s_data), config/obj-coffbfd.c (obj_coff_data): If -R,
switch to text section rather than data section.
Fixes PR 2971.
Jim Kingdon [Mon, 19 Jul 1993 17:36:18 +0000 (17:36 +0000)]
* hppa-tdep.c (pc_in_linker_stub): New function.
(find_proc_framesize): Return 0 for linker stubs.
(rp_saved): Tell the caller where rp is saved.
(frame_chain_valid): Return 1 for linker stubs.
(frame_saved_pc): Use return value from rp_saved.
Ken Raeburn [Mon, 19 Jul 1993 16:49:01 +0000 (16:49 +0000)]
fix net-equip pr 2975: tm-m68k.c(m68k_ip): adjust for pc-rel offset before using value, not after
Mark Eichin [Mon, 19 Jul 1993 15:00:19 +0000 (15:00 +0000)]
more linux support bits
Mark Eichin [Mon, 19 Jul 1993 14:51:00 +0000 (14:51 +0000)]
add linux support (may not work yet, just cloned from i386-aout)
Peter Schauer [Mon, 19 Jul 1993 06:41:16 +0000 (06:41 +0000)]
Make breakpoint_re_set_one work with overloaded member functions,
`b 123' and `b foo' if foo is a static function.
* symtab.c (decode_line_1, decode_line_2): New argument `canonical'
to return canonical line specs if requested by the caller.
* breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and
callers accordingly.
* symtab.c (build_canonical_line_spec): New helper function which
constructs the canonical line spec.
* breakpoint.c (break_command_1): Use canonical line spec instead
of command string as addr_string if necessary.
* source.c (line_info): Fix storage leak.
Jim Kingdon [Mon, 19 Jul 1993 05:09:06 +0000 (05:09 +0000)]
* infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
but not the others.
* symm-tdep.c: Remove exec_file_command.
[_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
A few miscellaneous cleanups.
* symm-nat.c: Renamed from symm-xdep.c.
* All symmetry dependent files: Many changes.
Jim Kingdon [Mon, 19 Jul 1993 05:00:13 +0000 (05:00 +0000)]
* infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
but not the others.
* symm-tdep.c: Remove exec_file_command.
[_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
A few miscellaneous cleanups.
* symm-nat.c: Renamed from symm-xdep.c.
* All symmetry dependent files: Many changes.
Jim Kingdon [Mon, 19 Jul 1993 04:55:21 +0000 (04:55 +0000)]
* coffcode.h: Recognize I386PTXMAGIC.
* aoutf1.h, libaout.h: Add M_386_DYNIX.
* trad-core.c (TRAD_CORE_USER_OFFSET, TRAD_CORE_STACK_FILEPOS):
New macros; use it if defined.
* config/symmetry.mh, hosts/symmetry.h: New files.
Jim Kingdon [Mon, 19 Jul 1993 04:53:24 +0000 (04:53 +0000)]
* dynix3.h: New, for symmetry running dynix.
Jim Kingdon [Mon, 19 Jul 1993 02:28:21 +0000 (02:28 +0000)]
* mips-tdep.c (mips_skip_prologue): New argument lenient.
Use read_memory_nobpt.
(is_delayed, mips_in_lenient_prologue): New functions.
(init_extra_frame_info): If in the prologue, don't use saved registers.
* config/mips/tm-mips.h: Declare mips_skip_prologue.
Jim Kingdon [Mon, 19 Jul 1993 02:26:06 +0000 (02:26 +0000)]
* mips.h: Split the actual table out into ../../opcodes/mips-opc.c.
Jim Kingdon [Mon, 19 Jul 1993 02:25:39 +0000 (02:25 +0000)]
* mips-opc.c: New file, containing opcode table from
../include/opcode/mips.h.
* Makefile.in: Add it.
Jim Kingdon [Sun, 18 Jul 1993 22:50:30 +0000 (22:50 +0000)]
* partial-stab.h (N_SO): Add the text offset to valu before, not after,
passing it to END_PSYMTAB.
Peter Schauer [Sun, 18 Jul 1993 15:47:51 +0000 (15:47 +0000)]
* gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
to make the stabs test work on ecoff systems using gcc and -with-stabs.
* gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
enable ecoff configuration.
Roland Pesch [Sat, 17 Jul 1993 01:58:47 +0000 (01:58 +0000)]
MOD2
Jim Kingdon [Sat, 17 Jul 1993 01:58:33 +0000 (01:58 +0000)]
* symtab.c (find_pc_symtab): Call warning, not printf directly.
* solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
Roland Pesch [Sat, 17 Jul 1993 01:57:50 +0000 (01:57 +0000)]
Introduce MOD2 switch to segregate material on Modula-2; eventually
each supported language should be controlled by a separate switch, and CONLY
should be retired.
Jim Kingdon [Sat, 17 Jul 1993 01:37:06 +0000 (01:37 +0000)]
* Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
* Makefile.in: Change accordingly.
(CFILES): Add elf64-gen.c.
Jim Kingdon [Sat, 17 Jul 1993 01:28:11 +0000 (01:28 +0000)]
* Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
* Makefile.in: Change accordingly.
(CFILES): Add elf64-gen.c.
David MacKenzie [Sat, 17 Jul 1993 01:10:10 +0000 (01:10 +0000)]
posix.2 final changes
Jim Kingdon [Fri, 16 Jul 1993 22:28:12 +0000 (22:28 +0000)]
* Makefile.in (TAGS): make work when srcdir != objdir.
David MacKenzie [Fri, 16 Jul 1993 22:24:10 +0000 (22:24 +0000)]
remove /dev/null kludge
David D. Zuhn [Fri, 16 Jul 1993 21:21:30 +0000 (21:21 +0000)]
update for lynx, sgi -x- sh
Ian Lance Taylor [Fri, 16 Jul 1993 21:15:40 +0000 (21:15 +0000)]
* ldgram.y (OPTION_Lfile): New token.
(command_line_option): Accept OPTION_L NAME (whitespace after -L).
* ldlex.l (<COMMAND>): Accept -L without FILENAME.
David Edelsohn [Fri, 16 Jul 1993 20:46:46 +0000 (20:46 +0000)]
h8/300h stuff
David Edelsohn [Fri, 16 Jul 1993 20:44:05 +0000 (20:44 +0000)]
Fix h8300h support (need own .mt file).
David Edelsohn [Fri, 16 Jul 1993 20:43:14 +0000 (20:43 +0000)]
h8/300h support
David Edelsohn [Fri, 16 Jul 1993 20:26:05 +0000 (20:26 +0000)]
Fix bit instructions (was setting destination reg and not carry).
David D. Zuhn [Fri, 16 Jul 1993 20:21:43 +0000 (20:21 +0000)]
work around lynxos /bin/sh lossage
David D. Zuhn [Fri, 16 Jul 1993 20:17:49 +0000 (20:17 +0000)]
use mh-lynxos for *-*-lynxos
David D. Zuhn [Fri, 16 Jul 1993 20:15:44 +0000 (20:15 +0000)]
new file for lynx
David D. Zuhn [Fri, 16 Jul 1993 20:15:19 +0000 (20:15 +0000)]
use mh-lynxos host fragment
David D. Zuhn [Fri, 16 Jul 1993 20:14:38 +0000 (20:14 +0000)]
handle broken test (lynx)
Ian Lance Taylor [Fri, 16 Jul 1993 17:01:31 +0000 (17:01 +0000)]
* mips.h: Reworked the hazard information somewhat, and fixed some
bugs in the instruction hazard descriptions.
Ian Lance Taylor [Fri, 16 Jul 1993 16:58:08 +0000 (16:58 +0000)]
* mipsread.c: No longer need to undefine ZMAGIC.
Ian Lance Taylor [Fri, 16 Jul 1993 16:56:05 +0000 (16:56 +0000)]
* coff-mips.c: Use MIPS_AOUT_{OZ}MAGIC rather than {OZ}MAGIC.
Ian Lance Taylor [Fri, 16 Jul 1993 16:55:20 +0000 (16:55 +0000)]
* mips.h (MIPS_AOUT_{OZ}MAGIC): Renamed from {OZ}MAGIC.
Ian Lance Taylor [Fri, 16 Jul 1993 16:26:41 +0000 (16:26 +0000)]
* config/tc-hppa.h (tc_frob_label): Define.
* config/tc-mips.c: Many changes to support simple assembler
optimization.
(insn_label, prev_insn, prev_prev_insn, dummy_opcode,
prev_insn_valid, prev_insn_frag, prev_insn_where,
prev_insn_fixp, prev_insn_is_delay_slot): New static
variables.
(insn_uses_reg, mips_no_prev_insn, mips_emit_delays,
mips_align, s_stringer, s_mips_space): New static functions.
(mips_define_label): New global function.
(md_pseudo_table): For "ascii", "asciz", "asciiz", call
s_stringer. Changed argument to float_cons from 0 or 1 to 'f'
or 'd'. For "space" call s_mips_space.
(md_begin): Call mips_no_prev_insn.
(append_insn): Only insert necessary NOP instructions.
(macro): Call mips_emit_delays before setting mips_noreorder.
Increment and decrement mips_noreorder rather than using
save_reorder_condition. Don't bother to use noreorder in
M_L_DOB and M_L_DAB, since append_insn will not insert a NOP.
(md_atof): Handle floating point numbers correctly for both
big and little endian targets.
(s_align, s_cons): Call mips_align rather than frag_align.
(s_change_seg, s_cons): Call mips_emit_delays.
(s_float_cons): Let float_cons do the work.
(s_mipsset): Call mips_emit_delays when setting noreorder.
* config/tc-mips.h (tc_frob_label): Define to be
mips_define_label.
Ian Lance Taylor [Fri, 16 Jul 1993 16:26:03 +0000 (16:26 +0000)]
* read.c (float_cons): Simplified parsing logic. If
REPEAT_CONS_EXPRESSIONS is defined, accept a repeat count.
* symbols.c (colon): Rather than a special case for TC_HPPA,
use new macro tc_frob_label.
Ian Lance Taylor [Fri, 16 Jul 1993 15:58:08 +0000 (15:58 +0000)]
* config/obj-ecoff.c (ecoff_build_symbols, ecoff_build_procs,
ecoff_frob_files): Consistently use S_GET_VALUE rather than
bfd_asymbol_value. Warn if taking difference of symbols in
different segments.
Ian Lance Taylor [Thu, 15 Jul 1993 22:16:39 +0000 (22:16 +0000)]
* config/tc-m88k.c (omagic): Removed unused variable.
Ian Lance Taylor [Thu, 15 Jul 1993 22:10:56 +0000 (22:10 +0000)]
Removed definition of OMAGIC from m88k.h.
Ian Lance Taylor [Thu, 15 Jul 1993 22:07:28 +0000 (22:07 +0000)]
* m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
(print_insn): Now just calls print_insn_m88k.
David MacKenzie [Thu, 15 Jul 1993 22:02:01 +0000 (22:02 +0000)]
remove dupliate include
Ian Lance Taylor [Thu, 15 Jul 1993 22:01:27 +0000 (22:01 +0000)]
* config/obj-ecoff.c (ecoff_frob_file): Discard all open scopes,
with a warning.
David Edelsohn [Thu, 15 Jul 1993 21:55:14 +0000 (21:55 +0000)]
* h8300-tdep.c (examine_prologue): Make prototype match definition.
David Edelsohn [Thu, 15 Jul 1993 21:53:51 +0000 (21:53 +0000)]
(examine_prologue): Make prototype match definition.
David MacKenzie [Thu, 15 Jul 1993 21:49:24 +0000 (21:49 +0000)]
source cleanups; fix finding scripts
David Edelsohn [Thu, 15 Jul 1993 21:45:16 +0000 (21:45 +0000)]
Add h8/300h support.
David MacKenzie [Thu, 15 Jul 1993 21:43:28 +0000 (21:43 +0000)]
source cleanups; fix finding scripts
David Edelsohn [Thu, 15 Jul 1993 21:41:50 +0000 (21:41 +0000)]
h8/300h support
Jim Kingdon [Thu, 15 Jul 1993 21:16:12 +0000 (21:16 +0000)]
minor fixes
Jim Kingdon [Thu, 15 Jul 1993 20:44:09 +0000 (20:44 +0000)]
* stabs.texinfo: Cleanups regarding statics.
Jim Kingdon [Thu, 15 Jul 1993 20:29:23 +0000 (20:29 +0000)]
* stabs.texinfo: Cleanups regarding statics.
Ian Lance Taylor [Thu, 15 Jul 1993 20:23:43 +0000 (20:23 +0000)]
* config/obj-coffbfd.c (fixup_segment): If TC_M88K, don't adjust
by md_pcrel_from if we are relocating against a symbol (we still
need md_pcrel_from for a PC relative relocation within the same
file).
* config/tc-m88k.c (md_pcrel_from): Corrected return value.
Ian Lance Taylor [Thu, 15 Jul 1993 20:06:41 +0000 (20:06 +0000)]
* coff-m88k.c (howto_table): Corrected bitsize for R_PCR26L from
16 to 26.
Ian Lance Taylor [Thu, 15 Jul 1993 19:59:21 +0000 (19:59 +0000)]
* scripttempl/m88kbcs.sc: Removed TARGET statement. Changed
OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
* emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.
Jim Kingdon [Thu, 15 Jul 1993 19:00:08 +0000 (19:00 +0000)]
* gdbinv-s.texi (Bootstrapping): Document exceptionHandler.
(Debug Session): Mention exceptionHandler. Add xref to Bootstrapping.
Jim Kingdon [Thu, 15 Jul 1993 18:28:40 +0000 (18:28 +0000)]
* NEWS: Mention that remote.c now has a `load' operation.
Ian Lance Taylor [Thu, 15 Jul 1993 17:57:26 +0000 (17:57 +0000)]
* Makefile.in (em_m88kbcs.c): Correct dependency.
(scripttempl/m88kbcs.sc): It's ARCH, not arch.
Jim Kingdon [Thu, 15 Jul 1993 17:49:41 +0000 (17:49 +0000)]
* hppa-tdep.c (pc_in_linker_stub): New function.
Jim Kingdon [Thu, 15 Jul 1993 17:38:59 +0000 (17:38 +0000)]
* hppa-tdep.c (pc_in_linker_stub): New function.
(find_proc_framesize): Return 0 for linker stubs.
(rp_saved): Tell the caller where rp is saved.
(frame_chain_valid): Return 1 for linker stubs.
(frame_saved_pc): Use return value from rp_saved.
Jim Kingdon [Thu, 15 Jul 1993 17:10:43 +0000 (17:10 +0000)]
* gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
David Edelsohn [Thu, 15 Jul 1993 17:04:39 +0000 (17:04 +0000)]
* compile.c: Reset HMODE back to zero (accidently set it to 1).
David Edelsohn [Thu, 15 Jul 1993 17:01:40 +0000 (17:01 +0000)]
* run.c (main): If h8/300h binary detected, call set_h8300h.
* compile.c (sim_resume): Fix O_NEG insn.
Ian Lance Taylor [Thu, 15 Jul 1993 16:46:50 +0000 (16:46 +0000)]
* objdump.c (disassemble_data): Handle the m88k.
(display_bfd): Use bfd_errmsg, rather than just claiming that the
bfd is not an object file.
Ian Lance Taylor [Thu, 15 Jul 1993 16:43:54 +0000 (16:43 +0000)]
* m88k.h: Corrected a couple of opcodes.
Ian Lance Taylor [Thu, 15 Jul 1993 16:42:33 +0000 (16:42 +0000)]
* dis-asm.h: Added declaration of print_insn_m88k.
Ian Lance Taylor [Thu, 15 Jul 1993 16:40:49 +0000 (16:40 +0000)]
* m88k-dis.c: New file, moved in from gdb and changed to use the
new dis-asm.h disassembler interface.
* Makefile.in (DIS_LIBS): Added m88k-dis.o.
(m88k-dis.o): New target.
Ian Lance Taylor [Thu, 15 Jul 1993 16:35:23 +0000 (16:35 +0000)]
Add m88k-coff target Makefile fragment.
Ian Lance Taylor [Thu, 15 Jul 1993 16:26:31 +0000 (16:26 +0000)]
* m88k.h (OMAGIC): Define.
(union external_auxent): Move x_fcn back inside x_fcnary.
({GET,PUT}_FCN_{LNNOPTR,ENDNDX}): Adjust accordingly.
Ian Lance Taylor [Thu, 15 Jul 1993 16:02:21 +0000 (16:02 +0000)]
* Preliminary support for m88k-coff.
* 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.
Jim Kingdon [Thu, 15 Jul 1993 15:15:42 +0000 (15:15 +0000)]
* stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
pass the sp relative to the frame in question, not the sp in the
innermost frame.
Jim Kingdon [Thu, 15 Jul 1993 13:01:31 +0000 (13:01 +0000)]
* attach.c, detach.c: Include <sys/types.h> before <fcntl.h>.
Jim Kingdon [Thu, 15 Jul 1993 07:28:14 +0000 (07:28 +0000)]
* mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
already checked the first characters.
Jim Kingdon [Thu, 15 Jul 1993 07:25:58 +0000 (07:25 +0000)]
* mipsread.c (parse_procedure): Take as argument the symtab to look
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.
Jim Kingdon [Thu, 15 Jul 1993 05:24:16 +0000 (05:24 +0000)]
* mipsread.c (psymtab_to_symtab_1, parse_procedure): For stabs,
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.
David MacKenzie [Thu, 15 Jul 1993 04:46:25 +0000 (04:46 +0000)]
* ldfile.c (ldlang_open_file, ldfile_open_command_file),
main.c (main): Print the errno string in the error message.
Jim Kingdon [Wed, 14 Jul 1993 22:54:22 +0000 (22:54 +0000)]
* printcmds.exp: Add another printf test.
Jim Kingdon [Wed, 14 Jul 1993 22:47:45 +0000 (22:47 +0000)]
x
Jim Kingdon [Wed, 14 Jul 1993 22:44:03 +0000 (22:44 +0000)]
Changes from Jeffrey Law:
* 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.
Ian Lance Taylor [Wed, 14 Jul 1993 22:38:37 +0000 (22:38 +0000)]
* configure.in: If configured -with-stabs on any target, add
stabsdirs to configdirs.
Ian Lance Taylor [Wed, 14 Jul 1993 22:21:25 +0000 (22:21 +0000)]
* Removed sy_forward and replaced it with an undefined expression
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.
Jim Kingdon [Wed, 14 Jul 1993 21:38:39 +0000 (21:38 +0000)]
* ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
address, not addr.
* hppah-nat.c (store_inferior_registers): Don't print i in cases
where we aren't using it.
Stu Grossman [Wed, 14 Jul 1993 21:19:09 +0000 (21:19 +0000)]
Check in ChangeLog entry that got lost.
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.
Jim Kingdon [Wed, 14 Jul 1993 20:35:18 +0000 (20:35 +0000)]
* hppa.c [HOST_HPPABSD]: Use hpux-style core files.
* libhppa.h [HOST_HPPABSD]: Include hpux version of core.h
Ian Lance Taylor [Wed, 14 Jul 1993 19:35:45 +0000 (19:35 +0000)]
* Changes to keep a full expression as the value of a symbol, not
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.
K. Richard Pixley [Wed, 14 Jul 1993 19:04:10 +0000 (19:04 +0000)]
* Makefile.in (Makefile): depend on configure.in. Also drop the
$(srcdir)/ from the dependency on Makefile.in.
Jim Kingdon [Wed, 14 Jul 1993 18:55:57 +0000 (18:55 +0000)]
* a29k-tdep.c (get_saved_register): Fix typo.
David Edelsohn [Wed, 14 Jul 1993 16:49:18 +0000 (16:49 +0000)]
* configure.in: Recognize h8300h (variant of h8300).
Recognize sparc64-*-*.
David Edelsohn [Wed, 14 Jul 1993 16:38:53 +0000 (16:38 +0000)]
* configure.in: Make sparc64-*-aout* use bfd gas.
David Edelsohn [Wed, 14 Jul 1993 16:37:27 +0000 (16:37 +0000)]
* configure.in: Recognize h8300h.
David Edelsohn [Wed, 14 Jul 1993 16:35:04 +0000 (16:35 +0000)]
Recognize h8300h.
Make sparc64-*-aout* use bfd gas.
David Edelsohn [Wed, 14 Jul 1993 16:32:34 +0000 (16:32 +0000)]
* configure.in: Recognize h8300h-*-*.
Jim Kingdon [Wed, 14 Jul 1993 15:12:05 +0000 (15:12 +0000)]
Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* 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.
David Edelsohn [Wed, 14 Jul 1993 03:20:18 +0000 (03:20 +0000)]
* config.sub: Recognize h8300hhms as h8300h-hitachi-hms.
(h8300hhms is temporary until multi-libraries are implemented).
* configure.in: Handle h8300h too.