Stan Shebs [Fri, 23 Jun 1995 03:02:53 +0000 (03:02 +0000)]
* mpw-make.in (demangle.c.o): Remove.
(arparse.h): Depend on arparse.c instead of arparse.y.
Ken Raeburn [Fri, 23 Jun 1995 02:05:04 +0000 (02:05 +0000)]
msdos and moss code from Bryan Ford
Stan Shebs [Fri, 23 Jun 1995 01:55:47 +0000 (01:55 +0000)]
* mpw-mh-mpw (CC): Define ANSI_PROTOTYPES.
Stan Shebs [Fri, 23 Jun 1995 01:52:24 +0000 (01:52 +0000)]
* mpw-config.in (elf/mips.h): Always forward-include, needed
for GDB to build.
Steve Chamberlain [Fri, 23 Jun 1995 00:26:40 +0000 (00:26 +0000)]
* interp.c: Don't include sys/times.h or sys/param.h
David Edelsohn [Fri, 23 Jun 1995 00:25:15 +0000 (00:25 +0000)]
(newlib.tar.gz): Configure newlib subdir so .info files are made.
Victoria Mixon [Thu, 22 Jun 1995 21:30:02 +0000 (21:30 +0000)]
inc-hist.texi: gdb manual up to date for 95q3
rluser.texinfo:
Victoria Mixon [Thu, 22 Jun 1995 21:28:02 +0000 (21:28 +0000)]
gdb.texinfo: gdb manual up to date for 95q3
remote.texi:
Kung Hsu [Thu, 22 Jun 1995 20:16:56 +0000 (20:16 +0000)]
* remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
Michael Meissner [Thu, 22 Jun 1995 19:08:18 +0000 (19:08 +0000)]
Add .fixup section
Michael Meissner [Thu, 22 Jun 1995 18:44:36 +0000 (18:44 +0000)]
Fix warning
Steve Chamberlain [Thu, 22 Jun 1995 16:30:19 +0000 (16:30 +0000)]
Sanitize seems to care about trailing spaces.
Steve Chamberlain [Thu, 22 Jun 1995 15:59:14 +0000 (15:59 +0000)]
* reloc.c (bfd_perform_relocation): Add case for -ve words.
Ken Raeburn [Thu, 22 Jun 1995 01:31:02 +0000 (01:31 +0000)]
remove rcs id string
Ken Raeburn [Thu, 22 Jun 1995 01:29:50 +0000 (01:29 +0000)]
new test from Andreas Schwab
Fred Fish [Thu, 22 Jun 1995 00:51:47 +0000 (00:51 +0000)]
* gdb.base/return.exp: Xfail `return double' test failure
on at least Solaris 2.3 and handle future/past versions on
a case by case basis as appropriate. Also update message
to include i*86 failures.
Ken Raeburn [Wed, 21 Jun 1995 22:43:13 +0000 (22:43 +0000)]
m68k fixes from Andreas Schwab, with minor changes
Ken Raeburn [Wed, 21 Jun 1995 22:09:45 +0000 (22:09 +0000)]
* config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#" value, don't
shift it an extra time.
Steve Chamberlain [Wed, 21 Jun 1995 22:05:47 +0000 (22:05 +0000)]
* interp.c: (SIGBUS, SIGTERM): Define if not.
(sim_memory_size): default to 2^19 on PCs.
(sim_resume): Poll for quits on win32.
Ken Raeburn [Wed, 21 Jun 1995 21:48:03 +0000 (21:48 +0000)]
fix diststuff/realclean handling of info files
Steve Chamberlain [Wed, 21 Jun 1995 21:47:06 +0000 (21:47 +0000)]
Hmm.. The ChangeLog went in, but not the code....
* monitor.c: Turn on caching.
(monitor_printf): If a ^C was sent, don't expect to see its
echo.
(monitor_open): Enable caching.
(monitor_resume, monitor_load): Flush cache.
(monitor_xfer_memory): Call cache routine.
(monitor_dump_regs): New.
(monitor_fetch_registers): If monitor_dump_regs available
then use it.
(monitor_load): Don't ref exec_bfd if it's NULL.
(monitor_load_srec): Use new monitor_make_srec calling convention.
(monitor_make_srec): Rewrite to cope with two, three and four byte
addresses.
* remote-hms.c (hms_cmds): Initialze end-of-command delim.
* dcache.h, dcache.h: Rewritten.
* remote.c: Reenable caching.
(getpkt): Reduce MAX_TRIES to 3.
(remote_xfer_memory): Use dcache_xfer_memory.
* defs.h (error_hook): New.
* top.c (error_hook): New definition.
* utils.c (error): Use error_hook if initialized.
* sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
HAVE_SOCKETS in place of #ifndef GO32.
Ken Raeburn [Wed, 21 Jun 1995 21:44:06 +0000 (21:44 +0000)]
* objdump.c (compare_relocs): If relocation entries have the same address, keep them in file order.
Steve Chamberlain [Wed, 21 Jun 1995 21:37:13 +0000 (21:37 +0000)]
* gasp.c (do_print, do_form, buffer_and_nest): Use case insensitive
string compares. gas/7274.
Rob Savoye [Wed, 21 Jun 1995 21:28:24 +0000 (21:28 +0000)]
"Lose" the new testsuite directory for now.
Rob Savoye [Wed, 21 Jun 1995 21:25:10 +0000 (21:25 +0000)]
* testsuite: New directory for customer acceptance and whole tool
chain tests.
* configure: Set build_{cpu,vendor,os,alias} to host values when
--build isn't specified
Ken Raeburn [Wed, 21 Jun 1995 20:57:03 +0000 (20:57 +0000)]
Handle autoconfiscated directories by running the correct configure script.
Steve Chamberlain [Wed, 21 Jun 1995 20:55:01 +0000 (20:55 +0000)]
add ld-versados.
Stan Shebs [Wed, 21 Jun 1995 20:00:22 +0000 (20:00 +0000)]
Keep MPW x SH compiled linker script.
Jeff Law [Wed, 21 Jun 1995 19:29:00 +0000 (19:29 +0000)]
* hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
Steve Chamberlain [Wed, 21 Jun 1995 19:23:06 +0000 (19:23 +0000)]
Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
* monitor.c: Turn on caching.
(monitor_printf): If a ^C was sent, don't expect to see its
echo.
(monitor_open): Enable caching.
(monitor_resume, monitor_load): Flush cache.
(monitor_xfer_memory): Call cache routine.
(monitor_dump_regs): New.
(monitor_fetch_registers): If monitor_dump_regs available
then use it.
(monitor_load): Don't ref exec_bfd if it's NULL.
(monitor_load_srec): Use new monitor_make_srec calling convention.
(monitor_make_srec): Rewrite to cope with two, three and four byte
addresses.
* remote-hms.c (hms_cmds): Initialze end-of-command delim.
* dcache.h, dcache.h: Rewritten.
* remote.c: Reenable caching.
(getpkt): Reduce MAX_TRIES to 3.
(remote_xfer_memory): Use dcache_xfer_memory.
* defs.h (error_hook): New.
* top.c (error_hook): New definition.
* utils.c (error): Use error_hook if initialized.
* sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
HAVE_SOCKETS in place of #ifndef GO32.
Jeff Law [Wed, 21 Jun 1995 19:14:39 +0000 (19:14 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Don't try to apply a
relocation against an undefined symbols.
Steve Chamberlain [Wed, 21 Jun 1995 17:19:25 +0000 (17:19 +0000)]
* versados.c: Second pass/rewrite.
Steve Chamberlain [Wed, 21 Jun 1995 17:15:11 +0000 (17:15 +0000)]
New tests.
Jeff Law [Wed, 21 Jun 1995 04:20:15 +0000 (04:20 +0000)]
* config/pa/tm-hppa.h (PSW_*): Define processor status word masks.
(INSTRUCTION_NULLIFIED): Allow specific targets to override.
* config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work
around losing mach kernel behavior.
Stan Shebs [Wed, 21 Jun 1995 00:52:21 +0000 (00:52 +0000)]
* mpw-esh.c: New file, modified for MPW from esh.c.
* scripttempl/sh.sc: Reformatted to simplify MPWification,
use *() to concat stab sections instead of [].
Steve Chamberlain [Tue, 20 Jun 1995 23:21:23 +0000 (23:21 +0000)]
* compile.c (get_now): Don't do if win32.
(sim_resume): Poll in win32 too.
Stan Shebs [Tue, 20 Jun 1995 21:51:17 +0000 (21:51 +0000)]
* gdb.texinfo: Update dates and versions, fix comments about
hardware watchpoints in future releases and about the
sharedlibrary command.
David Edelsohn [Tue, 20 Jun 1995 20:05:40 +0000 (20:05 +0000)]
Keep COPYING.NEWLIB if keep-newlib.
David Edelsohn [Tue, 20 Jun 1995 19:54:49 +0000 (19:54 +0000)]
move test-build.mk to cygnus_files.
Stan Shebs [Tue, 20 Jun 1995 19:13:20 +0000 (19:13 +0000)]
* monitor.c (monitor_wait): Don't use the watchdog timeout
if its value is 0.
* w89k-rom.c (w89k_open): Define to be static.
Ken Raeburn [Tue, 20 Jun 1995 19:01:18 +0000 (19:01 +0000)]
*config/obj-coff.c (write_object_file): Cast time() argument to time_t *.
Jeff Law [Tue, 20 Jun 1995 18:02:44 +0000 (18:02 +0000)]
* config/tc-hppa.c (pa_build_unwind_subspace): Fix typo in last
change.
Stu Grossman [Tue, 20 Jun 1995 17:41:11 +0000 (17:41 +0000)]
* gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
Stu Grossman [Tue, 20 Jun 1995 17:30:44 +0000 (17:30 +0000)]
* gdbtk.tcl (add_breakpoint_frame): Add more fields.
* (create_file_win create_asm_win build_framework): Create null
bindings for meta keys to keep window from dropping down to
insertion point when meta is pressed by itself. New bindings:
Up/Down - Scroll up/down one line at a time
Next/Prior - Scroll up/down one page at a time
Home/End - Warp to current pc/end of file
* (build_framework): Turn on breakpoint menu.
* (create_command_window): Implement tab completion. Add binding
for ^C to stop target.
Steve Chamberlain [Tue, 20 Jun 1995 16:33:28 +0000 (16:33 +0000)]
* dlltool.c: Change names of generated files. .*.s-> -*.s
* objdump.c (dump_section_stabs): Check for names
which are supersets of selected names. binutils/7240.
Jeff Law [Mon, 19 Jun 1995 21:34:39 +0000 (21:34 +0000)]
* config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory
from frag_more calls.
Jeff Law [Mon, 19 Jun 1995 21:26:58 +0000 (21:26 +0000)]
* somsolib.c (som_solib_add): Validate regexp argument.
Don't assume the first entry on dld's library list is the main
program. Don't load the same library more than once and don't
consider the main program a shared library.
(som_solib_sharedlibrary_command): New function
(_initialize_som_solib): Add "sharedlibrary" command.
mentor-7135
Jeff Law [Sun, 18 Jun 1995 05:39:52 +0000 (05:39 +0000)]
Fix typo in last change.
Jeff Law [Sun, 18 Jun 1995 03:39:23 +0000 (03:39 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Set the size of the stub
section if we get an error.
Jeff Law [Sat, 17 Jun 1995 15:43:06 +0000 (15:43 +0000)]
* elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Don't mess
with the operands of an R_PARISC_DPREL21L relocation if the insn
is not "addil <symbol>,%r27".
Stan Shebs [Fri, 16 Jun 1995 22:08:26 +0000 (22:08 +0000)]
* bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don't
define.
* bfd-in2.h: Rebuilt.
* bfd.c (NT_subsystem, NT_stack_heap): Define.
Ken Raeburn [Fri, 16 Jun 1995 19:30:48 +0000 (19:30 +0000)]
use changequote around []
Jeff Law [Fri, 16 Jun 1995 06:09:07 +0000 (06:09 +0000)]
* elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the right
type field (there are two!) when checking to see if $global$ is
defined.
Stan Shebs [Fri, 16 Jun 1995 00:45:31 +0000 (00:45 +0000)]
* mpw-config.in: Add sh and i386 configs, remove sparc config.
* sh-opc.h: Add copyright.
Stan Shebs [Fri, 16 Jun 1995 00:07:45 +0000 (00:07 +0000)]
* config/obj-coff.c: Don't use "bfd/" when including libbfd.h
and libcoff.h.
(fill_section): Call PROGRESS.
* Makefile.in (INCLUDES): Add bfd srcdir.
* mpw-config.in: Add bfd_gas flag and set for each config.
(i386-unknown-go32, m68k-unknown-coff): Recognize.
* mpw-make.in (HACK_O_RAMA, OBJ_COFF_OMIT_TIMESTAMP): Add to
config.h.
Stan Shebs [Thu, 15 Jun 1995 22:10:27 +0000 (22:10 +0000)]
* array-rom.c: Remove, no longer used.
* remote-hms.c (hms_open): Make static.
* mpw-config.in (MacSerial.h): Copy from version in {CIncludes},
not {MPW}Interfaces:CIncludes.
* ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
Stan Shebs [Thu, 15 Jun 1995 21:18:17 +0000 (21:18 +0000)]
* bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false
to bfd_tttrue, bfd_fffalse so as not to conflict with functions.
* coffswap.h (coff_swap_scnhdr_out): Remove version that was
hacked for MPW C.
* mpw-config.in: Set shell vars instead of pasting to makefile
for each configuration, edit coffswap.h to make MPW C not choke.
(i386-unknown-coff, sh-hitachi-hms): Recognize.
* mpw-make.in (BFD_LIBS): Add versados.c.o.
* versados.c (versados_scan): Properly cast results from bfd_alloc.
David Edelsohn [Thu, 15 Jun 1995 17:06:20 +0000 (17:06 +0000)]
* config/tc-arm.h (LOCAL_LABEL): Prepend '.' if not OBJ_AOUT.
(FAKE_LABEL_NAME): Likewise.
Steve Chamberlain [Thu, 15 Jun 1995 15:48:35 +0000 (15:48 +0000)]
* scripttempl/armpe.sc: Add constructor support.
Steve Chamberlain [Wed, 14 Jun 1995 22:29:47 +0000 (22:29 +0000)]
* cofflink.c (process_embedded_commands): New function
reads and handles .drectve sections for PE.
(coff_link_input_bfd): Call new function if PE.
Per Bothner [Wed, 14 Jun 1995 21:30:58 +0000 (21:30 +0000)]
* ch-exp.y: Remove lots of unsupported productions and names.
Add support for IF-expressions, ORIF, ANDID, NUM, and ADDR.
This makes progress for PR 5826.
Steve Chamberlain [Wed, 14 Jun 1995 21:00:27 +0000 (21:00 +0000)]
dlltool.c: Support for internal names too.
Stu Grossman [Wed, 14 Jun 1995 20:31:58 +0000 (20:31 +0000)]
Copyright update in tm-est.h, and minor formatting cleanup.
Add remote-est.o to TDEPFILES in monitor.mt.
Steve Chamberlain [Wed, 14 Jun 1995 20:28:36 +0000 (20:28 +0000)]
Wed Jun 14 13:27:22 1995 Steve Chamberlain <sac@slash.cygnus.com>
* deflex.l, defparse.y, dlltool.c: New files.
* Makefile.in, configure.in: Support for them.
Mon Jun 12 11:27:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
* sysdump.c: Include sysdep.h
(main): Open input with FOPEN_RB. binutils/7137
Per Bothner [Wed, 14 Jun 1995 20:05:59 +0000 (20:05 +0000)]
* chillvars.exp, string.exp: New tests for LOWER/UPPER/LENGTH
Per Bothner [Wed, 14 Jun 1995 19:59:35 +0000 (19:59 +0000)]
* parser-defs.h (enum precedence): Added PREC_BUILTIN_FUNCTION.
* expression.h (enum exp_opcode): Added UNOP_LOWER, UNOP_UPPER,
UNUP_LENGTH.
* expprint.c (dump_expression): Handle the new exp_opcodes.
(print_subexp): Handle PREC_BUILTIN_FUNCTION.
(print_simple_m2_func): Removed.
(print_subexp): Remove support for Modula2 builtin functions.
* m2-lang.c (m2_op_print_tab): Add support for builtin functions.
* ch-exp.y: Parse LOWER, UPPER, and LENGTH builtins.
(write_lower_upper_value): Convenience function for LOWER and UPPER.
(upper_lower_argument, length_argument): Removed non-terminals.
* ch-lang.c (chill_op_print_tab): Entries for UPPER, LOWER, LENGTH.
(type_lower_upper): New function. Calculate LOWER/UPPER of type.
(value_chill_length): New function. Calcalate LENGTH of ARRAY/STRING.
(evaluate_subexp_chill): Handle UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
This fixes PR 5015 (and 5826 which is a duplicate).
Ken Raeburn [Tue, 13 Jun 1995 23:13:28 +0000 (23:13 +0000)]
whitespace & date-format cleanup
Steve Chamberlain [Tue, 13 Jun 1995 17:57:26 +0000 (17:57 +0000)]
* armos.c (ARMul_OSHandleSWI): New version to work with
newlib simply.
Steve Chamberlain [Tue, 13 Jun 1995 16:12:04 +0000 (16:12 +0000)]
* ldlang.c (lang_size_sections): Any section with a DATA
statement has contents.
Jeff Law [Tue, 13 Jun 1995 04:29:41 +0000 (04:29 +0000)]
* config/tc-hppa.c (pa_ip): Check for invalid register in single
precision fmpyadd and fmpysub instructions.
Jeff Law [Tue, 13 Jun 1995 04:28:17 +0000 (04:28 +0000)]
* gas/hppa/parse/badfmpyadd.s: New test.
* gas/hppa/parse/parse.exp: Run it.
Stan Shebs [Mon, 12 Jun 1995 20:07:45 +0000 (20:07 +0000)]
Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
* defs.h: Don't declare strchr and friends if WIN32.
(DIRNAME_SEPARATOR): Move here from source.c.
(SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros,
symbolic definitions for filename bits.
* top.c (cd_command): Use these.
* source.c (mod_path, openp): Ditto.
* terminal.h: Disable termio/sgtty definitions if WIN32.
* findvar.c (registers_changed): Call registers_changed_hook
if it is defined.
J.T. Conklin [Mon, 12 Jun 1995 19:33:08 +0000 (19:33 +0000)]
* Makefile.in (distclean, realclean): Remove config.cache and
config.log.
J.T. Conklin [Mon, 12 Jun 1995 19:15:58 +0000 (19:15 +0000)]
* Makefile.in (distclean, realclean): Remove config.cache and
config.log.
Jeff Law [Mon, 12 Jun 1995 18:12:00 +0000 (18:12 +0000)]
* bfd-in.h (bfd_set_section_vma): Case true to a boolean.
(bfd_set_cacheable): Likewise.
* bfd-in2.h: Rebuilt.
Jeff Law [Mon, 12 Jun 1995 06:27:26 +0000 (06:27 +0000)]
Zap static data problem off the TODO list.
Jeff Law [Mon, 12 Jun 1995 06:24:20 +0000 (06:24 +0000)]
* somsolib.c: Include gdb-stabs.h.
(som_solib_section_offsets): Use SECT_OFF_XXX rather than 0, 1,
etc. Initialize offsets for RODATA & BSS too.
Remainder of mentor-6302.
Ken Raeburn [Sun, 11 Jun 1995 19:30:02 +0000 (19:30 +0000)]
m68k elf linker fixes from Andreas Schwab
Jeff Law [Sun, 11 Jun 1995 00:03:02 +0000 (00:03 +0000)]
* hppa-tdep.c (frame_chain): Try to compensate for incomplete
register information in core files when backtracing.
Jeff Law [Sat, 10 Jun 1995 00:05:51 +0000 (00:05 +0000)]
* targets.c: Add copy_private_symbol_data and link_split_section
to the target vector.
* libbfd-in.h (_bfd_generic_bfd_copy_private_symbol_data): Define.
(_bfd_nolink_bfd_link_split_section): Likewise.
(bfd_generic_link_split_section): Declare.
* syms.c (bfd_copy_private_symbol_data): Define.
* linker.c (bf_link_split_section): Likewise.
* som.c (som_bfd_copy_private_symbol_data): New function
(som_bfd_link_split_section): Likewise.
* All other targets updated with default versions of new routines.
* Take out my braindamaged bfd_true/bfd_false changes from earlier
today. Replace with just:
* bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if
compiling with g++-2.6 or later.
* bfd-in2.h: Rebuilt.
Stu Grossman [Fri, 9 Jun 1995 21:53:55 +0000 (21:53 +0000)]
* remote-nrom.c: Remove everything but download code. More
cleanups.
Michael Meissner [Fri, 9 Jun 1995 21:42:47 +0000 (21:42 +0000)]
PR 7046: use unsigned compares in looking up items in the sorted symbol list, not signed; Also add --wide to print on wide columns
Ken Raeburn [Fri, 9 Jun 1995 21:16:07 +0000 (21:16 +0000)]
vms cleanup, fixes from Pat Rankin
Jeff Law [Fri, 9 Jun 1995 19:40:00 +0000 (19:40 +0000)]
* bfd-in.h (bfd_true, bfd_false): Define these to true and false
if TRUE_FALSE_ALREADY_DEFINED is not defined.
* bfd-in2.h: Rebuilt.
Steve Chamberlain [Fri, 9 Jun 1995 19:21:47 +0000 (19:21 +0000)]
* elfcode.h (elf_sort_hdrs): Rewrite to be symmetrical.
Jeff Law [Fri, 9 Jun 1995 19:16:33 +0000 (19:16 +0000)]
* bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if
compiling with g++-2.6 or later.
(bfd_set_section_vma): Use bfd_true and bfd_false rather than
true and false.
(bfd_set_section_alignment): Likewise.
(bfd_set_section_userdata): Likewise.
(bfd_set_cacheable): Likewise.
* bfd-in2.h: Rebuilt.
Steve Chamberlain [Fri, 9 Jun 1995 15:24:09 +0000 (15:24 +0000)]
* versados.c (struct esd, get_4): Lint; use unsigned chars.
Steve Chamberlain [Fri, 9 Jun 1995 14:57:17 +0000 (14:57 +0000)]
* coff-i960.c (coff_i960_relocate): Compare output section names
when converting for vxworks.
Stu Grossman [Thu, 8 Jun 1995 22:45:47 +0000 (22:45 +0000)]
typo in tcp_open
Stu Grossman [Thu, 8 Jun 1995 22:42:36 +0000 (22:42 +0000)]
* defs.h maint.c monitor.c remote-mips.c remote.c: Add support
for `watchdog' variable. This allows the user to put an upper
limit on the amount of time that GDB will wait for the target to
return from a step or continue operation. This will primarily be
used for the testsuite, where it is difficult to come up with a
reasonable timeout for things like function calls, which can take
as long as three minutes under some circumstances. If the
watchdog timer expires, GDB will generate an error that looks like
`Watchdog has expired.', and will detach from the target.
* remote-mips.c (mips_open): Setup initial frame from target.
Print it out so that user is told where the program is stopped
when they attach.
* remote-nrom.c: Loads of cleanups. Use serial code to open
network connections. Use expect() to wait for response to
download command.
* ser-tcp.c (tcp_open): Retry connection if we get ECONNREFUSED.
* serial.c serial.h (serial_open serial_fdopen serial_close):
Allow users to open the same device multiple times. They all get
to share the same serial_t. This is about the only way to have
multiple active targets use the same device (for download and
debug).
* sparcl-tdep.c: Keep #include <unistd.h> away from GO32.
* target.c: Add `targetdebug' variable. If this is non-zero,
then a special target is put at the top of the target stack which
will cause all calls through the target vector to have their args
and results printed out.
Jason Merrill [Thu, 8 Jun 1995 22:31:51 +0000 (22:31 +0000)]
use -fpic instead of -fPIC
Steve Chamberlain [Thu, 8 Jun 1995 21:37:35 +0000 (21:37 +0000)]
* run.c (main): Grab return value from right register.
Steve Chamberlain [Thu, 8 Jun 1995 21:19:31 +0000 (21:19 +0000)]
* emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack.
Ken Raeburn [Thu, 8 Jun 1995 20:12:25 +0000 (20:12 +0000)]
* elfcode.h (elf_fake_sections): Permit .scommon or COMMON sections as random
SHT_NOBITS sections, in case a linker script is strange.
David Edelsohn [Thu, 8 Jun 1995 18:45:33 +0000 (18:45 +0000)]
* config/tc-arc.h (MD_APPLY_FIX3): Define.
* config/tc-arc.c (md_apply_fix3): Renamed from md_apply_fix.
Undo effects of md_pcrel_from if symbol is in another section.
Per Bothner [Thu, 8 Jun 1995 00:52:06 +0000 (00:52 +0000)]
* chillvars.ch (xptr): Declare new variable.
* chillvars.exp (test_ptr): New function to test EXPR->MODENAME.
This is to test PR chill/6932.
Per Bothner [Thu, 8 Jun 1995 00:49:10 +0000 (00:49 +0000)]
* ch-exp.y: Handle <primitive_value> "->" <modename>.
This fixes PR chill/6932.
Michael Meissner [Wed, 7 Jun 1995 22:04:10 +0000 (22:04 +0000)]
Do not redefine {BIG,LITTLE}_BREAKPOINT if already defined.
Michael Meissner [Wed, 7 Jun 1995 21:48:28 +0000 (21:48 +0000)]
Define BREAKPOINT as either {BIG,LITTLE}_BREAKPOINT, depending on target byte order.
Jeff Law [Wed, 7 Jun 1995 18:48:00 +0000 (18:48 +0000)]
* somsolib.c (som_solib_section_offsets): Handle relative pathnames.
Part of mentor-6302.