binutils-gdb.git
29 years ago * lexsup.c (parse_args): Cast fopen result to PTR before storing
Ian Lance Taylor [Sun, 2 Jul 1995 21:53:21 +0000 (21:53 +0000)]
* lexsup.c (parse_args): Cast fopen result to PTR before storing
it in link_info.base_file.  Fix indentation.

29 years ago * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file
Ian Lance Taylor [Sun, 2 Jul 1995 21:51:36 +0000 (21:51 +0000)]
* cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file
to FILE * before using it.
* stab-syms.c: Revert yesterday's patch.

29 years ago * bfdlink.h (struct bfd_link_info): Change type of base_file to
Ian Lance Taylor [Sun, 2 Jul 1995 21:49:21 +0000 (21:49 +0000)]
* bfdlink.h (struct bfd_link_info): Change type of base_file to
PTR.

29 years agoRemove elf32-targetd.h and elf64-targets.h. Add elfxx-target.h.
Ian Lance Taylor [Sun, 2 Jul 1995 19:23:29 +0000 (19:23 +0000)]
Remove elf32-targetd.h and elf64-targets.h.  Add elfxx-target.h.

29 years ago * ar.c: (extract_file): Change "#if POSIX_UTIME" to
Fred Fish [Sat, 1 Jul 1995 19:28:13 +0000 (19:28 +0000)]
* ar.c: (extract_file):  Change "#if POSIX_UTIME" to
"#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME
and avoid lossage when POSIX_UTIME is not defined at all.

29 years ago * stab-syms.c (stdio.h): Include prior to libaout.h, which
Fred Fish [Sat, 1 Jul 1995 19:14:29 +0000 (19:14 +0000)]
* stab-syms.c (stdio.h):  Include prior to libaout.h, which
includes bfdlink.h, which now uses FILE.

29 years agoremoved unused elf_64_p field
Ken Raeburn [Sat, 1 Jul 1995 04:20:05 +0000 (04:20 +0000)]
removed unused elf_64_p field

29 years agogenerate elf*-target.h from common elfxx-target.h source
Ken Raeburn [Sat, 1 Jul 1995 04:16:03 +0000 (04:16 +0000)]
generate elf*-target.h from common elfxx-target.h source

29 years agoReflect comings and goings of files.
Stan Shebs [Sat, 1 Jul 1995 00:38:35 +0000 (00:38 +0000)]
Reflect comings and goings of files.

29 years ago * config/h8300/h8300.mt: Renamed from h8300hms.mt.
Stan Shebs [Sat, 1 Jul 1995 00:22:57 +0000 (00:22 +0000)]
* config/h8300/h8300.mt: Renamed from h8300hms.mt.
* config/h8500/h8500.mt: Renamed from h8500hms.mt.
* config/z8k/z8k.mt: Renamed from z8ksim.mt.
* configure, configure.in: Update to reflect renamings.

* remote-sim.c (sim): New command, passes commands to simulator.
(simulator_command): New function.
(gdbsim_ops): Clean up.
* remote-sim.h (sim_do_command): Declare.
* sh-tdep.c (memory_size): Remove command.

* Makefile.in (SIM, SIM_OBS): New variables.
(CLIBS, CDEPS): Add value of SIM.
(DEPFILES): Add value of SIM_OBS

* config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
define in SIM_OBS and SIM.
config/sparc/sp64sim.mt (SIMFILES): Remove.

* remote-z8k.c: Remove, was superseded by remote-sim.c
* Makefile.in, mpw-make.in: Remove references to remote-z8k.c.

29 years ago * interp.c (sim_open): If argument supplied, interpret as
Stan Shebs [Sat, 1 Jul 1995 00:01:19 +0000 (00:01 +0000)]
* interp.c (sim_open): If argument supplied, interpret as
desired memory size.
(parse_and_set_memory_size): New function.
(sim_do_command): New function.

29 years ago * compile.c (sim_do_command): New function.
Stan Shebs [Sat, 1 Jul 1995 00:00:12 +0000 (00:00 +0000)]
* compile.c (sim_do_command): New function.

29 years ago * wrapper.c (sim_do_command): New function.
Stan Shebs [Fri, 30 Jun 1995 23:59:46 +0000 (23:59 +0000)]
* wrapper.c (sim_do_command): New function.

29 years ago Fri Jun 30 16:07:18 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 30 Jun 1995 23:19:57 +0000 (23:19 +0000)]
Fri Jun 30 16:07:18 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* cofflink.c (_bfd_coff_generic_relocate_section): Compare
the full text of .reloc or .edata section names.

29 years ago * cofflink.c (_bfd_coff_generic_relocate_section):
Fred Fish [Fri, 30 Jun 1995 22:53:13 +0000 (22:53 +0000)]
* cofflink.c (_bfd_coff_generic_relocate_section):
Remove extra '+'.

29 years ago Support for long filenames non-bfd coff. bfd/7288
Steve Chamberlain [Fri, 30 Jun 1995 00:53:37 +0000 (00:53 +0000)]
Support for long filenames non-bfd coff. bfd/7288
* config/obj-coff.c (filename_list_head, filename_list_tail): New.
(yank_symbols): Notice and record filenames which are too long.
(w_strings): Write out filename strings.
(c_dot_file_symbols): Put long filenames onto list.

29 years ago * coff-h8300.c (COFF_LONG_FILENAMES): Define.
Steve Chamberlain [Fri, 30 Jun 1995 00:26:53 +0000 (00:26 +0000)]
* coff-h8300.c (COFF_LONG_FILENAMES): Define.

29 years ago * interp.c: (SYS_wait): Define as SYS_wait4 if available and
Fred Fish [Thu, 29 Jun 1995 17:15:30 +0000 (17:15 +0000)]
* interp.c: (SYS_wait): Define as SYS_wait4 if available and
SYS_wait is not already defined (SunOS 4.1.3 for example).
(SYS_utime): Define as SYS_utimes if available and
SYS_utime is not already defined.

29 years ago * configure.in: Add i386-pe configuration.
Steve Chamberlain [Thu, 29 Jun 1995 07:08:00 +0000 (07:08 +0000)]
* configure.in: Add i386-pe configuration.

29 years ago * bfdlink.h (struct bfd_link_info): Added base_file member.
Steve Chamberlain [Thu, 29 Jun 1995 07:03:35 +0000 (07:03 +0000)]
* bfdlink.h (struct bfd_link_info): Added base_file member.

29 years agoNew files.
Steve Chamberlain [Thu, 29 Jun 1995 06:59:07 +0000 (06:59 +0000)]
New files.

29 years ago * configure.in: Add i386-pe configuration.
Steve Chamberlain [Thu, 29 Jun 1995 06:58:11 +0000 (06:58 +0000)]
* configure.in: Add i386-pe configuration.

29 years agoWed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 29 Jun 1995 01:17:58 +0000 (01:17 +0000)]
Wed Jun 28 18:04:42 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* Makefile.in: versados.o is now conditionally built.
* coffcode.h (add_data_entry): New function.
(coff_write_object_contents): Clean up. Calculate
data entries.
* cofflink.c (_bfd_coff_generic_relocate_section):
.reloc and .edata sections are IMAGE_BASED too.
If there's a base_file then write out base information.
* configure.host (i386-*-pe): New.
* syms.c (coff_section_type): Only scan prefixes.
* targets.c (bfd_target_vector): Versados is now conditionally
built.
* config/m68k-coff.mt: Build versados.o
* hosts/i386pe.h: New file.

29 years ago * ar.c: (print_contents.c, extract_file, do_quick_append):
Steve Chamberlain [Thu, 29 Jun 1995 00:59:07 +0000 (00:59 +0000)]
* ar.c: (print_contents.c, extract_file, do_quick_append):
Malloc buffers rather than allocate on stack (so it works
on NT).
* deflex.l: Names can have an @ in them.
* dlltool.c: Loads of stuff. Can now generate .imp files which
work with NT .dlls.

29 years ago * config/obj-coff.c (fixup_segment): PE doens't use
Steve Chamberlain [Thu, 29 Jun 1995 00:41:02 +0000 (00:41 +0000)]
* config/obj-coff.c (fixup_segment): PE doens't use
the strange common symbol format that other 386s formats
do.
* config/tc-i386.c (md_begin): If LEX_AT defined then
'@' is in the set of identifiers.
(i386_operand): If LEX_AT, then don't look for @goto stuff.
* config/te-pe.h: Define LEX_AT.

29 years agoWed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 29 Jun 1995 00:21:00 +0000 (00:21 +0000)]
Wed Jun 28 17:11:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* ldmain.c (main): Always initialize PE info in link_info.
* lexsup.c (OPTION_BASE_FILE): New option.
(parse_args): Handle new option.
* emulparams/armpe.sh: Output pei.
* emultempl/i386pe.em: Add newline to end.
* scripttempl/armpe.sc: Change output and quote the $s.
* scripttempl/i386pe.sc: Change output and quote the $s.

29 years agodoc update
Ken Raeburn [Wed, 28 Jun 1995 23:39:54 +0000 (23:39 +0000)]
doc update

29 years agodescribe --emulation option
Ken Raeburn [Wed, 28 Jun 1995 23:10:41 +0000 (23:10 +0000)]
describe --emulation option

29 years agodoc updates
Ken Raeburn [Wed, 28 Jun 1995 21:50:42 +0000 (21:50 +0000)]
doc updates

29 years agofix description of h8/500, sh floating point
Ken Raeburn [Wed, 28 Jun 1995 21:49:26 +0000 (21:49 +0000)]
fix description of h8/500, sh floating point

29 years agoget rid of unused m4 files
Ken Raeburn [Wed, 28 Jun 1995 21:35:38 +0000 (21:35 +0000)]
get rid of unused m4 files

29 years agoMove various files that are only checked out for certain modules into
Ken Raeburn [Tue, 27 Jun 1995 21:22:30 +0000 (21:22 +0000)]
Move various files that are only checked out for certain modules into
the *_these_too lists before the check for existence of the items of those
lists.

Apply "sort -u" to the *_these_too lists to keep Sanitize from complaining
when it can't delete COPYING.NEWLIB twice.

I'm not convinced the right thing will be done with COPYING.NEWLIB when
keep-cygnus or keep-newlib (but not both) is supplied; that's unchanged.

29 years ago * elf32-hpa.c (elf32_hppa_relocate_section): Close comment before
Jeff Law [Mon, 26 Jun 1995 19:55:27 +0000 (19:55 +0000)]
* elf32-hpa.c (elf32_hppa_relocate_section): Close comment before
R_PARISC_DPREL21L handling.

29 years ago * remote.c (remote_read_bytes, remote_write_bytes): Second arg
Stan Shebs [Sun, 25 Jun 1995 23:23:06 +0000 (23:23 +0000)]
* remote.c (remote_read_bytes, remote_write_bytes): Second arg
should be char *, not unsigned char *.
* dcache.h (memxferfunc): Ditto.
* monitor.c (monitor_write_memory, monitor_read_memory_single):
Ditto.
(monitor_make_srec): Let compiler figure size of hextab.

29 years ago * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
Jeff Law [Sun, 25 Jun 1995 18:56:52 +0000 (18:56 +0000)]
    * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.

29 years agoFix pathnames right..
Steve Chamberlain [Sun, 25 Jun 1995 14:52:42 +0000 (14:52 +0000)]
Fix pathnames right..

29 years ago * lynx-nat.c (child_wait): Don't restart new threads and loop
Jeff Law [Sun, 25 Jun 1995 02:33:33 +0000 (02:33 +0000)]
    * lynx-nat.c (child_wait): Don't restart new threads and loop
        to the top of child_wait; let the machine independent code in
        wait_for_inferior deal with new thread notifications.

lynx-6100 (partial)
Fixes SEGV when multi-threaded program hits a breakpoint in a new
thread.

29 years agoFix filenames with two dots.
Steve Chamberlain [Sat, 24 Jun 1995 02:48:48 +0000 (02:48 +0000)]
Fix filenames with two dots.

29 years ago * remote-nindy (nindy_load): Put in target specific load, it's
Kung Hsu [Fri, 23 Jun 1995 18:54:56 +0000 (18:54 +0000)]
* remote-nindy (nindy_load): Put in target specific load, it's
20 times faster.

29 years ago * utils.c (error): Move local `args' outside conditional,
Stan Shebs [Fri, 23 Jun 1995 04:41:37 +0000 (04:41 +0000)]
* utils.c (error): Move local `args' outside conditional,
move local `string1' inside, declare function as void if
non-ANSI compiler, dereference error_hook when calling.

29 years ago * mac-xdep.c (stdarg.h): Don't include.
Stan Shebs [Fri, 23 Jun 1995 03:37:58 +0000 (03:37 +0000)]
* mac-xdep.c (stdarg.h): Don't include.

29 years ago * mpw-make.in (demangle.c.o): Remove.
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.

29 years agomsdos and moss code from Bryan Ford
Ken Raeburn [Fri, 23 Jun 1995 02:05:04 +0000 (02:05 +0000)]
msdos and moss code from Bryan Ford

29 years ago * mpw-mh-mpw (CC): Define ANSI_PROTOTYPES.
Stan Shebs [Fri, 23 Jun 1995 01:55:47 +0000 (01:55 +0000)]
* mpw-mh-mpw (CC): Define ANSI_PROTOTYPES.

29 years ago * mpw-config.in (elf/mips.h): Always forward-include, needed
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.

29 years ago * interp.c: Don't include sys/times.h or sys/param.h
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

29 years ago(newlib.tar.gz): Configure newlib subdir so .info files are made.
David Edelsohn [Fri, 23 Jun 1995 00:25:15 +0000 (00:25 +0000)]
(newlib.tar.gz): Configure newlib subdir so .info files are made.

29 years ago inc-hist.texi: gdb manual up to date for 95q3
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:

29 years ago gdb.texinfo: gdb manual up to date for 95q3
Victoria Mixon [Thu, 22 Jun 1995 21:28:02 +0000 (21:28 +0000)]
gdb.texinfo: gdb manual up to date for 95q3
remote.texi:

29 years ago * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
Kung Hsu [Thu, 22 Jun 1995 20:16:56 +0000 (20:16 +0000)]
* remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.

29 years agoAdd .fixup section
Michael Meissner [Thu, 22 Jun 1995 19:08:18 +0000 (19:08 +0000)]
Add .fixup section

29 years agoFix warning
Michael Meissner [Thu, 22 Jun 1995 18:44:36 +0000 (18:44 +0000)]
Fix warning

29 years agoSanitize seems to care about trailing spaces.
Steve Chamberlain [Thu, 22 Jun 1995 16:30:19 +0000 (16:30 +0000)]
Sanitize seems to care about trailing spaces.

29 years ago * reloc.c (bfd_perform_relocation): Add case for -ve words.
Steve Chamberlain [Thu, 22 Jun 1995 15:59:14 +0000 (15:59 +0000)]
* reloc.c (bfd_perform_relocation): Add case for -ve words.

29 years agoremove rcs id string
Ken Raeburn [Thu, 22 Jun 1995 01:31:02 +0000 (01:31 +0000)]
remove rcs id string

29 years agonew test from Andreas Schwab
Ken Raeburn [Thu, 22 Jun 1995 01:29:50 +0000 (01:29 +0000)]
new test from Andreas Schwab

29 years ago * gdb.base/return.exp: Xfail `return double' test failure
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.

29 years agom68k fixes from Andreas Schwab, with minor changes
Ken Raeburn [Wed, 21 Jun 1995 22:43:13 +0000 (22:43 +0000)]
m68k fixes from Andreas Schwab, with minor changes

29 years ago* config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#" value, don't
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.

29 years ago * interp.c: (SIGBUS, SIGTERM): Define if not.
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.

29 years agofix diststuff/realclean handling of info files
Ken Raeburn [Wed, 21 Jun 1995 21:48:03 +0000 (21:48 +0000)]
fix diststuff/realclean handling of info files

29 years agoHmm.. The ChangeLog went in, but not the code....
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.

29 years ago* objdump.c (compare_relocs): If relocation entries have the same address, keep them...
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.

29 years ago * gasp.c (do_print, do_form, buffer_and_nest): Use case insensitive
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.

29 years ago"Lose" the new testsuite directory for now.
Rob Savoye [Wed, 21 Jun 1995 21:28:24 +0000 (21:28 +0000)]
"Lose" the new testsuite directory for now.

29 years ago * testsuite: New directory for customer acceptance and whole tool
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

29 years agoHandle autoconfiscated directories by running the correct configure script.
Ken Raeburn [Wed, 21 Jun 1995 20:57:03 +0000 (20:57 +0000)]
Handle autoconfiscated directories by running the correct configure script.

29 years agoadd ld-versados.
Steve Chamberlain [Wed, 21 Jun 1995 20:55:01 +0000 (20:55 +0000)]
add ld-versados.

29 years agoKeep MPW x SH compiled linker script.
Stan Shebs [Wed, 21 Jun 1995 20:00:22 +0000 (20:00 +0000)]
Keep MPW x SH compiled linker script.

29 years ago * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
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.

29 years agoWed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
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.

29 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Don't try to apply a
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.

29 years ago * versados.c: Second pass/rewrite.
Steve Chamberlain [Wed, 21 Jun 1995 17:19:25 +0000 (17:19 +0000)]
* versados.c: Second pass/rewrite.

29 years agoNew tests.
Steve Chamberlain [Wed, 21 Jun 1995 17:15:11 +0000 (17:15 +0000)]
New tests.

29 years ago * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.
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.

29 years ago * mpw-esh.c: New file, modified for MPW from esh.c.
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 [].

29 years ago * compile.c (get_now): Don't do if win32.
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.

29 years ago * gdb.texinfo: Update dates and versions, fix comments about
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.

29 years agoKeep COPYING.NEWLIB if keep-newlib.
David Edelsohn [Tue, 20 Jun 1995 20:05:40 +0000 (20:05 +0000)]
Keep COPYING.NEWLIB if keep-newlib.

29 years agomove test-build.mk to cygnus_files.
David Edelsohn [Tue, 20 Jun 1995 19:54:49 +0000 (19:54 +0000)]
move test-build.mk to cygnus_files.

29 years ago * monitor.c (monitor_wait): Don't use the watchdog timeout
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.

29 years ago*config/obj-coff.c (write_object_file): Cast time() argument to time_t *.
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 *.

29 years ago * config/tc-hppa.c (pa_build_unwind_subspace): Fix typo in last
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.

29 years ago * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
Stu Grossman [Tue, 20 Jun 1995 17:41:11 +0000 (17:41 +0000)]
* gdbtk.c:  Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.

29 years ago * gdbtk.tcl (add_breakpoint_frame): Add more fields.
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.

29 years ago * dlltool.c: Change names of generated files. .*.s-> -*.s
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.

29 years ago * config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory
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.

29 years ago * somsolib.c (som_solib_add): Validate regexp argument.
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

29 years agoFix typo in last change.
Jeff Law [Sun, 18 Jun 1995 05:39:52 +0000 (05:39 +0000)]
Fix typo in last change.

29 years ago * elf32-hppa.c (elf32_hppa_size_stubs): Set the size of the stub
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.

29 years ago * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Don't mess
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".

29 years ago * bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don't
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.

29 years agouse changequote around []
Ken Raeburn [Fri, 16 Jun 1995 19:30:48 +0000 (19:30 +0000)]
use changequote around []

29 years ago * elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the right
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.

29 years ago * mpw-config.in: Add sh and i386 configs, remove sparc config.
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.

29 years ago * config/obj-coff.c: Don't use "bfd/" when including libbfd.h
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.

29 years ago * array-rom.c: Remove, no longer used.
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.

29 years ago * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false
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.

29 years ago * config/tc-arm.h (LOCAL_LABEL): Prepend '.' if not OBJ_AOUT.
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.

29 years ago * scripttempl/armpe.sc: Add constructor support.
Steve Chamberlain [Thu, 15 Jun 1995 15:48:35 +0000 (15:48 +0000)]
* scripttempl/armpe.sc: Add constructor support.